I have to show a flow action on click of radio button and then if a user selects no option from that flow action he should see an error message and also if he selects something on that flow action he should get another validation error message but these two messages are appaering together.Can someone please help here.I am using flow action’s post DT and validation rule to do so.Please have a look at the screenshots.
The core issue here is the order of execution: Pega runs the Validation rule first, and only if it passes does it execute the Post-Processing Data Transform.
Because your validation rule relies on properties or flags being set by that Data Transform, the validation is running against stale or missing data, causing both error messages to trigger simultaneously.
How to fix it: Instead of validation rule, throw the message from your post processing data transform itself.
Hi @VVNagaSaiN how to set error message i tried to pxAddMessageToPage OOTB function but it was not working as expected.
That should work, Make sure to add it on the primary page inside the data transform.



