The Logic Stage

Add a Logic Stage to your workflow to create dynamic paths for your data based on the annotations that your files contain.

Logic stages let you create custom if/else statements or Rules to automatically manage the flow of your data. You can also select Or to include multiple classes in a single rule.

Use Logic stages to automatically archive blurry images, assign files to specialists based on their content, or trigger webhook-based automations when specific classes are added to a file. Check out the guide below for inspiration on how you can inject logic into your datasets.

To set up a Logic stage:

  1. Drag and drop the Logic stage into your workflow template.

  1. Plug the stage into the previous workflow stage (where the files will be flowing from) and the next workflow stages in sequence (where the files will be flowing to). Logic stages are a conditional stage - if files meet the criteria for a rule, they will be sent to the next specified workflow stage. Any files that do not meet the criteria of the stage rules will be sent to the stage connected to Else.

  1. Configure the stage by adding one or more rules, adding an operator and value for each rule.

  1. You can also add multiple classes to be routed together. One use case is if there are numerous kinds of edge cases that you want to send to the same specialist reviewer. So for example, you can filter for both Uncertain and Abnormality tags to automatically send them both to a specialist annotator.