Skip to main content

Using Variables in Squad Tasks

In Orkeia, you can use variables in fields like description, expectedResult of tasks to make them dynamic, reusable, and customizable at runtime.

Syntax

Variables follow the following format:

How It Works

Variables are automatically replaced at the time of Squad execution. Based on what is passed, whether in the description or expectedResult.

Example

Corresponding Payload

Rendered Result

  • Description: Revisar o contrato do cliente Matheus Matos com o número CT-2025-123.
  • Expected Result: Contrato CT-2025-123 deve estar validado no sistema até 10/09/2025.

Common Use Cases

Notes

  • Variables must be in the exact format #{VARIAVEL}.
  • Variables missing from the payload will not be replaced and will appear in the final text as they are.
  • Use clear and standardized names to facilitate reuse.

Where Can I Use Variables?

Variables are used within Tasks and can appear in two specific fields:
  • task.description
  • task.expectedResult
Thus, at runtime, they are applied to the tasks of the Squads.