My Oracle Support Banner

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 and later
Information in this document applies to any platform.


The bpm:getAbsoluteDurationFromBusinessCalendar function does not returns expected duration.

For example:

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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.