I am using notification with result field set as standard approve lookup and same in the corresponding message.
So in the notification user can see 2 buttons approve and reject apart from the reassign and getmoreinfo buttons.
Now as per new requirement we have added few respond attributes to which we want user to add some values in the notification before approving.
So i have created a procedure and mentioned that name in the function name field of the notification and we are then checking if the respond attributes are null and give error on notification if they are left null.
But the issue is that we dont want this check to be done if user clicks on reject button. So how do we check in the code in respond/validate that whether the user pressed approve or reject button.