Support Article
Availability Check in ToWorkList is not working
SA-26787
Summary
When checking “CheckAvailability” in routing activity, instead of routing to the predefined substitute operator, it is giving null pointer exception.
This scenario is happening only when the time zone of the operator is “Europe/London”. When changing it to “America/NewYork”, it is working fine.
There is same issue reported in PDN (Link: https://pdn.pega.com/support-articles/calling-isavailablespecificday-generates-nullpointerexception).
The HFix-25986 mentioned in that article was valid for Pega 7.1.8.
Error Messages
Functionality not working properly
Steps to Reproduce
While checking “CheckAvailability” in my routing activity, instead of routing to the predefined substitute operator, it is giving null pointer exception.
This scenario is happening only when the time zone of the operator is “Europe/London”.
Root Cause
In IsAvailableSpecificDay() function, parseDateTimeString () is used to parse date time string to date object, which in this case returns null value, when some operations are done on this date object it leads to Null Pointer Exception.
Resolution
Apply HFix-28933.
Published August 23, 2016 - 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.