Convert Variable to Argument

Estimated reading: 2 minutes

The Convert Variable to Argument feature allows you to convert an existing workflow variable into a workflow argument without recreating it manually. During conversion, the platform preserves applicable properties, reducing manual effort and ensuring consistency.

To convert a variable:

1. Open the Variables panel.
2. Right-click the variable you want to convert and select Convert to Argument.
3. The variable is converted into a workflow argument and moved to the Arguments panel.

After the conversion:

1. The selected variable is removed from the Variables panel.
2. A new argument is created in the Arguments panel.
3. The argument is assigned the In direction by default.
4. The argument can be configured further and mapped when the workflow is invoked.

Conversion Behavior

Default Argument Direction

When a variable is converted to an argument, the platform assigns the In direction by default. You can change the direction to Out or In/Out from the Arguments panel after the conversion.

Preserved Properties

During conversion, the platform preserves the following properties wherever applicable:

a. Name
b. Data type
c. Default value
d. Scope compatibility

Name Validation

Argument names must be unique within a workflow.

If an argument with the same name already exists, the platform prompts you to provide a unique name before completing the conversion.

Example

If you convert a variable named CustomerName and an argument with the same name already exists, you must rename the converted argument to a unique name, such as CustomerName_New, before the conversion can be completed.

Share this Doc

Convert Variable to Argument

Or copy link

CONTENTS
Robility Chatbot
Robility Assistant
Online