Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
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

groovy to calculate due date based on working time

How to calculate due date of a task based on working time? for example the shift of an agent is 9:00 AM to 5:00 PM. A task has lets say to be completed in 4 hours. Now if it gets assigned to the agent at 4:00 PM, the agent has 1 hour left for the day. So the due date should show Next day 12:00 PM. How can we achieve this with groovy? any suggestion would be great help.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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