IBM Support

JR56443: TW.SYSTEM.ORG.FINDUSERBYNAME JAVASCRIPT FUNCTION RETURNS USERS THAT ARE NO LONGER IN THE USER REGISTRY

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When you use the tw.system.org.findUserByName IBM Business
    Process Manager (BPM) JavaScript API, only information about
    users who are still in the staff repository returns. Even though
    users might still be referred to in IBM BPM artifacts and are
    still known to the IBM BPM database, they can't be retrieved
    because they are no longer in the user registry.
    

Local fix

Problem summary

  • The finduserByName JavaScript function cannot retrieve users who
    are no longer in the user registry even though artifacts still
    refer to them, such as in a user task they worked on.
    In addition, this behavior is in contrast to the behavior of the
    finduserById JavaScript method, which retrieves any user stored
    in the IBM BPM database.
    
    PRODUCTS AFFECTED
    IBM BPM Advanced
    IBM BPM Standard
    IBM BPM Express
    

Problem conclusion

  • A fix is included in IBM BPM V8.5.7 cumulative fix 2016.09 that
    enhances the implementation of the JavaScript function to return
    a matching user stored in the IBM BPM database irrespective of
    whether the user is still in the user registry.
    If you need to check whether a user is still in the user
    registry, use the isActive property that has been added to the
    TWUser scriptable object to indicate user presence in the user
    registry. Remember that updating the activity status of users
    requires you to run the syncExistingUsers script.
    
    To determine whether the cumulative fix is available and
    download it if it is, complete the following steps on Fix
    Central:
    
    1. On the Select product tab, select WebSphere as the product
    group, IBM Business Process Manager with your edition from the
    WebSphere options, All as the installed version, and All as the
    platform, and then click Continue.
    2. In the Text field, enter "cumulative fix?, and click
    Continue.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR56443

  • Reported component name

    BPM STANDARD

  • Reported component ID

    5725C9500

  • Reported release

    857

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-08-05

  • Closed date

    2016-09-07

  • Last modified date

    2016-09-07

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    BPM STANDARD

  • Fixed component ID

    5725C9500

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSFTDH","label":"IBM Business Process Manager Standard"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"857","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
04 September 2023