Posted: 10 Aug 2015 7:03 EDT Last activity: 13 Oct 2015 13:06 EDT
cancel button displays error message
On submit click, UI throws validation error message as expected. After that I clicked on cancel button. Expected behavior is, it should simply show the review harness without any error message. But, Review harness shows the previous error message from submit click.
We are facing this issue too. We have a few FlowActions on the screen and Cancel is one of them. WHen ever we fire a different FLowAction, it is firing the client validation errors. How do we get around this?
Issue solved by following Santanu's solution. But to answer your question, there are multiple cancel buttons on pyCaseActionAreaButtons sections. Few of them have "Cancel" as button click action. Others have "Launch Review harness". So, when you have "Launch Harness" on cancel button as action, this button does not behave like a cancel button, instead it acts like a normal submit button. This is causing the issue.