Form Execution is not getting stopped post displaying error message
In journal entry screen, we want to send the journal for approval on specific conditions. So we are triggering a personalization containing 2 actions on clicking approve button.
1) Execute a procedure (to perform certain actions)
2) Displaying an error message
Post displaying error message, further execution is not getting stopped and journal is being sent for approval. Only when we are disabling the first action and enabling error message alone, form execution is getting stopped. Why is it the case?