Ask for approval for CI support group manager and additional manager.

NikhithaNikki
Tera Contributor

I have created a multi row variable set called Configuration Item with the variables CI, Manager Name, Additional Manager Name.

ci fields refers to the cmdb_ci_server table. So, when I select CI the manager and additional manager's name automatically get populated. But in the flow, I need to ask for CI support group manager and additional Manager approval.

And when in the multirow variable set when two servers selected but if the ci has same support group it should for approval one time only. Can you please suggest me how to do it in ServiceNow.

6 REPLIES 6

Mark Manders
Mega Patron

Within your flow, just lookup all the given managers within a flow variable and make sure you only return a list of the unique ones. Then you can run a for each to set the approvals.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Ankur Bawiskar
Tera Patron
Tera Patron

@NikhithaNikki 

so what did you start with and where are you stuck?

You can use Flow variable and then use "Set Flow Variable" flow logic to set that variable with the group

In the script you can determine the correct approval groups etc

this might help but please enhance

creating approvals based on MRVS data in flow designer 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

In the reply there are three reference field but i have one CI reference field and manager and additional manager are strings. I want the CI support group manager additional manager approvals

You don't need the manager fields from the variables, since you can get them from the CI record within your flow.

Within your flow, just lookup all the given managers from the given CIs within a flow variable and make sure you only return a list of the unique ones. Then you can run a for each to set the approvals.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark