Using 'Change Success Score' as part of 'Change Approval Policy'
Import
·
Oct 28, 2020
·
article
In this article we will outline steps on how you can use Change Success Score to auto approve change
- Create a 'Change Approval Policy' with a Policy Input of type 'String' that will capture the success score of assignment group. In our case this is 'u_group_css'
- As part of Decisions, create a new decision to check the value of 'u_group_css' against allowed number and associate the approval definition
- Once you have the change approval policy defined, its time to add 'Change Approval Policy' activity as part of your workflow. You should see this activity as part of 'Core' under 'Change Policy'
- Drag and drop the activity in your workflow, open up the activity an under 'Policy Inputs' define the following code:
Code Details:
- metric_instance - table contains all the success score associated with groups and is calculated on a daily basis
- In encoded query
- Definition = 'sys_id' of change success score definition
- sys_created_on = 'yesterday' as we need the most recent score
- id = 'group sys_id' - change assignment group ie. current.assignment_group
With this you are all set to use Change Success Score as part of your approval policy.
Labels:
View original source
https://www.servicenow.com/community/itsm-articles/using-change-success-score-as-part-of-change-approval-policy/ta-p/2309185
