Skip to main content

Check

Checks that the work item is complete and right before anything is done with it.

Where it goes: there must be one before every Create in MCS step. You can add more anywhere else.

How it works​

The step holds a list of checks. Select Add a check for each one. A check has:

SettingWhat it is
CheckWhich kind of check
Fields checkedThe fields it works on
If it failsAsk the sender. Hand to a person (default). Stop. Warn only
Security checkTicked for a check that must always reach a person (below)

Warn only carries on but records a warning on the work item. The A person approves step can be set to stop whenever a check warns.

The checks​

CheckWhat it testsFields checked
Required values are presentEvery ticked field has a valueThe fields that must have a value
Lines add upThe lines of a list add up to a totalThe list, the amount in each line, and the total
Sum equalsSome fields add up to anotherThe fields to add, then the total last
Unchanged since last seenThe value matches the one accepted for this contact. The first value ever seen becomes the accepted oneThe field to watch, such as bank details
Not a duplicateNo other work item on this workflow in the last 90 days has the same valuesThe fields that identify it, such as the supplier and invoice number
Date is in rangeThe date is a real dateA date field
Well formedAn email address or phone number looks real; any other field is not emptyThe fields to check

Totals must match exactly. Work items that were rejected, stopped or returned to the sender never count for "Not a duplicate", so a corrected resend is not stopped as a duplicate.

:::note Coming later The editor also lists VAT rate is right, References are covered, Matches MCS, Lines match MCS and Within a limit. These are not working yet: a Check step that uses one goes to a person as "this step is not available yet". Setting a tolerance, a limit or a date range on a check is also coming later. :::

Security checks​

A security check:

  • always hands to a person when it fails, whatever "If it fails" says;
  • cannot be removed or made a warning;
  • makes A person approves wait for a person, however trusted the sender is.

Choosing Unchanged since last seen ticks Security check automatically. Any workflow that uses a field with the Bank account role must have one on it: this is what stops changed bank details going through unnoticed. The contact then shows the new value as "Changed, waiting for someone to accept it" (see contacts and trust).

What can happen​

When several checks fail, the strongest outcome wins:

What happenedWhat happens next
A check set to Stop failedStops, for example as a duplicate
A security check, or one set to Hand to a person, failedGoes to a person: "a check did not pass"
A check set to Ask the sender failedGoes to Ask the sender, which asks about every such check in one email
Only warningsCarries on, with the warnings recorded
All passedCarries on

What you see on the work item​

A tick or a cross for each check, in plain words.

Use it for​

  • Supplier invoices: required values present, lines add up to the net, net plus VAT equals the total, bank details unchanged, not a duplicate of supplier and invoice number.
  • Requests from customers: the details you need are present, and the phone number looks real.