Set Parameter

The Set Parameter element is used to define and set variables (key-value pairs) that can be reused in your workflow using the Expression Language. These variables can be scoped by visibility and persistence to suit your specific needs.

Key Features:

How to Use:

  1. Select the Visibility Scope and Persistence Scope for the variables.
  2. Add your parameters in the Properties field as key-value pairs, such as:
    • trimmed : ${trim(text)}
    • title : "My Title"
    • myObject : ${{"key": "value", "other": []}}
  3. Access the parameters anywhere in your workflow using their key names, e.g., ${trimmed}.

Example: Creating an Array

Here's how to create a two-dimensional array, such as players[index]["name"]:

For dynamic arrays where the size isn't predetermined, you can use a counter variable. For example: