Support Article
IsBusinessDay returns True for time outside of business hours
SA-51150
Summary
The IsBusinessDay function returns True for time outside of business hours.
Error Messages
Not Applicable
Steps to Reproduce
- Configure the calendar with start and end times.
- In the Expression Builder, use the IsBusinessDay function and pass the date time which is passed to the end time as the input.
- Evaluate the expression.
Root Cause
An issue in the custom application code or rules.
A date is an input parameter for the IsBusinessDay function. The function determines if the date is a 'day' when the business is open according to the specified calendar.
Resolution
As a local-change, use IsBusinessTime function to determine if a 'time and day' is outside business hours.
Published February 4, 2018 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.