Skip to content

Continue If

Version v1

Based on provided configuration, block decides if it should follow to pointed execution path

Type identifier

Use the following identifier in step "type" field: roboflow_core/continue_if@v1to add the block as as step in your workflow.

Properties

Name Type Description Refs
name str The unique name of this step..
condition_statement StatementGroup Workflows UQL definition of conditional logic..

The Refs column marks possibility to parametrise the property with dynamic values available in workflow runtime. See Bindings for more info.

Available Connections

Check what blocks you can connect to Continue If in version v1.

The available connections depend on its binding kinds. Check what binding kinds Continue If in version v1 has.

Bindings
  • input

    • evaluation_parameters (Union[image, *]): References to additional parameters that may be provided in runtime to parametrise operations.
    • next_steps (step): Reference to step which shall be executed if expression evaluates to true.
  • output

Example JSON definition of step Continue If in version v1
{
    "name": "<your_step_name_here>",
    "type": "roboflow_core/continue_if@v1",
    "condition_statement": {
        "statements": [
            {
                "comparator": {
                    "type": "(Number) =="
                },
                "left_operand": {
                    "operand_name": "left",
                    "type": "DynamicOperand"
                },
                "right_operand": {
                    "type": "StaticOperand",
                    "value": 1
                },
                "type": "BinaryStatement"
            }
        ],
        "type": "StatementGroup"
    },
    "evaluation_parameters": {
        "left": "$inputs.some"
    },
    "next_steps": [
        "$steps.on_true"
    ]
}