Open MercatoDocsSearch docsAPI reference

User guide

Workflows Overview

A workflow moves one case through a series of steps. Follow a run to see what happened, which work is waiting and who can act next.

What Are Workflows?

A workflow is like a recipe for a business process. Just as a recipe has ingredients, steps, and conditions (e.g., "bake until golden brown"), a workflow has:

For example, an approval workflow might start when a purchase request is submitted, route it to a manager for review, send a notification email, and finally mark the request as approved or rejected.

Key Concepts

Definitions vs. Instances

Think of definitions as cookie cutters and instances as the actual cookies.

Steps

Steps are the building blocks of workflows. Each step represents a stage in your process:

Learn more about step types →

Transitions

Transitions – "routes" on the canvas – connect steps and define how the workflow moves forward. They can be automatic (immediate) or conditional (based on rules or manual actions), and a route marked as an error route is taken only when its source step fails.

Learn more about transitions →

Activities

Activities are actions that execute during workflows – sending emails, calling external APIs, updating database records, or publishing events. They're the "verbs" of your workflow.

Learn more about activities →

When to Use Workflows

Workflows are ideal for processes that:

Common Use Cases

Getting Started

Ready to create your first workflow? Start with these guides:

  1. Creating Workflows - Step-by-step guide to building your first workflow
  2. Step Types - Choose the right step for each task
  3. Activities - Configure automated actions
  4. User Tasks - Work with tasks requiring human input

Quick Navigation

Architecture

Workflows are built on a state machine architecture that ensures reliable execution, complete audit trails, and support for long-running processes. The engine handles:

For developers who want to integrate workflows programmatically or extend the engine with custom activities, see the Framework Documentation.

Next Steps

Start building your first workflow with our step-by-step creation guide, or explore the different step types to understand your building blocks.

Previous: Creating Workflows · Next: Monitoring Workflows