Generate Approval from the CIs sys_IDs

Community Alums
Not applicable

Hi All,

 

I am looking for a script which can generate approval for the CIs sys id I populated in a field. refer snapshot below - 

 

PiyushKumar1_0-1707201454801.png

In the get_sysids field I am populating the sys ids of all the CIs linked to a application service.

Now I need to look it up in cmdb table and generate the approval based on their department and add it to CHG also display the list of approval group in the Approval Group (list collector) field (remove duplicate group).

PiyushKumar1_2-1707201949103.png

Please let me know how I can fulfill this. 🙂 

 

Thanks,

Piyush Kumar

 

1 ACCEPTED SOLUTION

Community Alums
Not applicable

I have managed to write the script. Its working

View solution in original post

1 REPLY 1

Community Alums
Not applicable

I have managed to write the script. Its working