Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

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

Kiran_25
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

VagelieK
Tera Contributor

also wondering about this exact same scenario...

Hi @VagelieK & @jency83 

Not sure if this helps you but I had to add a 'look up' action to look at the user group records where the sys ID matches the sys ID for the group on the task_ci record. I am sure there is a simpler way to but this has worked for me.

thrsdy1512_0-1751008939807.png

 

I ended up following this guide posting.  Worked flawlessly, and also allows for different approval options via scripting rules:
Flow Designer - Use "Ask for Approval" like Group ... - ServiceNow Community

We're modifying the OOB Change Model flows, so this allows for simple copy of the original, and modifying as needed at either the assess or authorize levels.