Levels of conditions
You can apply conditions at three levels:- Step-Level Conditions Define whether an individual step within a workflow should execute during a workflow run.
- Channel-level conditions Control execution of steps using a specific channel across all workflow runs.
- Preference-level conditions Manage notification preferences available during a workflow run.
Condition types
Novu’s shared conditions model supports the following types:- Data — Evaluates workflow trigger data payload properties.
- Subscriber — Evaluates properties of the workflow subscriber.
- Actor — Evaluates properties of the workflow Actor.
- Environment Variable — Evaluates custom environment variables.
- Workflow — Evaluates properties of the current workflow.
- Workflow run state — Evaluates runtime properties of the workflow.
- Tenant — Evaluates properties of the associated tenant.