Set holidays

See also: Date/Time

Actions – Abstract

With the 'Set holidays' action, holidays can be added, removed or replaced dynamically to date field calendars. Either a single holiday entry object or tuple and a list of holiday entry objects or tuples are accepted as input data for the action.

With the 'Set holidays' action, holidays can be added, removed or replaced dynamically to date field calendars. Both a single holiday entry object or tuple and a list of holiday entry objects or tuples are accepted as input data for the action.

In case of a tuple, the 'date' (date range with time) field at least must be defined. The 'date' field is always used to identify holidays within a calendar (keyword: remove or replace).

images/download/attachments/189433217/image-2024-10-8_15-34-43-version-1-modificationdate-1728394483083-api-v2.png

The action offers three modes:

  • Add/Replace inserts the transferred holiday entry(s) into the linked date field or overwrites them if entries on the same day already exist.

  • Remove deletes all holidays of the linked date field where the date occurs in the transferred entry list.

  • Replace all deletes all previously existing holidays of the linked date field and replaces them with the transferred entries (If the transferred value is empty or an empty list, all holidays are removed).