Skip to main content
Legacy User
December 18, 2020
Solved

CLM.CM passing a variable from parent to child workflow

  • December 18, 2020
  • 3 replies
  • 286 views

​I have a process that has a couple child workflows. I have defined a variable in the initial "parent" workflow using parameters available for the document name that updates an attribute field. The final step starts the child flow and in the configuration you can add variable from the parent. Can a variable be passed from one workflow to the other and how is that done?

Thanks

Best answer by Community Expert

This request is a bit old, but for others that may have the same question, the Workflow step that is used to launch a sub-workflow has a configuration option to select variables to be passed to the sub-workflow. In order to receive those variables, the sub-workflow needs to have variables with the same names and data types as the variables being passed.

To pass data back from the sub-workflow to the parent workflow, use the Update Parent Variable step which allows you to specify the variable in the parent to update as well as the new value for that variable. To increase the reusability of your sub-workflow, use the format "Variable.variablename" as the parent variable rather than clicking on the (x) and selecting the variable in the dialog that appears.

3 replies

Docusign Employee
January 22, 2021

This request is a bit old, but for others that may have the same question, the Workflow step that is used to launch a sub-workflow has a configuration option to select variables to be passed to the sub-workflow. In order to receive those variables, the sub-workflow needs to have variables with the same names and data types as the variables being passed.

To pass data back from the sub-workflow to the parent workflow, use the Update Parent Variable step which allows you to specify the variable in the parent to update as well as the new value for that variable. To increase the reusability of your sub-workflow, use the format "Variable.variablename" as the parent variable rather than clicking on the (x) and selecting the variable in the dialog that appears.

Legacy User
August 1, 2022

@Mike Alexander​ This format "Variable.variablename", does not allow to transfer any Document or XML variables, any advise?

Justin Jiang
Established Contributor
Established Contributor
April 25, 2024

Can you share screenshots?

Welcome to the DocuSign Community and University! Your feedback is immensely appreciated. If this answer resolves your issue, please feel free to give it a Like and mark it as the "Best Answer". This helps others in the community find the information they need. Visit us at http://dsucustomers.docusign.com for more resources and support.