IBM Support

JR46886: TWPROCESS CLASS MISSING STARTNEW(MAP) METHOD

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using Javascript TWProcess object to start a new process
    instance, the script fails with error:
    [TeamworksException name='TypeError', message='TypeError: Cannot
    find function startNew in object [object TWProcess].
    Although PD content assist will list this method as
    implementable, but during runtime the method cannot be accessed.
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All BPM users using Javascript startNew     *
    *                  API.                                        *
    ****************************************************************
    * PROBLEM DESCRIPTION: When using the startNew function in     *
    *                      the javascript customer can encounter   *
    *                      the following error as it is missing.   *
    *                      In the log (SystemOut.log) appears:     *
    *                      [28/05/13 11:01:40:396 CEST] 00000058   *
    *                      wle           E   CWLLG2041E:           *
    *                      TeamWorksJavaScriptException created    *
    *                      non-nested.   Error:                    *
    *                      [TeamworksException name='TypeError',   *
    *                      message='TypeError: Cannot find         *
    *                      function startNew in object [object     *
    *                      TWProcess].', line=0, pos=0             *
    *                      nested=<none>]                          *
    *                      [TeamworksException                     *
    *                      name='TypeError', message='TypeError:   *
    *                      Cannot find function startNew           *
    *                      in object [object TWProcess].',         *
    *                      line=0, pos=0 nested=<none>]            *
    *                      at                                      *
    *                      com.lombardisoftware.core.script.js.Jav *
    *                      aScriptRunner.execute(JavaScri          *
    *                      ptRunner.java:276)                      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When using javascript startnew API users might encounter
    cannot find function error.
    

Problem conclusion

  • This iFix fixed the startNew function in javascript API's.
    
    The iFix file is available in Fix Central. Installation
    instruction can be downloaded together with iFix file.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR46886

  • Reported component name

    BPM STANDARD

  • Reported component ID

    5725C9500

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-06-07

  • Closed date

    2013-08-26

  • Last modified date

    2013-08-26

  • 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

  • R750 PSY

       UP

  • R800 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":"8.0.1","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
26 August 2013