Restricting Approver to Revert Workflow
Hi All!
We had gotten an ad hoc request to give certain access and restrictions to Preparer Users and Approver Users. Where the Preparer can complete workflow and revert workflow and the Approver can only certify in the Workflow profile. We have been able to successfully achieve restriction on completing workflow for the Approver but not able to restrict them from stopping the Revert workflow. Even after placing conditions to stop the revert workflow the certify is also getting restricted for the approver.
below is the code without any restrictions for Revert workflow for now. if anyone has resolution for this it will be greatly appreciated.

