Get Business Days Between Dates for Location Step Returns Incorrect Count in Decisions
I’m using the 'Get Business Days Between Dates for Location' step in Decisions to calculate the number of business days between two dates, but the results don’t seem accurate. Even when there are no holidays or only one holiday, the count is off by a day. Adjusting the "Include Start/End in Count" option doesn’t resolve the issue. Has anyone else experienced this or know what settings might affect the calculation?
Comments
-
-
Hello,
The step calculates business days by excluding weekends and location-specific holidays, and the "Include Start/End in Count" option only adds those dates if they are business days.
Please refer to the following steps:
- Make sure your Location entity has the correct working days (e.g., Mon–Fri) and all holidays manually added for each year. Missing or extra holidays will affect the count.
- Double-check that the Location’s working days are set up correctly.
- The "Include Start/End in Count" option only includes those dates if they are business days.
Documentation for reference : https://documentation.decisions.com/step-library/docs/get-business-days-between-dates-for-location-step
Check your Location configuration and holiday list to ensure accuracy.
Hopes this helps!