Skip to content
ProcessIQ

Design

Validation and simulation: Find problems before a real request does

The validator lists every blocking problem in plain words, and the simulator walks sample data through your design without sending anything.

What validation and simulation means in ProcessIQ

The validator checks a workflow against a list of rules and reports each problem in plain words, with the step or connection it concerns. Errors block publishing. Warnings are advice. Typical errors are a missing start or end step, a step nobody can reach, a condition without a default branch, an approval without approvers or an approved connection, and an expression that refers to a field that does not exist.

It also checks the form: unique field keys, valid types, options on choice fields, and expressions in visibility and calculation rules. API-call steps are checked for a relative path, sensible timeouts and attempts, and a success connection. Dynamic routing, such as the requester's manager, must have a fallback so a step cannot get stuck.

The simulator is a dry run. You enter sample answers, choose how each approval should be decided, and ProcessIQ walks them through the route using the same routing code as the real engine. It lists each step it passed through and the final outcome. Nothing is stored, no notification is sent and no external system is called.

Both run on the server against your saved draft, so what you see is what the publish check will see. The designer saves your changes first when you press Validate or Simulate, and clicking an issue jumps to the step it concerns.

Capabilities

What you can do

  • Plain-language issues

    Each issue says what is wrong and where, for example that an approval has no rejected connection. Issues are grouped as errors and warnings, and a click selects the step.

  • Errors block, warnings advise

    A workflow with errors cannot be published. Warnings, such as unbalanced forks and joins or an approval with no rejected route, are shown but do not stop you.

  • Form and expression checks

    Duplicate keys, missing options, bad expressions and references to unknown fields are found before any requester sees the form. Each message names the field concerned, so the fix is quick.

  • Dry run with your own data

    Fill in the real form on the Simulate screen. Answers are validated like a real submission, so a required field left empty is reported rather than ignored.

  • Choose each decision

    Decide per approval whether to simulate approved, rejected or returned, and watch the request take the matching connection or end. This lets you test the unhappy paths as easily as the happy one.

  • Same routing as production

    The simulator and the live engine share the code that chooses condition branches and approval outcomes, so they cannot disagree about the route. Expressions are evaluated the same way too.

How it works

From first step to done

  1. 1

    Build the draft

    Add steps, connections and form fields in the designer.

  2. 2

    Press Validate

    The draft is saved, checked on the server and the Issues tab lists errors and warnings.

  3. 3

    Fix what it finds

    Click an issue to jump to the step or connection and correct it. Validate again until no errors remain.

  4. 4

    Open Simulate

    Enter sample answers for the form, and choose an outcome for each approval step.

  5. 5

    Read the path

    The simulator lists every step in order, which branch each condition took and the final outcome.

  6. 6

    Repeat for other branches

    Change the answers and decisions to cover each route, then publish with confidence.

Who does what

People and access

  • Workflow Designer: validates and simulates drafts.
  • Workflow Administrator: validates and simulates, and publishes once the checks pass.
  • Organisation Owner: validates, simulates and publishes.
  • Anyone else with read access: opens a workflow in read-only mode and cannot run validation or simulation.

Honest about the edges

What validation and simulation does not do yet

  • A simulation does not look up real people. It cannot tell you that nobody holds a role. At run time a step with no eligible approver fails the request, and an administrator can retry it after fixing the data.
  • API calls are assumed to succeed in a simulation, and values mapped from API responses are empty, so conditions on vars.* need testing with a real request.
  • Timers and deadlines are listed in the path but not waited for or measured.
  • Validation checks structure and consistency. It cannot judge whether a process is a good one.

Validation and simulation: questions people ask

Does a simulation send emails or change data?

No. It is a dry run that never writes to storage, sends notifications or calls external systems.

Do I have to fix warnings?

No. Only errors block publishing. Warnings are worth reading but you can publish with them.

Is the check repeated when I publish?

Yes. The server validates the saved draft again at publish time, so a workflow with errors cannot go live.

Can I simulate a rejection?

Yes. Choose rejected or returned for any approval and the simulator follows that outcome, or ends as rejected or returned if no connection exists.

How big can a simulation get?

A simulation stops after 500 steps, which guards against designs that loop.

See validation and simulation working

Open the shared demo organisation as any role, or start a free trial of your own.