How to call a flowdesigner in workflow

Community Alums
Not applicable

Hi All,

 

Can anyone please help me how to call a flowdesigner in worklow

 

Thanks in Advance!!

4 REPLIES 4

Amitoj Wadhera
Kilo Sage

Hi @Community Alums ,

 

1. Add "Run Script" activity to your workflow.

2. Add below script in the run script : 

      

var flowInputs = {};
             flowInputs['target_obj'] = current;
             flowInputs['table_name'] = current.getTableName();
         var result = sn_fd.Flow.startAsync('flow_name', flowInputs);

 

If you find my response helpful, please consider marking it as the 'Accepted Solution' and giving it a 'Helpful' rating. Your feedback not only supports the community but also encourages me to continue providing valuable assistance.

 

Regards,

Amitoj

 

Harish Bainsla
Kilo Patron
Kilo Patron

Hi @Community Alums 

Click on Flow logic and you can find the “Call a Workflow” and select this activity. Finally, you can select any workflow through flow designer. 

HarishBainsla_0-1714645983670.png

 

HarishBainsla_2-1714646024223.png

 

 

Hi @Harish Bainsla , Good Effort. But, I think @Community Alums is looking for the solution the other way around.

Calling flow from workflow.

 

Regards,

Karunakaran.

Karunakaran
Mega Guru

Hi @Community Alums ,

 

This you can achieve using the scripts. Please refer the FlowAPI documentation.

 

Please let me know, if you have any specific scenario which you want to acheive.

 

Thank you.

 

Regards,

Karunakaran.