Skip to main content

Managing the states of a pipeline

How to add, edit and reorder (by dragging) the states of a pipeline: name, color, behavior, initial state and required permission.

The states are the steps of the pipeline. You manage them from the pipeline page: open Settings → Shipyard → Work pipelines and then the pipeline. You need the permission to edit pipelines.

Adding or editing a state

  • Press Add state to create a new one.

  • Use the pencil icon on a row to edit an existing one.

The state form has these fields:

Field

What it is for

Name

The state's label, free text (e.g. “Being painted”).

Behavior

The fixed classification (To be started / Started / On hold / Completed / Cancelled) that tells the system how to treat it. It is the part that counts.

Color

The color the state has on the order page.

Sort order

A number that decides the state's position; it is also set by dragging the rows (see below).

Initial state

A Yes / No switch. The state a new job starts in. There is only one per pipeline: setting another as initial removes the previous one.

Required permission

Any or Pipeline verify. Who can move a job to this state.

Save with Create state (new) or Save state (edit): you go back to the pipeline page.

The Behavior counts more than the name

Remember: it is the Behavior that determines what the system does, not the name. A state called “Delivered” with the behavior Completed is treated as a finished job (100% of the progress, billable). So choose the behavior carefully. The meaning of the five behaviors is explained in What work pipelines are.

Reordering the states (dragging)

The pipeline is a sequence of states (a “long pipe”) and you decide the order. In the pipeline page the states are a list: drag a row (from anywhere except the buttons) up or down to change its position. The order is saved automatically.

The order is only the way you read the flow: it imposes no constraints. From any state the job can be moved to any other, always (the only exception is a state protected by a Required permission).

The “Required permission”

The Required permission field limits who can move a job to that state:

  • Any: whoever can edit the order can move the job to this state. This is the normal setting.

  • Pipeline verify: only someone whose role has the permission Verify/approve a supervised work state can move a job to this state from the Move to menu of the order page and from the Yard app: the others don't see the state in that menu. Permissions are given to roles in Settings → Users and access → Users and roles → Roles.

It is the mechanism by which, for example, you reserve the “Completed” state for the yard foremen only. See The approval flow for practical use.

Deleting a state

On the state's row, the trash can icon asks “Delete this state?”. If the state cannot be deleted you see “This state cannot be deleted.”: first move the jobs that use it.


Did this answer your question?