Chapter 1 of 20
Start with one process people already run
Choose work that currently lives in email, a spreadsheet or a script nobody wants to touch. Keep the first branch and human decision real.
- Actions inside a step run in order; later actions and steps can use earlier output.
- A malformed condition refuses to match instead of guessing.
- A loop runs its body once per item of a declared list, up to a maximum item count. Loops nest one level deep: a loop can sit inside another loop, but not inside one that is itself nested.
Chapter 2 of 20
Build your first workflow
Draw the path, make exceptions explicit and validate every outcome before publishing.
- 01
Place the steps
Add service calls, a human task or a wait. Set timeouts and priorities where the process requires them.
- 02
Connect the path
Order conditional links deliberately and keep one default route for the case that needs it.
- 03
Validate
Fix unreachable steps, paths that never terminate, missing required configuration and human decisions whose outcomes lead nowhere.
- 04
Publish
Freeze a version. Runs already in flight stay on the version they started with while the draft remains editable.
Chapter 3 of 20
Put a human decision where it belongs
A task pauses the run, appears in an inbox and selects the outgoing path through a decision your business names.
- Assign one person, a role, a named list, a quorum, a weighted vote, any-of or all-of.
- Define real outcomes and reason codes instead of forcing every process into approve/reject.
- Use leased claims so an abandoned task returns to the queue automatically.
- Add deadline warnings and an optional record lock while review is active. An approval expires after 24 hours unless you set another time, and never later than 30 days.
- Require re-authentication and a reason for decisions that need a stronger signature trail.
- 01
Enable task reminder emails
Open the human-task settings on a step and enable email reminders. Set how many hours after task creation it becomes due, then choose how early the due-soon email should arrive.
- 02
Choose repetition
Send one due-soon email or repeat it at your chosen interval. Enable overdue emails and set their repeat interval while the task remains open.
- 03
Choose how long the task may wait
Task expires after (hours) closes the task. Left blank it is 24 hours, and the longest you can set is 720 hours (30 days). Set it later than the due target if people should keep receiving overdue reminders and completing the task. When it expires the step and the run time out; the task is not reassigned.
- 04
Publish and test
Publish the workflow settings and start a new test run. Existing tasks retain the settings captured when they were created.
Chapter 4 of 20
Decide with a table of rules
A decision table step scores, classifies or routes work from a table you can read, and shows which rule decided each run.
- 01
Add the step
Choose Decision table as the step type. It runs no connector and needs none: the table is the work.
- 02
List what the table reads
Add an input for each value the table needs. Give it a type (number, text or yes/no) and the path where the value sits in the run data. Mark an input Required to stop the run when it is missing, and Hide in run history for values that must not be shown.
- 03
Write the rules
Each row is a rule. For every input choose a comparison, or leave it on Anything. Then set the result the rule gives. Add an output for each value later steps should receive.
- 04
Choose how rules apply
Pick one of the three ways below. The step explains its choice in plain words next to the picker.
- 05
Try it
Open Try it, type sample values and see which rule decides. Nothing is saved and no run starts.
- 06
Publish
The published version keeps its own copy of the table. Editing the draft later never changes a version that is published or a run already in flight.
| How rules apply | What happens |
|---|---|
| First matching rule | Rules are checked from the top and the first match decides. Put a rule that matches everything last to catch the rest. |
| Exactly one rule must match | Every rule is checked. If more than one matches, the run stops and names the rules, so overlapping rules cannot hide. |
| Add up every matching rule | Every rule is checked and the numbers of the matching rules are added together. Use it for scores. |
- Comparisons: is, is not, is more than, is at least, is less than, is at most, is one of, is none of, is between (both ends count), contains (text only) and is empty.
- A value that is missing never satisfies a comparison, so a missing score cannot slip into a band by accident.
- Numbers are compared exactly, with up to 15 significant digits, so a total never carries rounding noise.
- A table holds up to 20 inputs, 10 outputs and 200 rules.
- Decision tables are included on every plan, trial included.
- Open a run and expand the step: it says which rule decided, shows the values the table looked at and the result it gave.
- Inputs marked Hide in run history show as [redacted].
- A table is rules about values, not formulas or code. It does not import or export decision files, and it has no date or time type yet.
Chapter 5 of 20
Start from a ready-made workflow
The template gallery has seven starter workflows for work that comes up again and again: Intake, Score, Compare, Draft, Monitor, Assess and Track. Pick one, answer a few questions and you have a working workflow to change.
| Starter | What it does |
|---|---|
| Intake: classify, prioritise and route | Classifies an incoming item, sets its priority, routes it to the team that handles it and records why it was routed there. |
| Score: rate, band and review | Scores one item from three factors rated 1 to 5, puts it in a band, records which factors added to the score, and has the result reviewed. |
| Compare: find differences and review them | Compares a current list with a reference list by a key, lists what was added, removed and changed, and has the differences reviewed. |
| Draft: write from evidence and review | Drafts a document from the evidence you supply, shows which passages it used, and has a person review the draft before it is recorded. |
| Monitor: notice what changed since last time | Compares what a source reports now with what was seen the last time, lists what is new, gone or changed, has the changes reviewed, and remembers the current list for the next run. |
| Assess: impact and follow-up | Records a change or event, decides its impact, proposes the follow-up actions and has the assessment approved. |
| Track: assign, follow up and verify | Assigns an item to an owner, follows it to completion with an escalation path, and verifies the result before closing it. |
- 01
Open the gallery
Choose Templates in the Automation menu and search for the starter by name, for example Monitor.
- 02
Read the preview
Open the template to see its steps in order and who does each one.
- 03
Choose Use template
Name what the workflow is about, for example the kind of item it tracks, and pick who reviews and approves. Every setting has a default, so you can keep them and change them later.
- 04
Create the workflow
Choose Create workflow. The new workflow opens in the editor, where you can rename steps, change roles and add your own steps before you publish it.
- The starters are plain workflows. Everything in the editor works on them, including the triggers and the decision tables described above.
- Each starter has a review or approval step done by a person. The roles are names: give your people those roles, or change them when you set the template up.
- Draft writes its first version with the Cited Answerer activity of the AI connector, so each run uses AI credits.
- Starters are meant to be joined. Monitor can start Assess, and Assess can start Track, so a change you notice is assessed and then followed to the end. See Chain workflows together.
Chapter 6 of 20
Find workflows by business process
Categories group your workflows. The process catalogue adds a ready-made set of business-process categories you can browse and use.
- 01
Open Categories
Choose Categories in the Automation menu. Every category shows its source: the ones from the process catalogue say APQC PCF with the edition and level, your own categories show a dash.
- 02
Narrow to the catalogue
Switch from All categories to Process catalogue to list only the catalogue categories. Open one to see its description, framework, edition and element number.
- 03
Use a category
Pick a catalogue category when you create or edit a workflow, exactly as you would pick one of your own.
- 04
See which templates fit
Open a catalogue category. Under Templates for this process you see the ready-made workflow templates that fit it, each with one line on why. Choose one to open it in the template gallery.
- The catalogue is the top two levels of the APQC Process Classification Framework, cross-industry edition 8.0: 13 process categories and 74 groups beneath them.
- You can rename a catalogue category, deactivate it or delete it. A rename keeps its place in the framework, and a deleted one is not added back.
- Your own categories are never changed by the catalogue. A category you make under a catalogue category stays yours.
- Workflows with no category keep working as before.
- Which templates are linked to which process is a suggestion, not a rule: the links are chosen from each process’s own description, and you can use any template for any workflow.
Chapter 7 of 20
Life sciences quality templates
The template gallery has a Life Sciences Quality group: eight templates for the processes of a pharmaceutical quality system. Each is one of the ready-made workflows, set up with step names and roles for its process.
| Process (ICH Q10 section) | Template |
|---|---|
| Deviations (3.2.2 CAPA system) | Deviation: assess impact and decide actions. Built on Assess. Covers the process. |
| CAPA (3.2.2 CAPA system) | CAPA: carry out and verify a corrective or preventive action. Built on Track. Covers the process. |
| Change control (3.2.3 Change management system) | Change control: assess and approve a change. Built on Assess. Covers the process. |
| Audits and inspection findings (3.2.2 CAPA system) | Audit finding: respond and verify. Built on Track. Covers the process. |
| Supplier quality (2.7 Outsourced activities and purchased materials) | Supplier qualification: score and review a supplier. Built on Score. Covers the process. |
| Complaints and post-market (3.2.2 CAPA system) | Complaint: classify, prioritise and route. Built on Intake. A starting point that covers part of the process. |
| Quality agreements (2.7 Outsourced activities and purchased materials) | Quality agreement: draft and review. Built on Draft. A starting point that covers part of the process. |
| Process and product quality monitoring (3.2.1 Monitoring system) | Process and product quality: notice changes in measures. Built on Monitor. A starting point that covers part of the process. |
| Management review (3.2.4 Management review) | No template. |
| Inspection readiness | No template. |
- 01
Open the group
In the template gallery, choose Life Sciences Quality.
- 02
Read what it covers
Open a template. The preview shows its process, the ICH Q10 section it maps to, and what it does and does not cover.
- 03
Set it up
Choose Use template. Every name and role has a preset you can keep or change, for example the role that approves an assessment.
- 04
Find it by process
Each template is also listed under Templates for this process on the catalogue category it fits, for example CAPA under Manage remediation efforts.
- A template marked Covers the process handles each step the process needs. One marked Starting point covers part of it, and its preview says which part.
- Management review has no template. Its inputs come from the templates above: open CAPAs, audit findings and monitored measures.
- Inspection readiness has no template. Answering a finding from an inspection uses the audit finding template.
- The quality agreement template writes its draft with the Cited Answerer activity of the AI connector, so each run uses AI credits.
- The roles are names. Give your people those roles, or change them when you set the template up: a step whose role nobody holds waits until someone does.
- A later version of these templates does not change a workflow you already made from one.
Chapter 8 of 20
Arm the trigger
A binding connects a published workflow to a record event, signed request, schedule or manual/API start.
- 01
Choose the trigger
Use a record change, signed HTTPS request, cron/fixed/one-time schedule, portal action, scoped client key or the completion of another workflow (see Chain workflows together).
- 02
Map the input
Complete the values the first step needs and add a filter when only some events should start work.
- 03
Arm the binding
The trigger will not fire until mappings compile successfully. This prevents half-configured work from starting.
Chapter 9 of 20
Chain workflows together
A workflow can start when another workflow in the same workspace completes. The runs are linked, so you can follow the whole chain from any of them.
- 01
Open the later workflow
Open the workflow that should start second, for example Assess, and go to its Triggers tab.
- 02
Choose what it waits for
In Start when another workflow completes, search for the workflow by name or code and select it. The workflow you are editing is not offered, and one you already chose is greyed out.
- 03
Add the hand-off
Choose Add hand-off. It appears in the list of triggers as Starts when Monitor completes, for example.
- 04
Arm it
Like any other trigger, a new hand-off is a draft and starts nothing until you arm it.
- The next workflow starts when a run of the first one completes. A run that fails does not start it.
- Each finished run starts the next workflow once, even if the news that it finished arrives twice.
- The new run begins with the details of the run that finished: which run and workflow it was, when it ended and how.
- Both workflows must be in the same workspace.
- You can add the same workflow after several others, and several workflows after the same one.
- 01
Open any run in the chain
Open a run that was started by another run, or one that started others.
- 02
Read the Run chain card
The card shows Started by with a link to the run that started this one, then every run of the chain in order, with this run marked. Choose a name to open that run.
- 03
Follow it as it grows
The card refreshes when the run changes status, so a run that completes and starts the next one shows it.
- The card appears only for a run that is part of a chain. A run on its own shows nothing.
- A run started by a Run another workflow step is part of the chain too.
- If the run that started this one has been deleted, or you cannot open it, the card says a run you cannot open and explains why instead of linking to it.
Chapter 10 of 20
Connect an external system
Choose an available external system and activity, connect the account it should use, then map inputs from the trigger or earlier steps.
- 01
Choose a system
Use a supplied External System when available. For a custom API, register its base URL, authentication, retry policy and throttling.
- 02
Select an activity
Use a supplied activity. For a custom system, import useful operations from its API description or define the missing operation. Check each imported operation in a manual test run before using it in a live workflow.
- 03
Select the account
Connect and name your account inside the External System, then choose the account connection for each activity. The Integrations guide explains account setup and permission checks.
- 04
Map fields
Use trigger values, earlier output, signals, fixed values, templates or computed values. Review the resolved mapping before arming.
Chapter 11 of 20
Map data through the run
Every action declares the values it needs. Resolve them from known run data, then decide explicitly where useful output should go.
| Source | Use it for |
|---|---|
| Trigger input | Values supplied by the event, schedule, portal action or client call that started the run. |
| Earlier output | A response or calculated value produced by a previous action. |
| Current record | The latest state of the record, read at the point the step runs. |
| Signal | Information delivered after the run started. |
| Fixed or computed value | Constants, templates and expressions owned by the workflow. |
| A record’s file field mapped into a step | What the step receives |
|---|---|
| Stored reference | The reference the record holds for the file. This is the default. |
| The file itself | The file’s name, type and contents. The step is refused, with the reason, if the file is larger than that system accepts. |
| Download link | A link the receiving system fetches itself. You choose how long it works, from 1 minute to 6 hours; the default is 15 minutes. |
- Map useful action output back onto the record when it belongs in the business history.
- Start with catalog defaults, then use workflow input and output overrides for the relevant record type. These overrides leave protected definitions intact.
- Review the resolved mapping rather than reading three layers of configuration separately.
- Mappings compile when the trigger is armed, so the checked mapping is the one the run uses.
Chapter 12 of 20
Handle slow and waiting work
Waiting is a first-class run state. Park the run until the expected answer arrives instead of keeping a worker or connection open.
| Wait type | Resume it with |
|---|---|
| Human decision | A valid outcome submitted from the assigned task. |
| External service | An authenticated callback carrying the result. |
| Business signal | A named signal sent to the waiting run. |
| Scheduled time | The configured deadline or wake-up time. |
| Limit | Value |
|---|---|
| A run that is not waiting | Ended as timed out after 60 minutes by default. |
| An approval waiting on a person | 24 hours by default; at most 30 days (720 hours). |
| A whole run, waits included | At most 30 days from its start. A run older than that is ended as timed out, even while it waits, and its open approvals are closed. |
| An external service’s callback | 1 hour by default unless the activity sets its own; never longer than the run’s own limit. |
- 01
Hand off the work
Start the slow operation and keep the external job reference with the step.
- 02
Park with a deadline
The run stores its state and consumes no worker while it waits. A deadline prevents an indefinite wait.
- 03
Authenticate the answer
The callback uses a token issued for that run; a generic unauthenticated request cannot resume it.
- 04
Continue from recorded output
Store the result on the step, then let the next mapping use it like any other earlier output.
Chapter 13 of 20
Protect connected systems live
Control pressure at the boundary that needs protection. These controls change runtime behavior without editing and republishing the workflow.
| Control | Scope |
|---|---|
| Pause or resume | One connected system or one action. |
| Stop | Prevent new calls at the selected system or action boundary. |
| Call-rate limit | Requests dispatched over time for one action. |
| Concurrency limit | Calls or workflow runs allowed at once. |
| Emergency disable | Every external integration when containment matters more than throughput. |
- Set maximum run duration and payload size as workload guardrails.
- A rate-limited step waits and retries without spending a failure retry attempt.
- Use the live throttling view to confirm what is paused or constrained before changing a workflow.
Chapter 14 of 20
Operate workflow runs
Every run records its inputs, outputs, errors and chosen path. Recovery has specific verbs instead of one generic retry button.
| Action | Use it when |
|---|---|
| Fix the record and run again | The run failed because of the data it was given. Correct the record and start a new run; the failed run stays in the history. |
| Restart a step | The cause of one failed step is fixed. |
| Rewind | The run must return to an earlier step; later work becomes superseded. |
| Replay | The whole run should execute again with the same input and its own record. |
| Signal | A waiting run has received the information it needs. |
| Cancel | The work should stop. |
- Pause or resume a connected system or one action without deploying.
- Override concurrency and call-rate limits when an integration needs protection.
- Notify on failure, completion, timeout, a stalled run or a failure-rate threshold.
- Write every action to tolerate retry; execution is at least once.
Chapter 15 of 20
Report on workflows and business records
Create tables and KPIs from permitted workflow facts, Data records or explicitly related organization populations in Reports.
- 01
Choose the populations
Open Reports and choose New report. For workflow reporting, select runs, steps, activities or human tasks, then all workflows or selected published versions. For schema or record-type reports, first choose an authorized Data instance. For organization reporting, tick the permitted Data and Automation workspaces under Report sources and choose Selected organization workspaces under Report populations.
- 02
Map typed fields
Add a source alias for each organization population and map report fields explicitly. Use the permitted field types and units shown for workflow facts. Declare Data field units from your data contract. Similar field names do not establish a matching key or a currency conversion.
- 03
Combine or relate
Combine workflow populations only when they describe the same kind of fact; runs and steps cannot be combined as one population. Compatible Data populations use agreeing logical records. To relate different kinds of population, choose a root and matching typed keys, declare whether matches are one-to-one, one-to-many or many-to-one, and choose unmatched and multiple-match behavior. A run of a Data record is related to that record through the run's data subject record, never through a matching name. Many-to-many relationships are not supported; use a one-to-many or many-to-one path. When Add relationship stays unavailable, the page says why.
- 04
Define and save the result
Choose Table and its output fields, Chart to group the counted items by workflow, workflow version, status, or the day, week or month they started or completed, or KPI and a permitted aggregation. A chart names each workflow and version; a workflow that is no longer published shows as Unavailable workflow. Select each organization population that contributes to the measure. Give the report a name and choose Save report. Saved reports reopen the current revision; saving an edit creates a new revision.
- 01
Queue a calculation
Choose Preview report, Run report or Refresh KPI when available. Jobs processes the request while Reports shows Preparing, Queued, Running, Retrying and the final outcome. Report calculations have their own progress; follow that status rather than a workflow execution timeline.
- 02
Follow or recover the run
Cancel run requests cancellation of active work. Wait for confirmation, or use Resume status checks to reconnect to progress. Use Retry run request if the request could not be confirmed. Review a failed or unavailable result and current access before starting another calculation. A report that takes too long stops with a message; narrow the report and run it again. By default up to 5 reports can run at once for each person; starting another shows "You have too many reports running. Wait for one to finish or cancel one, then try again." and no run is started. A finished or cancelled run frees its place.
- 03
Prepare and download a file
Downloads become available only for a successful run with an available result and current access. Choose Prepare CSV download, Prepare Excel download or Prepare JSON download. Wait for the file preparation job, then choose the matching Download button. Check export status or use Retry export if preparation fails. You can choose Cancel export while the file is queued or running; the export then shows as cancelled and no file is offered. Only a limited number of exports can be in progress at once; if you reach it, wait for one to finish or cancel one, then try again.
- 04
Set a KPI target
In KPI comparison and target, enter a KPI target and choose whether higher or lower is better. The result then shows the target and whether it was met, not met or cannot be determined.
- 05
Compare with another period
Choose Previous period or Explicit baseline period, the field that places each run in time, the length of the period and the report timezone. The result shows the current and baseline periods, both values, the change and whether the change is favorable. If the baseline period has no value, the result says so and shows no change. If the baseline is zero, the change is shown without a percentage, because a percentage of zero is not defined.
- 06
Open the matching runs
On a table or chart result for a report that allows it, choose Open records on a row, or Open matching records on a single value, to see the workflow runs behind it. A KPI with a comparison offers Open current-period records and Open baseline-period records. A KPI whose value is a ratio, such as a success rate, has no drill-through.
- 07
Copy a report
Choose Duplicate saved report to create a new private report from the saved revision you are viewing. The copy has the same name followed by "copy" and opens for editing. The original is not changed.
- 08
Check how current the data is
Every result states its scope and period and when the run was computed, in your timezone. It also shows when each source was read.
- 01
Share a report
Reports are private to the person who created them. Where your plan includes report sharing, open the Sharing tab, choose one of your saved reports, choose a member of this workspace and choose Can view or Can view and run. Use Remove access to take a share away, and Share the current version when you have saved changes that a recipient should see.
- 02
Open a shared report
People you share with find the report under Shared with me. Someone with Can view and run chooses Run report; someone with Can view is asked to request run access from the owner.
- 03
Save a copy of a shared report
If you can create reports, open a report under Shared with me and choose Save a copy. You get a new report with the same name followed by "copy" that only you can see and edit. The copy is not shared with anyone, and later changes to the original do not reach it.
Chapter 16 of 20
Schedule a workflow report
Run a saved report on a repeating schedule and email a link to the result when each run finishes.
- 01
Start from a saved report
A schedule always runs a report you have already saved. It uses the current revision of the report each time it runs, so later edits to the report are picked up by the next scheduled run.
- 02
Name the schedule and choose when it runs
Give the schedule a name and describe when it repeats, for example every Monday at 09:00 or every day at 06:30. Times use a standard five-part schedule: minute, hour, day of the month, month and day of the week.
- 03
Choose the timezone
Pick the timezone the times are written in, such as Europe/Berlin or America/New_York. A schedule set for 09:00 runs at 09:00 local time in that timezone all year, including after clocks change for daylight saving time.
- 04
Choose who receives the email
Add the people who should be told when a run finishes. Each recipient must be able to view the report. A recipient who cannot is refused when you save the schedule, without saying who.
| Situation | What happens |
|---|---|
| A clock change skips the scheduled time | If a time does not exist on a given day, for example 02:30 on the night clocks go forward, that day is skipped. The next run happens at the next real scheduled time. |
| A clock change repeats an hour | If a time occurs twice on the night clocks go back, the schedule runs once, at the first of the two. |
| Runs were missed during an outage | When scheduling resumes, the report runs once, for the most recent missed time. Earlier missed times are not run one after another. That run is marked as a catch-up in the schedule history, and the email says it covers a missed time. |
| The run finishes | Each recipient who can view the report receives an email with a link to the finished run. Retrying the same scheduled time never sends a second email to the same person. |
| The run fails | Only the report owner is told, with a link to the run so they can see what happened. The schedule stays on and runs again at its next time. |
- 01
Pause and resume
Pause a schedule to stop it running without deleting it. When you resume it, it continues from the next scheduled time after now; times that passed while it was paused are not run. Resuming checks that the report still exists and that every recipient can still view it.
- 02
Edit or delete
You can change the name, the times, the timezone and the recipients. A schedule always stays attached to the report it was created for; to schedule a different report, create a new schedule. Deleting a schedule stops future runs; reports and earlier results are not affected.
- 03
Review the history
Each schedule keeps a history of its runs, newest first: the scheduled time, whether it was a catch-up, whether it finished or failed, and how many recipients were sent the email or skipped. From there you can open the run itself. The next run is shown in the schedule’s own timezone, with your own time as the tooltip.
- 04
Filter the history and see each recipient
Use Show to list only finished runs, failed runs, or runs where some recipients were skipped. Choose Recipients on a run to see each person by name: Sent, or Skipped with a plain reason, for example that they can no longer view the report. Choose Resume and retry on a failed run to turn the schedule back on and run it again at its next time.
| Needs attention because | What to do |
|---|---|
| The owner can no longer run the report | The person who owns the schedule has lost access to the report, to Automation, or to the Data records the report reads. Restore their access and resume the schedule, or delete it. |
| The report was deleted | The schedule has nothing to run. Delete the schedule, or create a new one for another report. |
| The schedule timing is no longer valid | The saved times or timezone can no longer be understood. Edit the schedule with a valid time and timezone; saving the change turns it back on. |
| Nobody is left to send the result to | When a run finishes, nobody on the recipient list could view the report, so nobody was sent the email. Edit the recipients; saving the change turns the schedule back on. |
| Your plan no longer includes scheduled reports | Upgrade the plan, then resume the schedule. |
| The latest run failed | This is a reminder, not a stop: the schedule keeps running at its next time. Open the failed run from the email or the history to see what happened. |
Chapter 17 of 20
Embed Automation in your product
Keep the operational experience inside the product your users already know. Use the ready-made surfaces and event stream instead of rebuilding workflow state from guesses.
- Embed the task inbox and decision panel so people review work without leaving your product.
- Show the run timeline and current-state badge beside the record the work is about.
- Add a follow toggle for progress notifications and a start control where a manual run belongs.
- Use workflow-scoped API keys for programmatic starts, and rotate each consumer independently.
- Subscribe only to the supported runtime events: workflow started/completed/failed; task created/assigned/completed/signed; step completed/failed; and external call completed.
Chapter 18 of 20
Worked example: invoice approval
React to the invoice created in Data, choose exactly one route, make the ERP write duplicate-safe and recover from a transient failure without replaying completed work.
Source event entity.created
Record invoice / payables / v1
Filter status == received
Subject event data record guid
Workflow input invoice_guid <- subject.id| Step | Behavior and route |
|---|---|
| 1 · Read invoice | Read the current Data record by invoice_guid so the decision does not rely on a stale trigger payload. |
| 2 · Choose review path | If total is below 1,000, take the default auto-approval path. Otherwise create a Finance review task. |
| 3 · Finance decision | approved continues to ERP posting; rejected updates Data to rejected and ends. Every allowed outcome has a route. |
| 4 · Create ERP payable | Call the registered ERP action once the invoice is approved. Map only the operation’s declared inputs. |
| 5 · Record completion | Update the Data record to posted with the ERP reference, then complete the run. |
POST /payables
body.reference <- record.invoice_number
body.supplier_code <- record.supplier_code
body.amount <- record.total
body.currency <- record.currency
body.source_guid <- record.guid
Idempotency-Key <- erp-payable:{record.guid}:v1
step.erp_reference <- response.payable_id| Observed run history | Operator response |
|---|---|
| Data trigger accepted; invoice read completed | No action needed. The run is using the published workflow version captured at start. |
| Finance task waiting | An assigned reviewer claims the task and submits approved or rejected. Waiting consumes no worker. |
| ERP action failed with a transient 503 | Fix or wait for the ERP boundary, then Restart the failed ERP step. Completed read and approval work stays recorded. |
| ERP retry reports the same payable | The destination idempotency key made the repeated call safe; store the returned payable id and continue. |
| Data update completed; run completed | Correlate the run id, invoice guid and ERP payable id in support and audit records. |
Chapter 19 of 20
Troubleshoot why a run did not move
Start with the run state and the exact step. The history normally tells you whether the run never started, is deliberately waiting, or failed while doing work.
| Symptom | Check first |
|---|---|
| The trigger never starts a run | Confirm the workflow version is published, the binding is armed and its filter matches the incoming subject. |
| Arming is refused | Complete every required input mapping and fix any mapping that cannot compile. |
| The run stops after a conditional step | No link may have matched. Check link order, malformed conditions and whether a default path exists. |
| A human task appears stuck | Check assignment, claim lease, deadline and whether every allowed outcome has an outgoing link. |
| An external call keeps waiting | Confirm the callback used the token for this run and arrived before the deadline. |
| A call is not being dispatched | Check whether the system or action is paused, stopped, rate-limited or at its concurrency ceiling. |
| A recovery repeats an external side effect | The action needs an idempotency key or another duplicate-safe contract. |
Chapter 20 of 20
Know the current boundaries
Design against what exists today, not a workflow feature that sounds adjacent.
- No parallel branching, fan-out or wait-all joins: one path leaves each step.
- No sub-workflows or nested workflows.
- No built-in scripting step; scripting-shaped work belongs in a connector action or assistant tool.
- No file import/export for workflows; published templates are the reusable unit.
- Run restart, rewind and replay exist; a separate workflow-event replay console does not.
Continue
See how the other product fits
Data and Automation are sold separately and work independently. Use both when a workflow should read or change a versioned business record.