Outcomes, tags and documents

Name the ways a job can finish, label jobs with tags, and turn a job into a printable document.

Three small settings make a service much easier to report on and work with. Outcomes record how a job finished, not just that it did. Tags let steps label jobs so they're easy to filter. Documents turn a job's data into a Word or PDF file, such as a purchase order, so nobody has to copy values by hand.

You'll find all three in the service's settings: open the service, click the gear icon next to its name, and pick the section from the menu.

Note: You need to be an owner of the service, or an App Admin, to change these settings.

Step 1: Review the outcomes

  1. Click Outcomes.

  2. The table lists every outcome the service can end with: its Code, its Label, its Result (Done, Failed or Cancelled) and whether it's on. System outcomes, such as completed, cancelled and rejected_no_route, are always on.

  3. Click Add custom outcome to add one of your own, for example Purchased or Out of budget. You choose whether it ends a job as Done or Failed; that choice can't be changed afterwards, so pick carefully.

Outcomes section with the system outcomes and the Add custom outcome button

Custom outcomes appear in the Builder when you set up an End Flow step, and in the outcome filter on the service and in Reports. Switch one off to hide it from pickers and filters without losing the jobs that used it.

Example of outcomes for a Purchase Request

OutcomeResultWhen
PurchasedDoneThe order was placed.
Not approvedFailedFinance rejected the request.
Out of budgetFailedThe request was valid but the quarter's budget is spent.
CancelledCancelledThe requester withdrew it.

Step 2: Create tags

  1. Click Tags.

  2. Under Service tags, click Add tag and give the tag a name and a colour, for example Urgent or Needs quote.

Tags section with the Add tag button

Tags are applied by steps: in the Builder, open a Custom Step or an Approval and set the tags it adds or removes under Applied on entry. An active job carries the tags of every step it has passed, so you can filter for, say, every purchase still tagged Needs quote. You can also change a job's tags by hand with Edit tags in the step action menu (see Job actions).

Step 3: Add a print template

  1. Click Documents.

  2. Click Upload template and choose a Word (.docx) file.

  3. Open Available template variables to see every placeholder you can use, and copy the ones you need into your file, for example ${item} or ${amount}.

Documents section with Upload template and the list of available template variables

Click Save. When someone prints a job with Print / Export, each placeholder is replaced with that job's data. A template can also be printed as a PDF, optionally stamped with a QR code that links back to the job.

Note: Field keys are shown in the Builder under Data & fields. A field with the key needed_by becomes ${needed_by} in a template. See Collect the right information.

That's all three set up ✅