Using variable across Workflow


#1

How to make available a variable in the child workflow, into the parent workflow ?


#2

Hi Anil,

If you want to return variable/parameter from child to parent workflow, you need to follow steps like

  1. In child define field which will be accepting parameter of child workflow(Note that the field name must be same as a field that is present in parent workflow).
  2. Use copy rows to result or set file names in result or set variable at the end in child workflow as per your requirement.
  3. while connecting a workflow executor to next step in parent workflow use option - This output will contain result rows after execution or result file names after execution or respective option as per the need.
  4. You can also use get variable step in parent/any other workflow to simply get variable defined in child/other workflow.

Regards,
Rohini