Argument Mapping

Any time you drag and drop a workflow or microbot into the workspace area of an active project, the variable mapping dialog will open. In the below example, we will map and pass a variable (variable1) from the MainScriptRunner_DCO to an argument (argument1) of an invoked Workflow myNewWorkflow.xaml. The default value of variable1 is "Hello World".

MainScriptRunner_DCO.xaml

MainScriptRunner.png

myNewWorkflow.xaml

invokedArgument.png

To perform the mapping, select the parent variable1 (1) and the child argument1 (2), then press the Link button (3).

mapping.png

If an variable/argument does not yet exist in the Parent/Child Workchild, you have the possibility to click mirror (4) your variable/argument. The variable/argument is created and automatically linked.

The mapping result will then look like this:

 

mceclip0.png

The execution log appears as follows:

Log.png

 

Was this article helpful?
0 out of 0 found this helpful