Build a workflow's states and transitions, then attach actions that notify people, distribute controlled copies, update the knowledge base, record audit entries and call other systems when documents move.
A workflow defines the states a document moves through, such as Draft, In Review and Approved, and the transitions people use to move it. Actions attached to a transition run automatically when a document takes that transition. Viewing workflows needs vaults:view-configuration; changing them needs vaults:configure.
Product location: /document-vault/workflows. Open Workflows in Documents.
Open Workflows in Documents. The list shows each workflow with its Source (From template or Created here), the number of states and transitions, and whether it is the Default or Inactive. Use Show inactive to include retired workflows.
A workflow provided by a template follows that template: its states and transitions cannot be changed here, but its actions can still be configured.
Product location: /document-vault/workflows/{workflowId} (fallback: /document-vault/workflows). Choose Design on the workflow.
Choose New workflow, enter a Name and Description, and choose Create.
Choose Design. Add states with Add state: enter the Name; the Code fills in automatically and is used by transitions, so avoid renaming it once documents use the workflow. Mark exactly one state New documents start in this state, and mark the final state or states This state ends the workflow.
Add transitions with Add transition. The Name is the button label people will see, for example “Submit for review”. Choose From, which can be the entry point for a new document, and To. Choose what the transition requires: Require an electronic signature, Require a comment, a reason, biometric confirmation or membership of specific groups.
Point a document type at the workflow. In the vault, open Document Types, edit the type and choose it under Workflow. Until then, no document follows it.
A warning appears when no state is marked as the start, because documents cannot enter the workflow. You can edit or remove states and transitions later. A state that documents are in, or that transitions reference, cannot be removed.
Product location: /document-vault/workflows/{workflowId}/actions (fallback: /document-vault/workflows). Choose Configure actions.
Choose Configure actions. Each transition appears as a card with its actions. Choose Add Action, pick the Action Type, give it an Action Name and complete its configuration.
Action type | What it does | Settings |
|---|---|---|
Send Notification | Sends an in-app notification from a template. | Notification Template ID, Recipients (one per line), Include a link to the document |
Send Email | Sends an email. | Email Recipients (empty means whoever made the transition), Subject, Body, Include a link to the document |
Notify Stakeholders | Notifies the document's owner, reviewers and approvers. | Include the document owner, Include reviewers, Include approvers, Also send by email |
Update Knowledge Base | Adds the document to, or removes it from, the vault's primary knowledge base. | Action: Add to / update in index or Remove from index |
Generate Controlled Copy | Issues tracked, recallable copies. | Recipients (empty means the document's distribution list), Location, Department |
Create Audit Entry | Writes an entry to the organisation's audit trail, with the Event Type as its action. | Event Type, Message Template |
Update Metadata | Sets metadata on the document. | Fields (JSON), merged into existing metadata; Add Tags; Record the time of the transition |
Archive Previous Version | Supersedes older versions. | Versions to keep (default 1) |
Request Signature | Asks named people to sign. | Signers (empty means the transition's approvers), Signature Type: Electronic or Biometric |
Trigger Webhook | Calls another system with the transition data. | Webhook URL, HTTP Method (POST, PUT or PATCH), Timeout (ms) from 1,000 to 60,000 |
Actions run in the order shown. Use the arrows to reorder them, the switch to enable or disable one without deleting it, and Edit or Delete to change it.
On an ordinary transition, the actions run before the document changes state. If an action fails, the transition does not happen and the error names the failing action. On a signed transition, the actions run after the signed state change is recorded. Test a new action on a practice document before relying on it.
Product location: /document-vault/workflows/{workflowId}/actions (fallback: /document-vault/workflows)
Suppose a standard operating procedure moves from In Review to Approved through an Approve transition that requires an electronic signature. Attach these actions:
Archive Previous Version, keeping 1 version, so only the approved version stays current.
Generate Controlled Copy with the production supervisors as Recipients and Department set to Production, so each receives a tracked copy. The copies of the previous version are superseded and must be withdrawn; see controlled copies.
Update Knowledge Base with Add to / update in index, so the assistant answers from the approved text.
Notify Stakeholders with the owner and reviewers, and Also send by email.
Trigger Webhook to another system, for example your ERP, so it knows which procedure version is now in force.
A second transition, Retire, from Approved to Obsolete, can use Update Knowledge Base with Remove from index and Create Audit Entry to record the retirement.
Check the result on a practice document: its state and History, the new controlled copies, the knowledge-base content and the notification. Then use the workflow for real documents.