ValystrumHelp
Sign in

Build an approval workflow

Plans
Every plan
Where
Approval Workflows, My Approvals
Updated
Checked on
v0.41.2

An approval workflow waits for a named person before it acts: when the event happens it asks them, and only an approval sets the action off.

Build one

  1. Open Approval Workflows and select Build a workflow.
  2. Fill in the row:

    • Name (required).
    • When: the event, such as "when a finding is created" or "when a risk is accepted".
    • Only if (optional): a condition on the event, for example payload.severity == 'critical'. Join conditions with && and ||.
    • Ask: the person who decides, or ask nobody, act at once. Only members who may change records are offered.
    • With a person chosen: Timeout hours (a whole number from 1 to 8760), Escalates to (another person, or then is rejected) and Prompt, the question they are asked.
    • Then: create a remediation item, open a ticket, post to Slack or send an email, with its detail (a title, a message or an address).
    • switch on now: leave it unticked to build the workflow switched off.
  3. Select Build. The page says "Built, switched off: switch it on when it is ready." (or "Built: it starts on the next matching event.").

The list shows the workflow as one sentence, for example "when a finding is created, only if title is ... → ask Admin within 1h, rejected if nobody answers; if approved: create a remediation item".

What the form checks

  • Build stays unavailable without a name, with an email action whose address has no @, and with a timeout outside 1 to 8760; the form says "The timeout is a whole number of hours from 1 to 8760."
  • A condition the platform cannot read is refused with its reason, for example "The filter ... cannot be read (Unexpected character: = at index 19): as written it never matches. Join conditions with && and ||".

The workflow's page

Open the workflow from the list. Its page shows State, Waiting, Runs · 30d, Failed · 30d, Trigger to done and On record, then What it does, Would it work (whether every person and integration it names is still there) and The graph.

  • Edit the graph shows every step with its settings: the trigger, each gate (who is asked, what happens if nobody answers, where approval and rejection lead) and each action. Add an action or a gate after any step, remove a step, then select Save the graph.
  • Rename or describe changes the name and description.
  • Switch on / Switch off starts or stops it.
  • Test mode runs it without effect (see Test a workflow before it acts).
  • Delete asks Yes, delete with its 2 runs (the number is its own), or Keep. Its runs and their decisions go with it.

Who can do this

Building, changing and deleting workflows takes an organisation admin.