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

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

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