Determine Next Business Day
Comments
-
Hi,
Are there any available steps which we can use to determine the next business day? I have looked at the “Get Business Days Between Dates For Location” step, but am unsure if this is the correct step or how to use it (it is looking for a ‘Location’ parameter).
-
The Compute Business Time For Location step will return the next business day based on a start date, location, and the number of days and hours input into the step. In Decisions, a Location is an object where you can specify business days and hours for a particular location and refer to that information in flows. You can create locations by navigating to System > System Data > Locations in the studio portal and selecting the Add Location action. Ive included a link to documentation covering how to create a location.
Locations: https://documentation.decisions.com/docs/setup-business-hours
-
What I was able to do in order to determine if a day was a Business Day was create a flow that takes in a DateToCheck and a LocationName, and used the Get Business Days Between Dates for Location step with the Include Start and End in Count as True.
Then I have my one DateToCheck as the Start and End Date in the step. The output is the number of business days in range so if its 1 then the date check is a business day, if not you can you an add day step to try the next day.
Howdy, Stranger!
Categories
- 4.1K All Categories
- 61 General
- 11 Training
- 201 Installation / Setup
- 1.1K Flows
- 106 Rules
- 260 Administration
- 212 Portal
- 489 General Q & A
- 693 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 51 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 178 Pages
- 5 Process Mining
- New Features
- 178 Datastructures
- 69 Repository
- 219 Integrations
- 28 Multi-Tenant
- 27 SDK
- 76 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 66 Lunch And Learn Questions