On this page
  1. Start here
  2. Build and route workflows
  3. Release and operate workflows

Workflow

MageB2B Workflow runs repeatable Magento processes from a visual definition. A Magento event or authenticated API call starts a run. Conditions and switch nodes choose a path; action nodes update the run payload or perform a controlled side effect; waits and approval tasks pause the run until it can continue.

The workflow definition is not the run itself. Editing a draft changes the next published version, while an existing run keeps the version with which it started.

An event enters a published workflow. The workflow evaluates a rule, pauses for an approval when required, then continues with an action and finishes.

A few terms used throughout this guide: the payload is the data a run carries between nodes (for example the order that triggered it). A consumer is a background worker process that picks up queued work — without a running consumer, published workflows do not execute. A nonce is a one-time random value in a webhook signature that prevents a captured request from being replayed; HMAC-SHA256 is the signature algorithm used to prove a webhook caller knows the shared secret.

Start here

  1. Install the module
  2. Review the global settings
  3. Build a first approval workflow

Build and route workflows

Release and operate workflows

Workflow definitions are under Content > Workflow > Workflow Definitions. Human decisions are under Content > Workflow > Workflow Tasks.

Two published workflow definitions with the completed order-approval run