Flow Designer - Ask for approval action scripting.

pavansanthosh
Tera Contributor

Hi ,

 

I have a requirement in which i need to generate multiple approvals if required based on groups and users, i have written a custom action to pass values into flow designers ask for approval action, im not able to select array.string/array.object/string/sys ID in rule set. Refer below screenshot, Is there any way to write script to this which accepts sys_id from groups&users or any specific type which i can select to achieve this.

Please help me with this

pavansanthosh_0-1695985835418.png

 

2 REPLIES 2

Abbas_5
Tera Sage
Tera Sage

Hello @pavansanthosh,

Please refer to this link:
https://developer.servicenow.com/dev.do#!/learn/learning-plans/utah/new_to_servicenow/app_store_lear...

 

If it is helpful, please mark it as helpful.

Thanks & Regards,
Abbas Shaik

Community Alums
Not applicable

Hi,

 

You might have to write a custom action to generate approvals in your case, as there is no option to write a script in the RuleSet.

 

Here is a video below where it has been explained to generate approvals via script. You can pass the parameters in your custom action and then read them and generate approvals accordingly. Please let me know if you have further questions.

 

Please mark this comment as Correct Answer/Helpful if it helped you.

 

Cheers,

Hardit Singh

 

[video]