metacore Start a pilot

Product · Engine

A change waits for the people who must approve it.

The gate compares each run with what is live, then passes it, rejects it or holds it for approval. Gate rules are your code, and they judge the difference. An approval is the decision of a person who holds the role for that layer.

Held run

State
Held for approval
Submitted by
An AI agent, acting for a person
Changes
1,240 records, in one layer
Held because
An AI agent submitted it
Expires
In 3 days

A held run

Whoever may decide a layer reads its held runs: who submitted each, how many changes it makes, what holds it and when it expires. An approval publishes the difference as shown.

Gate

What holds a run, and who releases it.

The gate takes the difference between a run and what is live. Your gate rules judge it, layer by layer, and the engine adds holds of its own.

A gate rule answersWhat follows
PassThe run goes on to the next rule, then to publish.
RejectThe run is rejected, and no later rule is called. It tells the rule and its reason.
HoldWith no reject, one hold holds the run for approval.
No answerThe engine calls the rule again. If no answer comes, the run fails, and publishes nothing.
What it seesThe difference of its own layer: each field before the run and after it. Nothing of another layer.

The verdict of a gate rule

Gate rules are your code. A reject and a hold carry a reason, written for people.

A run is held byHow
A gate ruleYour code answers hold, and says why.
A second personA layer can require one. Whoever submitted the change never approves it, an owner included.
An AI agentIts run is held on every layer it changes, also where no rule holds it.
A workflowPeople decide at one stage, and your code acts at the next.
TimeA held run that nobody decides in time is canceled, never published.

What holds a run

A held run tells each layer that holds it, and why.

Decision

Read the difference. Then decide.

Whoever may decide a layer reads its held runs with their difference: each field before the run and after it. An approval publishes the difference as shown.

The page of a held run

The gate says what holds the run, and until when. The decision covers the whole run, and its reason goes to the audit trail.

Workflows

When several people must agree.

A workflow is a sequence of stages: your code acts at one, people decide at another. A stage that waits for people names the roles that decide it.

Several approvers

A stage can wait for several roles at once, each with the number of people who must decide. It moves on only when all of them agree.

A stageRule
RolesIt names the roles that decide it, and how many people of each. They decide in parallel, in any order.
AgreementIt moves on once every decision it needs gives the agreed outcome.
VetoAny other outcome ends the wait at once: one person can stop the stage.
Second personA stage can require one. Whoever started the workflow never decides it, an owner included.
TimeoutA wait that expires gives the outcome the stage names for it, or cancels the workflow.

A stage that waits for people

A decision is final. It stays counted when its person later loses the role.

What waits

Nothing waits unseen.

Each person reads what waits for them in every environment of your org: held runs and stages of workflows, with the first to expire.

In the back officeWhat you read
Your homeWhat waits for you in each environment: the held runs and the stages that your roles decide.
An environmentFor each of its domains, what waits for you and what waits for anyone, with the first to expire.
A domainIts held runs, the first to expire first: who submitted each, how many changes and what holds it. An owner reads every domain.
One readEach cell tells the region what starts and stops waiting, so one read gives every count.

Where a decision waits

When its time ends, a held run is canceled, and a stage gives the outcome of its timeout or cancels its workflow.

A decisionRule
A personOnly a person approves a held run or decides a stage. An app acting for itself never does, and neither does an AI agent.
A roleA role that decides each layer that holds the run, in a grant that covers the level of each change.
Whole, onceA person decides a held run whole, once: approve or reject, with a reason if they give one.
What publishesAn approved run builds again as it publishes. If its difference changed, it passes the gate again.
Restricted fieldsThey show in the difference only to those who may read them. Everyone else sees the name alone.

Who decides, and what publishes

So what a person approves is exactly what publishes.

See also

Build your domain.

Declare its schema, and take it to production, self-hosted or in a managed region.

Briefing