How to call a SubFlow in scoped application using UI Action

Shubham15
Kilo Contributor

I need to get approval from a group so for that I have a created a UI action. So when the UI Action is clicked by the user I need to call the SubFlow which will do further process but I am not sure how to achieve it ? which methods shall be used ? Will be client side or server side ?

Can someone please help ?

 

2 REPLIES 2

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Shubham, You can execute a subflow via Server side script. Details here.

 

- Pradeep Sharma

 

 

OlaN
Giga Sage
Giga Sage

Hi,

Open the Flow in Flow designer.
Click on the Create code snippet.
Copy the code to clipboard.
Paste the code in to your UI action.

find_real_file.png