IBM Support

JR51829: JAVASCRIPT API METHOD TW.SYSTEM.CLEARERROR() IS MISSING

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Using the JavaScript API method tw.system.clearError() in IBM
    Business Process Manager (BPM) results in ?Unknown variable /
    function? warnings in IBM Process Designer and in runtime
    exceptions that are similar to this example when you try  to
    evaluate the JavaScript expression:
    
    CWLLG0181E: An exception occurred during execution of task 4.
    Error: [<161message:Runtime error in script ("TypeError"
    1:0).TypeError: Cannot find default value for object.
    (<JSScript>#1)
    Script (line 1):
    <B>   1 : tw.system.clearError()</B>
    

Local fix

Problem summary

  • The problem occurs after you migrate a process application from
    Teamworks 6.2 to IBM BPM 7.5.1.2. If you use the
    tw.system.clearError() JavaScript API method in Teamworks 6.2,
    you receive an error in IBM BPM 7.5.1.2 because the method is
    missing in the newer code base.
    

Problem conclusion

  • A fix is available for IBM BPM that makes the missing API method
    available.
    
    On Fix Central (http://www.ibm.com/support/fixcentral), search
    for JR51829:
    
    1. Select IBM Business Process Manager with your edition from
      the product selector, the installed version to the fix pack
      level, and your platform, and then click Continue.
    
    2. Select APAR or SPR, enter JR51829, and click Continue.
    
    When you download fix packages, ensure that you also download
    the readme file for each fix. Review each readme file for
    additional installation instructions and information about the
    fix.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR51829

  • Reported component name

    BPM STANDARD

  • Reported component ID

    5725C9500

  • Reported release

    751

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2014-11-18

  • Closed date

    2015-01-19

  • Last modified date

    2015-01-19

  • 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

  • R751 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTDH","label":"IBM Business Process Manager Standard"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.1","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
19 January 2015