Rollback activity in workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2018 11:43 AM
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.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2018 11:51 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2018 08:27 PM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2018 09:08 PM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2018 09:08 PM