Arguments

ArgumentsArguments

Arguments are parameters that transfer data between workflows. When a workflow calls another workflow, they are used to send data to the called workflow or to receive results from it.

Each argument is defined with a name, a data type and a direction. The direction of the argument determines how data is passed into the workflow and how it is received from the workflow.

Direction

Description

Example

In

Passes a value from outside into the called workflow.

Sending the order number to be processed

Out

Passes a result out of the called workflow.

Returning the operation result or the path of the generated report

In/Out

Allows the incoming value to be used inside the workflow and the updated value to be passed back.

Returning an incoming counter value after updating it

Adding an Argument

  1. Open the Arguments panel.

  2. Click the + (Create Argument) button.

  3. Give the argument a meaningful name.

  4. Select the data type.

  5. Set the direction of the argument (In, Out or In/Out).

  6. Define the argument in the relevant workflow and make the required mapping in the calling workflow.

Points to consider:

  • The argument name should clearly express its purpose.

  • The data type should be compatible with the data to be passed.

  • The argument direction should be chosen according to the data flow.

  • Argument mappings should be checked in sub-workflow calls.

Create Argument Window

Create Argument Window


Find References

To view where an argument is used in the workflow, right-click the argument in the Arguments panel and select the Find References option.

The result list that opens shows the places where the argument is used. Double-click a row in the list to focus directly on that usage.

This feature makes it easier to track argument usage, quickly find the related activities and assess the impact of changes.


Using Arguments in Sub-Workflows

When calling a sub-workflow, the arguments defined in the called workflow are mapped to the appropriate values in the calling workflow.

For example, an In argument can be used to send an order number to the sub-workflow, and an Out argument can be used to return the operation result produced in the sub-workflow to the main workflow.

When mapping arguments, make sure the data types are compatible and the correct direction is selected.