How can we add approvals to flow designer based on only roles?

Prasun2
ServiceNow Employee
ServiceNow Employee

Hello Everyone,
I am looking at a use case where every order that gets submitted should gets approval from users based on their roles i.e. only users who have role xyz should be the approvers of the record. 
The 'Ask for approval' action in flow designer doesnt has the feature to add approvers based on role. 

Any suggestions? 
find_real_file.png

1 ACCEPTED SOLUTION

sachin_namjoshi
Kilo Patron
Kilo Patron

You can create a custom action which returns list of approvers who has particular role.

Output of this custom action can be used in ask for approval action in your flow.

 

Regards,

Sachin

View solution in original post

5 REPLIES 5

sachin_namjoshi
Kilo Patron
Kilo Patron

You can create a custom action which returns list of approvers who has particular role.

Output of this custom action can be used in ask for approval action in your flow.

 

Regards,

Sachin

Hi Sachin,

 

Can you please show the steps to create the custom action for this.

 

Thanks

GB14
Kilo Patron

@Prasun2  are you able to share how you achieved it?
Thanks,
G

GBS
Tera Contributor

@GB14 @Prasun2 @sachin_namjoshi Can you please share how you have achieved this