Support Article
@hasMessages causes OperationFail error
SA-11691
Summary
After upgrading from Pega 7.1.6 to Pega 7.1.7 the @hasMessages function does not work as expected. Error is generated when using the function.
Error Messages
@OperationFail() || @hasMessages(Param.WorkObjectPageName) null
Steps to Reproduce
1. Use @hasMessages in an activity.
2. Call this activity from the post action of the flow action to observe the issue.
Root Cause
The issue occurs when you remove pyWorkPage in post processing activity of flow action.
Resolution
The issue is resolved in Pega 7.1.8.
Published July 21, 2015 - 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.