Skip to content
CAQAFormLogicDemo and enquiry

Workflow · Illustrative example, synthetic data

One grant form, from rules to reviewed gaps

An invented community grant form asks who is applying, sometimes how old they are, and where they are based. Follow the same form through four stages.

Stage 1

Model rules

The author records three fields and the conditions that read them.

Conditions in the sample form
ConditionWhenThen
C-01Q1 is IndividualAsk Q2 age group
C-02Q1 is OrganisationShow organisation details, skip Q2
C-03Q2 is Under 18Show guardian consent
C-04Q3 is In AustraliaShow licence upload
C-05Q3 is OverseasShow passport upload
C-06Q1 is Organisation and Q2 is Under 18Show B-07, director’s guardian declaration

On a narrow screen, scroll the table sideways.

Stage 2

Generate paths

Reachable combinations get a test input. A condition that cannot be true goes to the unreachable report instead.

Stage 3

Run cases

Each case compares the pages shown with the expected path.

J3 passed

  1. Applicant type
  2. Age
  3. Guardian consent
  4. Location
  5. Licence upload
  6. Declaration

Every expected page appeared, in order.

J4 failed

  1. Applicant type
  2. Age
  3. Guardian consent
  4. Location
  5. Passport upload expected, never shown
  6. Declaration

The guardian consent page’s “next” jumps to the declaration. The overseas rule never gets a turn.

Stage 4

Review gaps

The reviewer reads two reports, not one score.

Failed reachable paths: J4

The reviewer returns the release: fix the next step after guardian consent, then run J4 and J3 again, because both pass through that page.

Blocked: marking J4 unreachable to clear it. J4 has a valid test input, so applicants can reach it.

Unreachable branches: B-07

The reviewer asks the form owner whether organisations should be asked an age question at all. Until that is answered, B-07 stays listed.

Blocked: counting B-07 as a pass. Nothing ran, so there is nothing to pass.