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
- Create activity calling isAvailableSpecificDay function for the user.
- Set user unavailable for one day, and his time zone to be New York (or any other).
- 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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.