Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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

  1. Configure the calendar with start and end times.
  2. In the Expression Builder, use the IsBusinessDay function and pass the date time which is passed to the end time as the input.
  3. 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.


Suggest Edit

Published February 4, 2018 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us