A decision changes your operation, and a person answers for it.
We carry a decision taken on data back into the systems that run your operation, as a controlled write. Such a write can go wrong in ways a report cannot, so a person answers for it and a record says why.
An action closes the chain that begins in your systems, and the next load reads its change back.
A wrong report can be reissued, and a wrong action has already happened.
A report reads the state of an operation, and an action changes it. A report's errors stay in what people believe until someone acts on them. An action's errors sit in the state that others read next, and only a further action can alter them. We built actions around that difference.
However it starts, a change takes one path.
A change to your business passes through one declared form, whoever started it, and that form says who may run it and when it needs approval. By design, nothing else in the platform changes the state of your business, so each change made here carries the name of the person who answers for it.
- A personFrom a row in an app, or over a chosen set in bulk, where each item ends on its own.
- A ruleOn a schedule, or on a condition it watches. It keeps a history, and it can pause or expire.
- An agentWith the permissions of its person and no more. Its reach ends at a proposal that a person must confirm.
The tools you already own each solve a part. Reporting tools with write-back store a correction beside the source, so the two disagree. Workflow automation usually runs under a service account, so the name on the change is a program's. Integration software confirms delivery, and leaves open whether the effect you wanted took place.
A person answers for it, case by case or by rule.
Your rules of authority already say who may approve what, and they set the line. Above it, a named person approves each case. Below it, a person approves a rule once and answers for what the rule does, and the rule keeps an owner who can change it.
Approvals follow a matrix by amount or risk, over one or several levels. A proposal from someone without the right goes to someone who holds it, so delegation cannot raise authority.
A named person approves the case, with the basis, the agent's trace, and the objects' history in front of them, and can adjust or discard the request.
The case runs under a rule a person approved once, along the same path. That person answers for what the rule does.
We check permission inside each action. A request that fails ends here, before anything is written.
The request ends with no write, and its reason joins the record.
The re-read finds that the case has moved. The action stops with the conflict visible, and the proposer proposes again.
The system that owns the data can refuse the write. The action ends, and we show the refusal, with no retry.
Before any retry, we look for the action's identity in the target, adopt a write we find, and otherwise retry under that identity. Where the target shows neither, we report the outcome as open.
Before anything is written, we check the facts again.
An approval can arrive long after the facts it rested on, and your system's locks are not ours to hold across the wait. So before writing, an action re-reads the state its decision rested on, and stops if that state has changed.
The field calls this optimistic concurrency. Here the restart returns to a person, since the approval no longer describes the case.
A change is done when your own system shows it.
After the write, we read back what the target holds, since a reply may mean only that the request was accepted. An action completes only after a later read shows the change, and on what your source models, your source prevails.
Each operation draws the line in its own place.
A plant releases a batch held by quality, an insurer routes a claim above a handler's authority, and a logistics desk moves stock between warehouses.
What varies is where the line falls and how far an effect can be reversed. A transfer can be answered by another transfer, while a shipped batch is closer to a real action, which nothing undoes.
You can also give an action a target metric, and we measure it against a control group.
We say where our control ends.
- Separation of duty is a matter of your company's rules. Nothing in our design stops the person who proposes from also approving, and one person can hold several roles. The classic fictitious-order fraud is prevented only where the company assigns the steps to different people.
- We don't promise exactly-once delivery. A retry is safe only if the receiving system honors the action's identity or shows the write on a later read.
- The re-read narrows the window and leaves it open. The target can still change after it, unless it offers a conditional write.
- A change made directly in the system that owns the data is outside this control, and we see it on the next load.
- The record keeps what was in front of the person who chose, and it cannot show that the choice was right.
The exact terms, for whoever will test this.The parts of an action, the classical frame it rests on, and each failure in the field's own words.OpenClose
A model of the action.
The action sits between the apps and the systems that run your operation. A type, a call, and a permission decision enter it. Edited objects, external effects, a record, and new events leave it.
- Action type.
- The declared form of a change, with its parameters and rules, who may run it, when it needs approval, its effects, and its record. Types are versioned, and each new version is reviewed.
- Action.
- One instance of a type at one version, with its values, its origin, its principal, and an identity that survives each retry.
- Decision basis.
- The objects the decision rested on, each at the version read, with the definition and policy then in force.
- Authority.
- The person who answers, who is a named approver of the case or the person who approved the rule that covers it. The boundary is the line, set by the company's rules of authority.
- Effect.
- An edit to an object, a write to the system that owns the data, or a notice. A field that system owns is edited in the model only after the write is confirmed.
Transaction theory asks a write for atomicity, consistency, isolation, and durability. We hold that a write against an operation needs a further property, answerability. So we record who holds authority for the change, on what basis, and for what reason.
Three conditions make the write hard.
A human wait separates read from write, beyond what database isolation can span.
The target belongs to another system, with its own rules and no shared commit.
A company's decisions are the heart of its administration, yet the systems that keep its transactions seldom keep the decision behind them.
The classical frame.
The classical model of commercial integrity rests on two mechanisms, the well-formed transaction and separation of duty. Users change data only in constrained ways, and dividing a task among people keeps data true to a world no computer observes. We built on that model, and each of its terms has its place in the platform.
- Constrained and unconstrained data items
- Objects, and form entries or proposals until validated.
- Well-formed transaction
- An action type, the one path for writing.
- Permitted user, procedure, and data
- A permission decision inside each action.
- Integrity verification procedure
- The read-back, and the comparison on the next load.
- Append-only log
- The event record and the decision record.
- Separation of duty
- Expressible in approval rules, and left to the company.
The write, in the field's terms.
Transaction theory draws the boundary. A committed effect can be altered only by further transactions, and a real action, such as dispensing cash, cannot be undone.
Holding resources across a human wait is the long-lived transaction problem that motivated sagas. We borrow optimistic concurrency control, which reads, validates, writes only if validation succeeds, and on failure starts again as a new transaction.
The acknowledgement that counts is one the far end alone can give, so we read back what the target holds before we apply the edit and complete the action. On the next load, we recognize the change as our own. A reviewed change to the model of your business follows this same path.
Failure and adversity.
No answer after sending. Only the end that knows its duplicates can suppress them, and idempotence makes the repeat safe. So the action's identity survives each retry.
One of several effects fails. Compensation in reverse order, as in a saga. It is a further write, and it cannot restore a real action.
A signature becomes a reflex. The research on automation calls overreliance misuse, and ties it to failures of monitoring and decision bias. So the basis and the trace stay in front of the approver.
Every ending is kept, with its reason, for your next decision.
Approved, refused, stopped, or open, each action joins the decision history with who held authority, on what basis, and for what reason. An auditor reads it there, and so does whoever takes the next decision.
Bring us one decision you take every day, and we'll show you how it would run as an action.
Request a demo