How can i connect the a workflow to subflow?

Mohit Yadav
Tera Expert

which activity i should use in parent workflow to call subflow.

My requirement here is i need to create on task on change request which will   have the approval. so i created a subflow(workflow) on change task table. now i am trying to connect this workflow(subflow) to parent task which is on change request table. can anyone please suggest which activity i should use on parent workflow to call subflow. and how can i connect both.

Although i am trying to connect it by using workflow activity in parent workflow. And when i go to configure this activity than i am not getting any reference to connecting the main subflow to workflow. And there is a reference field in this workflow activity which is refering to workflow instance table, but my workflow(subflow) is not available in this table, even i can see it in workflow version.

Thanks in Advance!!!!

1 ACCEPTED SOLUTION

Mohit Yadav
Tera Expert

Checkout your workflow where you want to call another workflow.

Drag another workflow in your main . Then workflow activity will open and you can fill the input variable of your subflow  to be passed and map return value, then update/submit.

 

Your child workflow/subflow will be available in main workflow now connect input and output stream correctly

View solution in original post

5 REPLIES 5

Mohit Yadav
Tera Expert

Checkout your workflow where you want to call another workflow.

Drag another workflow in your main . Then workflow activity will open and you can fill the input variable of your subflow  to be passed and map return value, then update/submit.

 

Your child workflow/subflow will be available in main workflow now connect input and output stream correctly