bpm:getAbsoluteDurationFromBusinessCalendar function does not return expected duration
(Doc ID 2258798.1)
Last updated on MARCH 12, 2019
Applies to:Oracle Business Process Management Suite - Version 220.127.116.11.0 and later
Information in this document applies to any platform.
The bpm:getAbsoluteDurationFromBusinessCalendar function does not returns expected duration.
1. Create a business calendar and name it "IndiaCalendar". Select the timezone as (GMT+5:30). Define the Start Time and Finish Time as 8:00 -12:00 and 13:00-17:00.
2. Create a BPM Process and use this method in the script task: bpm:getAbsoluteDurationFromBusinessCalendar(xp20:current-dateTime(), 'PT2H', 'IndiaCalendar')
3. At 9:00 in India time zone it is expected to return PY0M0D0T2H0M0.000S but instead it returns PY0M0D0T10H0M0.000S
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document