Make calculations on dates taking care of public holidays


What is the use case

In some of our processes, we would like to be able to calculate some dates without taking into account public holidays and weekend days.

How do you see a solution for the use case?

To resolve this we have created a custom activity which can skip holidays given a country code (eg: FR or US), a date (DateTime object) and a number of days (eg: +4 or -30). The country code is used in order to identify the calendar to use (FR public holidays are not the same as US ones), by default RO is selected :wink: .
The activity uses this API :, here you can have the exhausted list of country codes you can use and its calendar.

Activity: Custom.Date.Activities. (46.3 KB)


Scope: Custom Activity