Transfer Order custom workflow change status to rejected
I am trying to get the custom transfer order approval workflow as we wanted to have a feature of adding a rejection reason for the approver. While I got the approval part working, I am somehow not able to change the order status to ‘Rejected’. The status changes to ‘Pending Fulfilment’ when I change the field ‘Order Status’ as expected but the status of ‘Rejected’ is not valid for this field and nothing happens if I change the status of ‘Approval Status’ field to ‘Rejected’ and the document stays at ‘Pending Approval’.
If someone has already worked on this, please advice on how to change the status to ‘Rejected’ within custom workflow.
Alternatively, if there is another way to allow the approver to add a rejection reason before rejecting, that can also be implemented in place of this workflow.
Thanks in advance