TasBAP

Branch on an amount or a number

Use a Condition step to send large amounts, or any number over a threshold, down a different path, for example to an extra approval.

Where: Workspace → Workflows → open a workflow. The fields you can test come from the form that starts the workflow.

How the request moves

  1. Start

    Request submitted

  2. Condition

    Amount over 5,000?

    false → skips the next step

  3. Approval

    Finance approval

    Only when the condition is true

  4. End

    Approved

The Condition step’s rule editor with one rule: the Amount field is greater than 5000.00 USD, compared as 500000 minor units.
A Condition step that tests whether the amount is over 5,000.

What the numbers show

  1. 1. The field the rule tests, here a currency field.
  2. 2. The comparison, here “is greater than”.
  3. 3. The amount, and the editor’s note that it is compared in minor units.

Steps

  1. In “Add step”, choose “Condition” and click “Add”.
  2. Connect the step before it to the Condition step.
  3. Draw two connections out of the Condition step. The first one you draw gets the branch “true” and the second “false”; you can change either by selecting it and editing “Branch”.
  4. With the Condition step selected, click “Add rule” under “Rules” and pick a field. Currency fields are listed with their currency, for example “Amount (USD)”.
  5. Choose an operator, for example “is greater than” or “is at least”, and type the value. Amounts are typed as you would write them, for example 5000.00.
  6. Add more rules or groups if needed and choose “All of these match (AND)” or “Any of these matches (OR)”.
  7. Check that Validation shows no errors, then publish.

Good to know

  • A Condition step needs exactly one “true” and one “false” connection.
  • Amounts are compared exactly in minor units: 5000.00 USD is stored and compared as 500000 cents. The editor confirms this under the value.
  • Number and rating answers are compared as numbers. An empty or invalid answer never matches.
  • A Condition with no rules is always true.
  • To test data that is not a form field, choose “Other data (path)…” and type the path.

← All guides

Branch on an amount or a number · Help Center · TasBAP