IBM Support

JR45107: ISSUE USING GETTIME() ON TWTASK.DUEDATE()

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When retriving the calendar time utilizing
    getTime() on the returned Date object of TWTask.dueDate() , a
    'TypeError: Cannot read property "dueDate" from undefined'
    occurs.
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Applications using javascript method        *
    *                  getTime() in conjunction with               *
    *                  TWProcessInstance.dueDate.                  *
    ****************************************************************
    * PROBLEM DESCRIPTION: The getTime() method returns with an    *
    *                      error "Cannot find function getTime".   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When creating a javascript implementation using getTime() to
    retrieve the time of a task's due date, an error is returned.
    For example:
    Runtime error in script ("Process: 'Replication step'
    ProcessItem:
    'Execute script' Type: 'ITEM'" 0:0).TypeError: Cannot find
    function
    getTime in object Wed Nov 14 12:10:06 CET 2012.
    Script (line 0):
    

Problem conclusion

  • The code has been changed to resolve this issue and to allow
    getTime() to return the proper value.  An interim fix will be
    available on BPM V8.0.0.0. The fix will also be available in
    the next released fix pack.
    
    Install/Dependency information is available in the readme.txt
    on FixCentral. When the user goes to the download files page in
    FixCentral, the readme will be available with the fix package
    as a separate download.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR45107

  • Reported component name

    BPM ADVANCED

  • Reported component ID

    5725C9400

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-12-12

  • Closed date

    2013-02-26

  • Last modified date

    2013-02-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 ADVANCED

  • Fixed component ID

    5725C9400

Applicable component levels

  • R800 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTN5","label":"IBM Business Process Manager Advanced"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
11 October 2021