Workingdays - Add public holidays to a date
Use the Workingdays - Add public holidays to a date action A tool for building the processes, logic, and direction within workflows. Actions are the steps the workflow performs to complete a process. to add the specified number of public holidays to a date. This is useful when calculating the number of days left for a project or business venture.
For more information about the Workingdays connector A software component that allows seamless integration with third-party services, business applications, and content stores. Examples include Salesforce, Box, and Microsoft SharePoint. Connectors are used to create connections required for workflow actions and start events., go to Workingdays.
Configure the Workingdays - Add public holidays to a date action
-
Add the action to the workflow and open the action configuration panel. For more information, see Add an action to the workflow.
- Select a Connection. If you do not have a connection, see Add a connection.
- Select the Country code.
- Specify the Start date.
- Specify the number of Days to add.
- Create or select a variable for the output.
Workingdays - Add public holidays to a date action fields, buttons, and settings
Section |
Field |
Description |
Variable types |
---|---|---|---|
(Unlabeled) |
The Workingdays connection to use to calculate the number of days. To refresh the available connections, click |
(n/a) |
|
Country code | The country location used to identify the date and time zones. See Supported countries for the codes. | Text, Decimal, Integer, Boolean, DateTime, Collection | |
Start date | The date to which the number of public holidays is added | Text, DateTime, Integer | |
Days to add | The number of public holidays you want to add to your start date (positive or negative integer but not zero). | Text, Decimal, Integer, Boolean, DateTime, Collection | |
Region | The specific time region of the country. See Supported countries and regional configurations for the list of regions per country. | Text, Decimal, Integer, Boolean, DateTime, Collection | |
Weekend |
The weekend structure of the area.
Default value is 1000001 (working days on Saturdays, Sundays). If the weekend for you is Sunday and Monday, you can send: 1100000 If the weekend is Saturday afternoon and Sunday: 1000003. |
Text, Decimal, Integer, Boolean, DateTime, Collection | |
Use custom configuration |
Option to specify if a custom configuration should be used for the weekend structure. If Yes is selected the Profile ID field is displayed. |
Text, Decimal, Integer, Boolean, DateTime, Collection | |
Profile ID | The Workingdays profile ID that contains the custom configuration. | Text, Decimal, Integer, Boolean, DateTime, Collection | |
Output | working days |
Stores the result of the action as an object. See Workingdays API for information on these values:
|
Object |