Passing variables between Process Models - Data360_DQ+ - Latest

Data360 DQ+ Help

Product type
Software
Portfolio
Verify
Product family
Data360
Product
Data360 DQ+
Version
Latest
Language
English
Product name
Data360 DQ+
Title
Data360 DQ+ Help
Copyright
2024
First publish date
2016
ft:lastEdition
2024-07-09
ft:lastPublication
2024-07-09T15:09:58.774265
Tip: If you are not already familiar with grouping tasks within large Process Models to reduce the number of direct dependencies, see Grouping Process Models tasks.

 

This example describes how to pass variables between Process Models.

Process Model variables

 

In this example, you have a top-level Process Model which triggers three child Process Models ("Child Process Model A", "Child Process Model B" and "Child Process Model C"). The child Process Models are referenced by Execute Process Task nodes:

Parent Process Model

 

Child Process Model A has a Success End Event node with an output variable (outputVar1) set to example:

 

The outputVar1 variable is picked up by the parent Process Model as an output of the Execute Process Task node.

 

The Execute Process Task node in the parent Process Model is connected to an Exclusive Gateway node which tests the value of the output variable coming from Child Process Model A. If the output variable value is example, the flow continues, otherwise the Process Model ends with a Cancel End Event node:

Process Model variables

 

 

This check is repeated at each stage of the Process Model. When the output variable value matches the specified value at each stage of the flow, the parent Process Model can be executed successfully from start to finish.