Change approval and workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-09-2017 04:04 AM
Hi everyone,
I am working on a change application and here is what I need.
Scenario:
- I am looking to have separate workflow actions based on the value of the approval form field.
Questions
- 1st, I customized the approval field on the form to add (Not yet requested, Requested, Assigned for analysis, Approved for implementation, Deferred, Canceled, Rejected). By doing this will the approver have the options listed in this field to pick from, or the approver just gets 2 options (approve, reject)?
- 2nd, I want to have a switch control in my Normal Change Model workflow, that will do different things based on the value of the approval. How do I do that?
- Labels:
-
Change Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-09-2017 05:08 AM
Review this article for directions on the steps necessary: http://wiki.servicenow.com/index.php?title=Custom_Transitions_for_the_Approval_-_User_Activity#gsc.t...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2017 03:21 AM
How can I restrict my changes to the approval state to the approvals from the change application only? I do not want user to see my custom options while approving something other than a change request.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2017 05:16 AM
You can try using removeOption(fieldName, value) in a client script if Approving for starts with or contains CHG. http://wiki.servicenow.com/index.php?title=GlideForm_(g_form)#removeOption&gsc.tab=0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-09-2017 05:11 AM
hi,
To answer your questions:
1. Approval activities in workflow finally triggers an email notification on sysapproval_approver table which uses a template, so your change of approval values will not have a impact on email sent to approver.
2. How the approval values will be set, by default the approval value will be set to either Approved / Rejected based on the email inbound action / template action? Additionally any users are allowed to change the approval field on CHG request?
- If yes, then you can modify your workflow based on the approval field as start condition / with in flow by having a path
- if no, then you have to first find a way to control the approval values based on user actions and then you can modify workflow.
Hope this helps!
With regards,
Damodar