Scenario
The Client requires to get and option to provide a a note on why a particular transaction that came to approval was Rejected
Solution
In this case we have to create a field in the respective transaction record named as “Rejection Reason”. Then we will have to make following amendment in the workflow as shown below:
Note: In this case a Suitelet page is created to provide the detail of Rejection reason.
Go to the workflow
- Create new state named as Rejection reason:
- Provide new action Go to Page and Triger it on Entry.

- Create a transition form State -Rejection reason to Reject

The transition must be provided with condition were rejection reason field in not empty and trigger it on after record submit.

Create a new transition from Rejection State to State from which it was rejected with condition rejection reason is empty and triger it on Before record submit.

Create a Transition form the State of Approval to Rejection reason state with Execute on Reject button
