Execute and test
Optionally, run and test the approved model itself, so that what was specified is what runs and the tests come from the model.
- The approved processes and case plans run as modelled, with no hand-written program to drift from them.
- Tests are generated from the model, so nobody writes a test, a stub or a data set.
- Every answer is checked against its contract, and the party at fault is named.


Only what was approved runs
From sign-off to a running process
Approved
Each environment runs one model’s approved version, i.e. only what a project team signed off.
Checked as a candidate
A new version is first a candidate. Anything which cannot run is refused before anything starts, and never half-way through.
Promoted
Each environment promotes new versions automatically, by hand, or not at all, and a promotion can be rolled back.
Running
A new version needs no build and no redeployment, and work already running finishes on the version it started on.
Who does the work
People and the systems you already have
Where a process needs a person, that person answers a task in the task portal, on a form generated from the model. The assessor shown here sees the request as fields and answers on a form built from the contract’s response, so nobody designs a form or writes task routing.
Where a case plan leaves the work to judgment, e.g. whether to score a loan applicant or underwrite by hand, the people of the deciding domain choose in the portal, with the case file as it stands beside the choices.
Where a process needs one of your existing systems, it calls it. For each service, configuration says who answers it, and changing who answers changes no process.
In the manual: who answers each contract In the manual: planning a case plan


Held to the contract
Checked on the way in, and on the way out
Every request checked
What a request must be in itself, e.g. an amount which is positive or a period which ends after it starts, is stated once on the request, and not in every process which handles it. Every service refuses a request which breaks it before anything starts, and says what is wrong field by field. The task portal furthermore shows the same problem at the field before the form is sent.
Every answer checked
Every answer, whether a person’s, a system’s or a process’s, is checked against the service’s contract, and a broken one names the party at fault. A refusal undoes what was already done, and work which takes too long is chased, escalated or withdrawn.
Time limits, whoever does the work
A contract may promise that its service is rendered in time, e.g. that a claim is assessed within three days. The promise holds whether a person, a system or another process provides the service, since the requester keeps the time. When the limit expires the requester is answered at once, a person’s task is withdrawn, and an answer which still arrives is undone. A system doing the work is told, with a cancellation message the contract names, e.g. “assessment withdrawn” for the claim’s number. It stops, or its late answer is undone. A deployment may set another limit where the model allows it, e.g. minutes for a demonstration.
Monitoring
Watch every execution in the picture it was designed in
The console shows what each environment ran, counted per service by how it ended, e.g. 2 running or 8 raised an exception. Opening an execution draws it on its own process diagram, as the model was at the version it runs, with each step marked done, current, waiting or failed and the steps not reached faded. A business analyst thus reads a running claim in the same picture they modelled it in, as the screen at the top of this page shows.
Beneath the diagram, the timeline lists each request, timer and message, when it happened, how it ended and who answered it. An operator can cancel an execution, which undoes what it already did. The Contracts honoured tab furthermore counts, per contract and provider, every answer which broke its contract, each recent one naming the party at fault.


Testing
Tests nobody writes
A test run exercises every process against cases generated wholly from the model. The contracts themselves decide what counts as correct. Hence, nobody writes a test, a stub or a data set, and nobody states the expected result by hand.
- Every case found for you. For each service it finds a case where every pre-condition holds, a case where each one fails, a case breaking each rule of what a request must be, and a case down every branch of the process and every way a service it uses can refuse.
- Each process alone, then all together. Each process is tested first on its own, with the services it uses answering as their contracts say they would, and then all of them together.
- Coverage you can show an auditor. The report measures coverage per service, i.e. every refusal and every branch, and condition by condition where a regulation demands it. It also says what was not covered and why.
- Signed evidence for sign-off. Signed by the environment that produced it, the report is what a project’s testing phase is signed off on.
For architects
- Processes run on Temporal’s durable workflows; environments and candidates.
- External systems over HTTP, Kafka and AMQP; people through the task portal and human tasks.
- Compensations and monitored activities.
- Test runs on Temporal’s time-skipping test server, so a month’s deadline passes in a moment; MC/DC coverage where a regime requires it; the report is submitted to the modelling server.
- Operators use the console; executions are recorded for auditors and streamed as events to monitoring and SIEM tools.