Rollback activity in workflow

G Balaji
Kilo Guru

Hi,

I have a workflow running on a custom table extended from task. There is an approval activity and when approver rejects the requests he adds notes/comments to requestor. Requestor could edit his request based on the comments/notes and request back again. In this use-case, which would be the best practice ?

1. Rollback to activity

2. I have implemented(pls refer to the attachement)

 

Thanks.

5 REPLIES 5

pavan9885
Tera Guru

You Can use the Roll Back activity when the approval rejected the requested it will be on not yet requested state and once again requester submit the request it will trigger approval activity to the approver.Once approver approver approve  the request it will float to the next level .Roll Back is the good option at this point .

 

 

 

 

Mark my answer as useful if helps you 

 

 

Thanks for the response, Pavan.

Would appreciate if you could reason why rollback is a better option when anyways approval status is changed to rejected in sysapproval_approver table and user is anyways requesting for approval again.

Thanks again for your response.

pavan9885
Tera Guru

As a Earlier Mentioned when any Approval is rejected it should set the value to reject instead of not yet requested so if you want requester to request it again and to trigger the approval request to approver roll Back is the best option to achieve the functionality 

 

And i also think this would help you right way 

 

https://community.servicenow.com/community?id=community_blog&sys_id=b75e2eaddbd0dbc01dcaf3231f96198f

vinothkumar
Tera Guru
As mentioned Roll back will suit better for your requirement. We developed a similar functionality by creating a UI action " Need more Information" and approver only have visibility to that button and on click additional comments will become mandatory and stage will be set as custom request more information and remaining approvals will be changed to No longer required and whenever the user updates the required info then approver can approves or reject the request