For the complete documentation index, see llms.txt. This page is also available as Markdown.

Variables

Use Text, Number, Yes/No and Document variables, including organization scope and immediate persistence.

Video: Variables, tests and activation

Open video · Captions (WebVTT) · 1:53

Transcript (English)

Open Variables with the braces icon. Choose Text, Number, Yes or No, or Document. Search finds variable names. A Document variable stores a reference set by a dedicated workflow action. This form does not accept document values.

Choose a unique name, type and initial value. Creating, editing and deleting variables persist immediately for the organization. Other workflows can share these values. Saving or discarding the canvas cannot undo variable changes.

Select Validate. Review errors and warnings above the canvas. Click a message to focus its node. Check actions, entry connections, handles, cycles and merges. Structural validation does not prove that runtime data is correct.

Toolbar play opens Select Test Document. Choose a document, Custom Data, or Test Without Document for independent cards. Start play runs directly. Tests use the current canvas, including unsaved edits, and simulate destructive actions.

Prepare separate tests above, below and exactly at one thousand, plus missing data. After running, inspect node messages and durations: green success, orange false, red error, gray skipped. Retest fixes; use Test Manager for repeatable scenarios.

Auto-save keeps a local browser draft about every thirty seconds after changes. Save explicitly to the server. The activation toggle is unavailable before the first save. Check the enabled state in Workflow List before expecting automatic execution.

Watch all five chapters

Open Variables with the { } toolbar icon. Compatible cards can read or update named values such as thresholds, labels, flags or document references. The panel groups variables by type; Search filters their names.

All four types

Type
Holds
Configuration

Text

A string.

Enter an initial text value, such as a reusable label.

Number

A numeric value.

Enter a number, such as an amount threshold, without a currency symbol.

Yes/No

A Boolean flag.

Set the initial Yes/No toggle.

Document

A document reference.

Assigned by an appropriate workflow action. This form does not accept a typed document default.

New Variable form showing Text, Number, Yes/No and Document
Select a type, enter a unique name and set the initial value where applicable.

Create and use

  1. Open Variables → New Variable.

  2. Choose the type.

  3. Enter a non-empty name not already used in the organization.

  4. Set the initial value where applicable.

  5. Select Save or Create Variable, depending on your version.

  6. Select the variable in a compatible card field.

A card must support that variable type. Variables do not replace every card field, and an organization variable is different from a value extracted from a document field.

Scope and persistence

Use shared values deliberately. If each invoice needs a different value, choose the document field or document-scoped data supported by the card instead of assuming a shared variable is private to an execution.

Edit and delete

The pencil opens a variable's name and value for editing. Its type is retained; select the right type when creating it. Save persists the edit.

The delete icon opens a confirmation. Check which workflows use the variable before confirming: a deleted reference can leave a card without its expected value. Re-test affected workflows after changing a shared value.

Example: a shared amount threshold

Create a Number variable such as approval_threshold. Select it in a compatible comparison card and route the result to approval or normal processing. Before changing it, identify other workflows that use it. Test below, exactly at and above the threshold. The comparison operator still matters: changing a value does not change > into >=.

Continue with Validation & Testing and Workflow Logs.

Last updated

Was this helpful?