Skip to main content

evaluate

Function evaluate 

Source
pub fn evaluate(
    condition: &StepCondition,
    workflow_data: &Value,
) -> Result<bool, WfeError>
Expand description

Evaluate a step condition against workflow data.

Returns Ok(true) if the step should run, Ok(false) if it should be skipped. Missing field paths return Ok(false) (cascade skip behavior).