Can we call subflow or flow from a ui action.

sirisha17
Tera Contributor

Can we call subflow or flow from a ui action. If yes let me know how to call.

1 ACCEPTED SOLUTION
3 REPLIES 3

Mahesh Jillella
Tera Contributor

Hi @sirisha17 ,

 

You can call a sub-flow or a flow form Server Side as well as Client side script.
Follow below steps to achieve this.
1. Go to your Flow designer landing page
2. Open your Flow or Sub-flow

3. Click on "More action menu", it will be right side with (Three dot's ...).
4. Click on "Create code snippet".

5. You will be able to see two code snippets like Server and Client.

6. Copy your code into your UI Action 
7. You have to assign values to "Inputs" object based on your requirement.

End....