Configuring timers for working hours

Hi all ,is there a way we can configure working hours to our timers. For example. working hours are 9-6 PM. Timer attached to a user task gets active at 5 PM and should fire after 2 hours, so instead of firing at 7 PM it should fire next day at 10 AM following the business schedule of the organization.

Try using variable for timer duration. Calculate the duration before entering the userTask. So in this case make it PT17H

@satish8784 you can implement a custom business calendar at the global level as well:

Using the custom calendar will ensure that repeating timers have the proper date calculated on the followup dates

1 Like

Here is a unit test setup so you can ensure proper functioning calendar: