FlowDSL Node Catalog

Assert

Emit an error if the boolean expression evaluates to false.

Overview

PropertyValue
Node IDcore/assert
Kindaction
Modulecore-flowdsl
Repogo-flowdsl
Handlergithub.com/redelay/go-flowdsl/nodes/core.Assert
Iconlucide:check-circle
Color#10b981
Tagsvalidation, assert

Outputs

  • out — (no description)

Settings

PropertyTypeRequiredDefaultUI GroupDescription
exprstringyes——Boolean expression (same language as core/if).
messagestring—assertion failed—

Example

yaml
# Use this node in a flow:
nodes:
  - id: my_step
    name: My Step
    kind: action
    action_ref: core/assert
    config:
      expr: "value"
      message: assertion failed