Workingdays - Add working days to a date

Use the Workingdays - Add working days 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 working days 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 working days to date action

  1. Add the action to the workflow and open the action configuration panel. For more information, see Add an action to the workflow.

  1. Select a Connection. If you do not have a connection, see Add a connection.
  2. Select the Country.
  3. Specify the Start date.
  4. Specify the number of Days to add.
  5. Create or select a variable for the output.

Workingdays - Add working days to date action fields, buttons, and settings

Section

Field

Description

Variable types

(Unlabeled)

Connection Credentials and other settings that enables workflows to communicate with external systems, services, or applications. It's required to pass data between the workflow and the indicated service, which could be a cloud service, business application, or content store.

The Workingdays connection to use to calculate the number of days.

To refresh the available connections, click .

(n/a)

Country 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 working days is added. Text, DateTime, Integer
  Days to add The number of working days 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.

  • Sunday-Monday-Tuesday-Wednesday-Thursday-Friday-Saturday.

  • 1: weekend day

  • 2: half weekend day (morning only)

  • 3: half weekend day (afternoon only)

  • 0: day of week.

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:

  • Result: (Object)

    • End date: (DateTime)

    • Days: (Object)

      • Total days: (Text)

      • Total Mondays: (Text)

      • Total Tuesdays: (Text)

      • Total Wednesdays: (Text)

      • Total Thursdays: (Text)

      • Total Fridays: (Text)

      • Total Saturdays; (Text)

      • Total Sundays; (Text)

      • Total hours: (Text)

    • Working days: (Object)

      • Total working days: (Text)

      • Total Monday working days: (Text)

      • Total Tuesday working days: (Text)

      • Total Wednesday working days: (Text)

      • Total Thursday working days: (Text)

      • Total Friday working days: (Text)

      • Total Saturday working days; (Text)

      • Total Sunday working days; (Text)

      • Total work hours: (Text)

    • Weekend days: (Object)

      • Total weekend days: (Text)

      • Total Mondays weekend days: (Text)

      • Total Tuesdays weekend days: (Text)

      • Total Wednesdays weekend days: (Text)

      • Total Thursdays weekend days: (Text)

      • Total Fridays weekend days: (Text)

      • Total Saturdays weekend days; (Text)

      • Total Sundays weekend days; (Text)

Object