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

isAvailableSpecificDay function issues with different timezones

SA-56363

Summary



Despite having the same time zone for both app server and database server there are issues when different time zones are used for setting from and to dates of unavailability.

So, whenever the user has a time zone different from server one the isAvailableSpecificDay  function does not work properly any more.

Unavailability is not considering the whole day but only a part of it due to which user is flagged as available on unavailable period.

 

Error Messages



Not Applicable


Steps to Reproduce

  1. Create activity calling isAvailableSpecificDay function for the user.
  2. Set user unavailable for one day, and his time zone to be New York (or any other).
  3. Call activity every hour during one day, user will be unavailable less than 24 hours depending on time zone.


Root Cause


 

User's time zone is not getting picked while checking for the substitute operator in isAvailableSpecificDay function. This has been fixed in Pega 7.2 version



Resolution



Apply  HFix-43516.
 

Published July 31, 2018 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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