getAbsoluteDurationFromBusinessCalendar function does not calculate the date duration properly

(Doc ID 2272719.1)

Last updated on JUNE 06, 2017

Applies to:

Oracle Business Process Management Suite - Version 12.2.1.1.0 and later
Information in this document applies to any platform.

Goal

 The customer developed a simple BPM process that receives a String as an argument, passes it to a Human task and sets as "Task deadline" . When the value passed is "P1D" it works fine.
However, when passed P0M0DT23H59M59S it adds 2 days instead of one day.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms