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).

manageVariables.png

The mapping result will then look like this:

Mapping.png

The execution log appears as follows:

Log.png

 

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