Skip to content

Assert Node

Utils/Testing

Asserts a condition inside a flow. On pass it logs `ASSERT_OK {label}` (Info) and continues; on fail it logs `ASSERT_FAIL {label} {details}` (Error) and halts the run with an error. Test runners grep these stable marker prefixes. Name test events with a `test` prefix so they are discoverable by test tooling.

flow_assertstd
Inputs4
Outputs1
Security exposure10/10
Packagestd

Ratings

Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.

SecurityAttack surface and exposure impact.
10/10High
PrivacyPotential sensitivity of processed data.
10/10High
PerformanceRuntime or resource pressure.
10/10High
GovernancePolicy, audit, or compliance impact.
8/10High
ReliabilityOperational stability considerations.
9/10High
CostExternal or compute cost impact.
10/10High

Input Pins

4

Input

Execution
exec_in

Trigger Pin

Condition

Boolean
condition

The condition that must hold.

Default false

Label

String
label

Stable name for this assertion, echoed in the ASSERT_OK/ASSERT_FAIL log markers.

Default assertion

Details

Generic
details

Optional context logged when the assertion fails.

Output Pins

1

Pass

Execution
exec_out

Continues only when the assertion holds.

Node Info

Internal name
flow_assert
Category
Utils/Testing
Version
1