How to find the action (Approve or Reject) taken in a post notification PL/Sql function
Hi,
We have a requirement to validate the response values before processing it. The notification can have two action, "Approve" and "Reject". we have another field called note and the notification owner can put any comments before approving or rejecting the notification. We need to check if there are some comments in that field when it is rejected only. The owner can approve without putting any note, but when it is rejected, it should contain some note.
We can put a logic like below but it will give error for both the approve and reject action. We need the error to be displayed only when it is rejected.