How to ask for affected CI support group approval on a change request

thrsdy1512
Tera Expert

Hi I have a requirement where for Change requests, the affected CI support group needs approval generating for them to approve/reject

I am doing this using flow designer and there is a scripted action which gets the support group details from the task_ci table and sets it as a flow variable. 

When I have added an action to ask for approval using this variable I am seeing an error as saying 'Record being approved (change_request:sysid123445678906789) does not exist or is unreadable' . (I have added in a dummy sys id here)

The sys ID it is pulling is the sys ID for the support group, if I change this & remove the flow variable so its looking at the change req and the sys ID is correct but no approvals take place.

Any ideas on how to achieve this? 

7 REPLIES 7

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @thrsdy1512 

 

No need to script, add this to the change approval policy and it will be like a dot walk and easy to do.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Hey @Dr Atul G- LNG I understand I would have to create a new approval policy & include that in the flow but I don't understand how the approval policy would be able to achieve this.  would it be able to filter that far  down to change req > affected CI > support group ?

 

 

Hi @thrsdy1512 

 

You can create a new approval definition like this

Table: chg_approval_def 

and then use this in approval policy

 

AGLearnNGrow_0-1741876219569.png

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

This only works for one CI within the change. Do you have an idea how to achive this for items in the Affected CI(s) and Impacted Services/CI(s) related lists?