Skip to main content

Approval-Gated Changes

When an event-based governance workflow uses Approval Mode set to Enforce, an edit to a watched field isn’t written to the asset. The edit becomes a change request with a review task. The asset keeps its approved value until a reviewer approves the change. This page describes how change requests behave for the person who makes the edit, the reviewer, and API clients. For more information on setting up the workflow, see Approval Mode.

Lifecycle Workflows and Enforce Workflows

Collate has two kinds of governance workflow that involve approvals. They do different jobs. For more information on lifecycles, see Lifecycle Workflows. Using both together is optional. For an end-to-end setup, pair them:
  1. Use the lifecycle workflow, for example the Data Product Onboarding Playbook, as the rulebook for status changes.
  2. Add an Enforce workflow on the same asset type to stage edits to the fields you watch.

Set Up an Enforce Workflow

An Enforce workflow is an event-based workflow with Approval Mode set to Enforce and a User Approval task. The watched fields depend on your use case. Canvas of an Enforce workflow with a Start node, a User Approval node, and Approve and Reject branches that each lead to an End node

Stage Edits Only for Approved Assets

To hold edits only while an asset is in the Approved status, add an exclude filter to the Start node. The workflow doesn’t trigger for assets that match the filter, so edits to assets in any other status publish immediately.
  1. In the Start node, find Exclude Filter.
  2. Set Field to Status, Operator to Is Not, and Value to Approved.
  3. Set Approval Mode to Enforce.
Start node with an Exclude Filter where Status Is Not Approved, and Approval Mode set to Enforce

What Happens When You Edit a Watched Field

  1. Edit a field that the workflow watches, then save.
  2. The save returns the unchanged asset, and a toast reads “Your change was submitted for approval. It will be published once it is approved.”
  3. A Pending Changes button with a count appears in the header of the asset, glossary term, domain, or data product.
  4. Click Pending Changes to open the Review pending changes window, where you can see the exact proposed change.
Data product header with the Pending Changes button and an approval task whose Proposed Changes card shows the updated description and display name The Pending Changes button appears only when an Enforce workflow covers the asset type and open change requests exist. Only edits to existing assets are held. Creating an asset isn’t held. Admins are held to the same rules. A requester can’t approve their own change, even if they are an admin. Edits made by bots are never held.

Move a Glossary Term

Moving a glossary term with Change Parent Term goes through the same approval gate as dragging the term. When an Enforce workflow watches the parent or glossary field, Collate holds the move as a change request.
  1. Open the glossary term and click the ⋮ menu in the header.
  2. Click Change Parent Term. Glossary term menu with the Change Parent Term option highlighted
  3. In the Change Parent dialog, search for the new parent under Select Parent.
  4. Select the checkbox that confirms the term’s status will change to In Review. This dialog appears every time you move a glossary term, not only for Approved terms. Then click Save. Change Parent dialog with the Select Parent search field and a checkbox confirming that the term status will change to In Review
After you save:
  • The Change Parent dialog closes, a toast reads “Your change was submitted for approval”, and the Pending Changes indicator refreshes.
  • The term stays where it is until a reviewer approves the change. After approval, Collate moves the term and re-parents its child terms, so their names update as they do for a drag.
  • If a reviewer rejects the change, the term stays in place.
  • If no Enforce workflow watches parent or glossary, the move runs as a background job, as before.
You need the same access that changing the term’s parent through the API needs. Without it, the move is refused.

Withdraw a Change Request

Only the requester can withdraw a change. To cancel your own pending change, use the Withdraw revision action. Collate confirms with “Change request withdrawn.”

Edit Again While a Change Is Pending

  • Second edit by the same requester: The new edit becomes a new revision of the change request and re-opens the review task. Approvals given on the earlier revision don’t carry over.
  • Edits by two requesters: Each requester’s change is independent. If another approved change already touches the same field, Collate flags the request as conflicted when it is approved, and the requester must submit an updated change.
An approval on a superseded revision is refused.

CSV Import

When a CSV import includes rows that the workflow holds, the import reports them with the message N row(s) are waiting for approval and are not published yet.

Approve or Reject

Reviewers act on the User Approval task that the workflow creates. For more information, see User Approval Task.
  • Approve: The held edit is published to the asset.
  • Reject: The held edit is discarded.
Approval task in Activity Feeds and Tasks showing the requester, the assignee, the Proposed Changes card, and the Action Required section with the Approve button

Review Changes One at a Time

Click Pending Changes on the asset to open the Review pending changes window. It groups the proposed changes by field, such as Description and Display Name. Each field shows the CURRENT value and the suggestion, with removed text struck through and added text highlighted.
  1. Use Proposed by to filter the changes by requester.
  2. For each field, click Accept or Reject. To decide everything at once, click Accept All or Reject All.
  3. Check the counts at the bottom of the window: accepted, rejected, and to review.
  4. Click Submit review. Collate publishes the changes that you accepted. Changes that you didn’t decide on stay pending on the same task.
Review pending changes window with Accept and Reject buttons for the Description and Display Name suggestions, plus Reject All, Accept All, and Submit review Deciding one field at a time works when Allow partial decisions is on in the User Approval task. Only edits that you accept are published. For more information, see Allow Partial Decisions. You can’t approve a change that you requested. When an asset has no owners or reviewers to assign the task to, Collate auto-approves the change and publishes the edit. Unlike a lifecycle workflow, an Enforce workflow doesn’t route the task to the admins.

Cancel Pending Requests

Deleting the workflow cancels its pending change requests. Changing the workflow so that it no longer holds changes cancels them too. An example is switching Approval Mode from Enforce to Default.

API Behavior