- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-29-2015 01:29 PM
Hi SNC,
A question about approvals on the change request table. So I have a workflow on the change request table, which uses the group approval workflow actions. The way it works OOTB, when you click Reject as a UI action (which is on the sysapprover_approval table) the approval is set to state Rejected and the change request is made inactive.
What I want is to have the Reject button on the approval sent the change to Draft and keep it as active, while at the same time mark the approval state as Rejected, so that I can have some track in the change record of who rejected and why.
Has anyone done this? I am eventually going to build this, but if anyone already has done it, would love to know how it worked.
Thanks!
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-29-2015 03:12 PM
Hi Dimitar Dimitrov,
There are two outcomes from the approval activity in the workflow: Approved and Rejected. If you create an activity that sets values on the change form as state = Draft and Approval = Rejected, then you can link the rejected outcome to that activity. In the screen shot, it's using a run script, but I believe you could also use a Set Values activity.
If you will have the user resubmit for approval, it's important to use the roll back activity as well, so it will reset the completion of the approval activity. Otherwise, ServiceNow will think the approval has already been completed and it will skip over it.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-29-2015 03:12 PM
Hi Dimitar Dimitrov,
There are two outcomes from the approval activity in the workflow: Approved and Rejected. If you create an activity that sets values on the change form as state = Draft and Approval = Rejected, then you can link the rejected outcome to that activity. In the screen shot, it's using a run script, but I believe you could also use a Set Values activity.
If you will have the user resubmit for approval, it's important to use the roll back activity as well, so it will reset the completion of the approval activity. Otherwise, ServiceNow will think the approval has already been completed and it will skip over it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-30-2015 01:53 AM
Kailey Oppenheim - this was a very good direction you sent me in:) I had not thought of using the Rollback To, while this is exactly what I needed. I set it up as described - upon rejection, I set the change state to Draft and then have a rollback activity to allow resetting of the approvals. Works like a charm:)
Thank you!
Below is a screenshot of my piece of logic: