Workflow Logic
Workflow logic is the set of rules in a Filestack workflow that decides which tasks run, based on the results of earlier tasks.
Rule Format
A rule has a path, an operator and a value. The path uses dot notation to point into a task’s JSON result, for example tags.auto.sky.
Operators
lt,lte,gt,gte: less than, less than or equal, greater than, greater than or equaleq,neq: equal, not equalincl,nincl: includes, does not includekex,knex: key exists, key does not exist
Examples
sfw eq false: run the next task when an image is unsafeinfected eq true: run the next task when a virus is foundmetadata.size lt 300000: run the next task for files under 300,000 bytes
Related terms
Workflows
Background processing of uploaded files with tasks and logic rules.
Tasks
One action inside a Filestack workflow, such as a transformation or an intelligence check.
Workflow Job
One run of a Filestack workflow on one file.
More in Workflows
This page is one of 94 terms in the Filestack glossary.
Browse all terms