Skip to content
ProcessIQ

Designing workflows

How to validate and simulate a workflow before you publish

Use Validate to find blocking problems and Simulate to walk sample data through the route without sending anything.

Last updated

Both tools are on the designer toolbar and are open to anyone who can design workflows. If you have unsaved changes, they are saved to the draft first. Nothing you do here affects live requests.

Validate the draft

  1. Select Validate.
  2. Open the Issues tab. Errors are listed before warnings, and a count appears on the tab.
  3. Select an issue to jump to the step or connection it concerns. Steps with errors also show a marker on the canvas.
  4. Fix the problem and validate again. No blocking issues found means the draft can be published.

Errors block publishing. Warnings do not. The server checks the saved draft again when you publish.

Message (shortened)Usual fix
Must have exactly one start nodeKeep one Start step and no more.
Has no incoming or outgoing connectionConnect the step into the flow.
Can only have one outgoing connectionUse a condition or parallel split to branch.
Needs a default branchMark one condition connection as the default.
Needs at least one approverAdd an approver in the step's properties.
Needs a fallback approverAdd a fallback when routing is by role, manager or form field.
Needs exactly one 'approved' connectionSet one outgoing connection to Approved.
Unknown form fieldUse the field's key from the Form tab.
Role does not exist in this organisationCorrect the role name, or check it exists in Users & roles.

Warnings include an approval with no Rejected connection, and unequal numbers of parallel splits and joins.

Simulate a request

  1. Select Simulate.
  2. For each approval step, choose the decision to test: Approved, Rejected or Returned. The default is Approved.
  3. Fill in the sample form. Required fields and rules apply as they would for a real request.
  4. Select Run simulation.
  5. Read the Outcome badge (completed, rejected, returned or stalled) and the numbered list of steps taken.

What a simulation does not do

  • It stores nothing and notifies nobody.
  • API calls are assumed to succeed, and no call is made.
  • Timers are listed, not waited for.
  • Real people, approval limits and deadlines are not exercised, and requester. details are empty.

Run it once per route: change the answers to reach each branch and each decision. When all routes behave, move on to publish and versions. If publishing still fails, see why won't my workflow publish. The simulation and validation module has the overview.

Try ProcessIQ yourself

Start a free trial or open the shared demo organisation with a test account for every role.