Validation On Harness

Hi Team,

I have selected an action in menu which runs a harness. I have a flow action which is getting called from that harness. In the post processing activity of flow action i have called validate rule/ page-set messages but instead of showing error in the harness. flow action is being executed. Please let me know any solution.

Regards.

@Yasvanth Tanuku To fix the issue where the flow action is being executed even with validation errors, you should first make sure that validation is done before the action runs. In the post-processing activity, call the Property-Validate rule or a custom validate rule to check for errors. If there are any issues, use Page-Set-Messages to show the error messages in the harness. You need to ensure that the flow action doesn’t execute unless validation passes, so you can add logic to stop the action if there are validation errors. Also, make sure the harness is set up to display the error messages correctly. You might need to adjust the harness settings to show the validation errors and stop the flow action from proceeding until all issues are fixed.

@Sairohith thanks for the approach. The issue is resolved