Skip to main content

The approval flow

How the “Standard workflow with approval” works: the “To verify” state, the yard foreman's check and how to reserve closing to those who have the permission.

The Standard workflow with approval is one of the two ready-made pipelines. It is identical to the standard flow, but adds a check step before closing: the To verify state.

The idea

  • The operator works and, when finished, moves the job to To verify.

  • A yard foreman checks and, if everything is fine, moves it to Completed.

The operator alone cannot complete: in the Move to menu they don't even see Completed. They can move freely among the other states, but at most they get to To verify.

The states of the flow

State

Behavior

Who can move a job there

To do

To be started

Anyone

In progress

Started

Anyone

On hold

On hold

Anyone

To verify

Started

Anyone (usually the operator)

Completed

Completed

Only those with the permission Verify/approve a supervised work state (yard foreman)

Cancelled

Cancelled

Anyone

There is no mandatory path: as in any pipeline, the job can move from one state to another freely. The only difference from the standard flow is that Completed is reserved: only those with the permission can move the job there. So the operator leaves it in To verify and the yard foreman closes it.

The To verify state has the behavior Started: the operator's work is in effect finished but the sign-off is missing, so it counts 50% of the progress (it is neither zero nor already complete).

How this behavior is obtained

The mechanism is simple (see Managing the states of a pipeline): the Completed state of this pipeline has Required permission set to Pipeline verify, so it appears only to users who have that permission. Nothing else is needed: no path constraints, only the permission on the closing state.

You can replicate the same scheme on a pipeline of your own: just set, on the state you want to protect, the Required permission to Pipeline verify.

Who the “yard foreman” is

Whoever can complete is whoever has, in their role, the permission Verify/approve a supervised work state (in the state's form it is the Pipeline verify option). Usually it is the roles that can also delete orders. Permissions are given to roles in Settings → Users and access → Users and roles → Roles: see How to create a role and a user.

Where delivered jobs show up

The jobs the operator delivers are collected in Workload → Jobs to verify, where those with the permission approve them or send them back with a note; the same check is done from the Yard app (see What reaches the office from the Yard app, § 6, and For yard foremen and whoever sees the whole yard, § 6).

If you build a flow of your own

The delivery state is the last state with Behavior “Started” before the reserved Completed state: that is where the Yard app leaves the operator's work and where the queue starts. If your pipeline has no “Started” state before the reserved one, the flow with verification does not work.

When to use it

Assign the Standard workflow with approval to the articles whose jobs need a check before being considered finished (delicate jobs, tests, handovers to the customer). For everything else the standard flow is fine. How to assign a pipeline to an article is explained in Creating and managing pipelines.

Did this answer your question?