IBM Support

JR62110: YOU RECEIVE THE WRONG RESULT FROM THE CALCULATEBUSINESSDATE FUNCTION

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

  • When you use the
    tw.local.calculatedDate =
    tw.system.calculateBusinessDate(tw.local.dateToCheck, 0, 'Day',
    tw.local.workSchedule);
    function, the result of calculateBusinessDate() might add one
    day after the calculation, specifically in the following
    situation: Weekend+Holiday+after schedule hours.
    
    PRODUCTS AFFECTED
    IBM Business Process Manager (BPM)
    IBM BPM Express
    

Local fix

Problem summary

  • This issue occurs
    - After business hours for the day
    - Increment by 0 days (intend to find the next available hour)
    - The next day needs to be a holiday or non working day
    - The start time is of 00:00
    

Problem conclusion

  • A fix is available or will be available that prevents the extra
    day from being added.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR62110

  • Reported component name

    BPM

  • Reported component ID

    5737A5700

  • Reported release

    860

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-03-09

  • Closed date

    2020-03-25

  • Last modified date

    2020-03-25

  • 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

  • Fixed component ID

    5737A5700

Applicable component levels

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

Document Information

Modified date:
14 September 2022