Tasks
A task is one action inside a Filestack workflow, such as resizing an image or scanning a file for viruses. A workflow is a set of tasks plus the logic that connects them.
Task Categories
- Transformations: the image, document, audio and video transformations of the Processing API
- Advanced Transformations: image enhancement
- Intelligence: image tagging, image SFW, image captioning, video tagging, video SFW, copyright detection, OCR, document detection and virus detection
Task Names and Results
Each task has a unique name. The name appears in the webhook response next to the task’s result, for example "virus_detection_1548213592150": { "data": { "infected": false } }.
Logic Between Tasks
Logic rules use a task’s result to decide which tasks run next. A rule has a path, an operator and a value, for example infected eq true. Operators: lt, lte, gt, gte, eq, neq, incl, nincl, kex and knex.
Configuring Tasks
Tasks are added and configured in the Workflows section of the Developer Portal.
Related terms
Workflows
Background processing of uploaded files with tasks and logic rules.
Processing Pipeline
Automated workflow system that applies sequential operations to files.
Intelligence (AI) Service
Machine learning tasks that tag, caption, moderate, scan and read files.
Webhooks
Event-driven communication mechanism for asynchronous operations.
More in Workflows
This page is one of 94 terms in the Filestack glossary.
Browse all terms