This activity is used to get a list of holidays.
For its correct use, take into account the following fields:
Country (DropDown/Mandatory): Select the Country for which you need to obtain the Holiday List.
CustomYear (String/Optional): Provide the year in “YYYY” format when you choose Type as “CustomYear” eg: 2022.
EndDate (DateTime/Optional): Provide End Date as DateTime variable when you choose Type as “CustomRange”.
StartDate (DateTime/Optional): Provide Start Date as DateTime variable when you choose Type as “CustomRange”.
Type (DropDown/Mandatory): Select the Type of Date Range you need to use. Available options are:
Options available in GetHolidayList activity:
· Consider Saturday and Sunday as Holiday (Boolean/Optional): Default value is False/unchecked. If it is unchecked it will not consider Saturday/Sunday as holiday. Instead it Will select Friday/Monday as holiday. Eg. If Dec 25th is on Saturday, it will provide Dec 25 Friday as the holiday.
· ExcludedHolidayList(List<String>/Optional): If you provide a list of holidays names, the activity skips these from the output.
The result is given as Dictionary variable
· HolidayList (Dictionary<String, DateTime>) : Returns a list of holidays in a dictionary format. The Key will be holiday name and Value will be DateTime.