IBM Support

JR62237: YOU NOTICE INCONSISTENT RESULTS WHEN YOU USE THE TWUSER.ATTRIBUTES[] AND SETATTRIBUTE() JAVASCRIPT APIs

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

Direct link to fix

 

APAR status

  • Closed as program error.

Error description

  • If you define the same user attribute in several process
    applications or toolkits and use the
    TWUser.setAttribute(name,value) JavaScript API to update the
    user attribute and the TWUser.attribute['name'] JavaScript API
    to retrieve its value later in the same application, you might
    notice that the retrieved value doesn't match the updated value.
    Instead the value from the a duplicate attribute definition is
    returned.
    

Local fix

  • Remove the duplicate attribute definition entirely or assign the
    same value to each of the duplicate user attributes by using
    the Process Admin Console.
    

Problem summary

  • This issue occurs because the TWUser.attributes['name']
    JavaScript function returns an arbitrarily chosen value from the
    duplicate user attributes.
    

Problem conclusion

  • A fix is available or will be available that ensures that
    TWUser.attributes['name'] returns the value from the same user
    attribute definition that the TWUser.setAttribute(name,value)
    function updates.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR62237

  • Reported component name

    BUS AUTO WORKFL

  • Reported component ID

    5737H4100

  • Reported release

    I00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-04-16

  • Closed date

    2020-04-22

  • Last modified date

    2020-04-22

  • 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

    BUS AUTO WORKFL

  • Fixed component ID

    5737H4100

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS8JB4","label":"IBM Business Automation Workflow"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"18.0.0.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
22 June 2020