Skip to content

When Handler

Executes a run conditionally.

Properties:

  • condition: The condition that must evaluate to true for the run to execute.
  • run: The name of the run that will be executed if the condition is met.

Example:

- when:
condition: "{{.data.createBasicStructure }}"
run: "generateBasicStructure"