You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Duration.Days between function is not Working in Bpm worklist

Summary:

I am currently working on a requirement where we need to calculate the length of service for an employee, which will be used as part of the Resignation Approval process.

We attempted to use the following function to calculate the duration between the Work Relationship Start Date and the Effective Start Date

Duration.days between(Task.payload.Worker's Proposed Assignment.result.Work Relationship Start Date.toGregorianCalendar(),Task.payload.Worker's Proposed Assignment.result.Effective Start Date.toGregorianCalendar())

but it is not calculating duration

Content (please ensure you mask any confidential information):


Version (include the version you are using, if applicable):

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!