How to pass data from main workflow to sub workflow?

sanyalshubh
Tera Contributor

I have tried using variable creation and passing using g_scratchpad. but not working

3 ACCEPTED SOLUTIONS

Ankur Bawiskar
Tera Patron

@sanyalshubh 

this link has solution, you can create input to 2nd workflow and pass that input when you call from 1st workflow

How pass variable of on workflow to another workflow 

If my response helped please mark it correct and close the thread so that it benefits future readers.

View solution in original post

Ravi Gaurav
Giga Sage

Hi @sanyalshubh 

Configure the subflow to accept variables from the parent workflow by defining the inputs.
Include the subflow in the parent workflow and connect the inputs to the parent workflow variables

View solution in original post

3 REPLIES 3

Ankur Bawiskar
Tera Patron

@sanyalshubh 

this link has solution, you can create input to 2nd workflow and pass that input when you call from 1st workflow

How pass variable of on workflow to another workflow 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Ravi Gaurav
Giga Sage

Hi @sanyalshubh 

Configure the subflow to accept variables from the parent workflow by defining the inputs.
Include the subflow in the parent workflow and connect the inputs to the parent workflow variables