Workflows and operation statuses
How a branch's workflows set a job's operation status and hide sections.
A workflow is a branch’s own description of how its jobs, or its vendor invoices, behave: it tracks a job’s progress in the branch’s own words, keeps the job screen to what the branch uses, and adds checks around invoice approvals. Workflows are optional and set up by an administrator under PCM Settings → Workflows, per branch. Without one, jobs have no operation status and every section is shown.
What a workflow contains
When you click Add workflow, you choose its Record type: Job or Vendor Invoice. A vendor invoice workflow has only Applies to and Approvals.
| Section | What it does |
|---|---|
| Applies to | Which records it covers, for example certain job types. Empty covers all. |
| Statuses | The job’s operation statuses and how it moves between them. |
| Approvals | Steps before or after a Final Invoice, customer credit note or vendor invoice is approved. |
| Visible sections | Which job sections are shown. |
A workflow must fill at least one of Statuses, Approvals or Visible sections.
Operation statuses
A job’s status (Open, Closed…) is PCM’s own and is never changed by a workflow; see Jobs and job statuses. Its Ops. Status is your branch’s, from the workflow. A new job starts in the first status, and Transitions move it on one of these events:
| Event | When |
|---|---|
| Job Created | A job is created. |
| Services Changed | Services are added, billed, cancelled, deleted or change status. |
| Job Closed | The job is closed. |
| Job Reopened | The job is reopened. |
Only when can limit a move by the number of Unbilled Services or Active Services.
Good to know
- When several workflows match, each section comes from the highest Priority workflow that fills it. One that can never apply is marked Shadowed.
- Users who can edit jobs can also set the Ops Status by hand; Ops Status History shows every move. See Add operation statuses to a workflow.
- Hiding a section only tidies the screen; it is not a permission. New companies start with a Default Visibility workflow. See Hide job sections with a workflow.
- Approval steps (Require a field, Send to integration) run after the last approver, or straight away without an approval rule. See Add approval checks to a workflow.
- Deleting a workflow leaves jobs in their status, but they stop moving automatically.
Common questions
Why is my document stuck in Submitted for Approval? A Send to integration step waits for the other system’s answer; if it refuses, the document goes back to Draft.
Why can’t I switch a field off in Field Flexibility? A workflow requires it. See Show, hide or require fields.
Who approves the document? That is set under Approval Workflows, not here. See Set up approval rules.
How-to guides
Was this article helpful?
Thanks for your feedback.