> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getcollate.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Lifecycle Workflows | Collate Governance Guide

> Create and publish lifecycle workflows that move data products, domains, glossaries, glossary terms, and metrics through approval stages with checks, approvals, and rejection paths.

# Lifecycle Workflows

Lifecycle workflows move an asset through the stages of its **status**, such as Draft, In Review, and Approved. For each stage, you decide what must be done before the asset moves on, who approves the move, and what happens if an approver rejects it. You find lifecycle workflows under **Governance** > **Workflows**.

Intake Forms and Onboarding Playbooks are lifecycle workflows. The fields required to create an asset come from the form in **Settings** > **Governance** > **Intake Forms**. For more information, see [Intake Forms](https://docs.getcollate.io/ai-2-0/how-to-guides/data-governance/intake-forms.md).

## Supported Asset Types

Lifecycle workflows are available for the following asset types:

* Data Products
* Domains
* Glossaries
* Glossary Terms
* Metrics

Assets that have no status field can't use lifecycle workflows. These are Tables, Dashboards, Pipelines, Topics, and ML Models. To build a process for them, use a blank workflow. For more information, see [Creating a New Workflow](https://docs.getcollate.io/ai-2-0/how-to-guides/data-governance/workflows/creating-a-new-workflow.md).

Each asset type has one lifecycle. Its stages are the statuses of that asset type.

* **Rejected**: A final status. Nothing happens to the asset after it is rejected.
* **Dashed outline**: A status that isn't on the main path, for example the status set on rejection, has a dashed outline on the status chips.

## Create a Lifecycle Workflow

1. Go to **Governance** > **Workflows** and find the card for the asset type under **Lifecycle templates**.

   ![Lifecycle templates on the Workflows page with cards for Data Product, Domain, Glossary Term, Metric, and Glossary lifecycles](https://mintcdn.com/collatedocs/9nspcc77Ny-NsoEQ/public/images/ai-2.0/how-to-guides/governance/workflows/lifecycle-templates.png?fit=max\&auto=format\&n=9nspcc77Ny-NsoEQ\&q=85\&s=da46c0605465b37d8b22f89d925595a9)
2. On a card marked **Available**, click **Start from template**. A drawer opens.

   ![Lifecycle templates with the Start from template link highlighted on the Domain Lifecycle card](https://mintcdn.com/collatedocs/9nspcc77Ny-NsoEQ/public/images/ai-2.0/how-to-guides/governance/workflows/lifecycle-start-from-template.png?fit=max\&auto=format\&n=9nspcc77Ny-NsoEQ\&q=85\&s=8c7ad4ed48e114f34bb248d3c5bb6569)
3. Enter the **Workflow Name** and **Description**, then click **Next**. The workflow doesn't run until you publish it.

   ![Drawer for the Domain onboarding playbook with the Workflow Name and Description fields and the Cancel and Next buttons](https://mintcdn.com/collatedocs/9nspcc77Ny-NsoEQ/public/images/ai-2.0/how-to-guides/governance/workflows/lifecycle-start-from-template-drawer.png?fit=max\&auto=format\&n=9nspcc77Ny-NsoEQ\&q=85\&s=5d82db6ca2b28c6af253c035137244e5)
4. In the guided editor, use the **Stages** tab to review the creation fields and the checks on each stage. The **Canvas** tab shows the workflow graph.
5. Review the checks under **Checked before publish**, then click **Publish lifecycle**.

A card marked **In use** already has a lifecycle workflow. Click **Open** to edit it.

## The Stage Editor

The **Stages** tab of the guided editor has the following areas.

* **Start**: Shows the asset type the lifecycle covers (**Data Asset**), what starts it (**Trigger**: **Created, Updated**), and the **Exclude Fields**. The `entityStatus` field is excluded, so a change to the asset's own status doesn't start the workflow again.
* **Checked before publish**: Shows the checks Collate runs before you publish. For more information, see [Conflict Check](#conflict-check).
* **Header**: Shows the workflow name, its state (**Draft** or **Published**), its **Version**, and an **Owns status** badge with the asset type. A published lifecycle also has a menu button (⋮) next to **Publish lifecycle**, with **Suspend** and **Delete**.
* **Lifecycle**: Shows the stages in a row. A gate (**Create**, **Checks**, or **Approval**) follows each stage. Select a gate to edit it. Use a stage's menu to change or remove the stage. **Path** below the row shows the order the asset follows.

![Stages tab of the Data Product Onboarding Playbook showing the header, the Start and Checked before publish areas, and the Lifecycle row with its stages and gates](https://mintcdn.com/collatedocs/9nspcc77Ny-NsoEQ/public/images/ai-2.0/how-to-guides/governance/workflows/lifecycle-stage-editor-data-product.png?fit=max\&auto=format\&n=9nspcc77Ny-NsoEQ\&q=85\&s=d1b7bef8d64873d755e836c642adc737)

A Metric lifecycle starts with the path **Draft** > **In Review** > **Approved**. Use **Add Stage** to add **Archived**, **Deprecated**, or **Rejected**.

![Metric onboarding playbook with the Add Stage menu open, listing Archived, Deprecated, and Rejected](https://mintcdn.com/collatedocs/9nspcc77Ny-NsoEQ/public/images/ai-2.0/how-to-guides/governance/workflows/lifecycle-metric-add-stage.png?fit=max\&auto=format\&n=9nspcc77Ny-NsoEQ\&q=85\&s=f462cc2077f73687fd06a23e20d93dda)

## Creation Gate

The creation gate lists the fields that someone must fill in to create an asset of this type. Select **Create** in the **Lifecycle** row to see **Required to create** and its checks, such as **Display Name** and **Owners** for a Data Product. These checks run as **Creation validation**. They are the same requirements that you manage in [Intake Forms](https://docs.getcollate.io/ai-2-0/how-to-guides/data-governance/intake-forms.md).

Saving the creation gate applies the change right away. You don't need to publish the lifecycle.

![Data Product Onboarding Playbook with the Create gate selected, showing Display Name, Owners, and Reviewers as blocking creation requirements](https://mintcdn.com/collatedocs/9nspcc77Ny-NsoEQ/public/images/ai-2.0/how-to-guides/governance/workflows/lifecycle-onboarding-playbook-stages.png?fit=max\&auto=format\&n=9nspcc77Ny-NsoEQ\&q=85\&s=a8775359dd0e9620158dba682503cc6a)

## Stage Gates

A stage gate sets what an asset needs before it can move to the next stage.

Select a gate in the **Lifecycle** row, for example `Required to move Draft → In Review`. Each check is assigned to one set of people. Checks for the same people share one task. When every blocking check passes, the asset moves to the next stage.

![Checks gate for Draft to In Review listing Description, Owners, and Experts as blocking checks, with the settings of the Description check open](https://mintcdn.com/collatedocs/9nspcc77Ny-NsoEQ/public/images/ai-2.0/how-to-guides/governance/workflows/lifecycle-stage-gate-checks.png?fit=max\&auto=format\&n=9nspcc77Ny-NsoEQ\&q=85\&s=fcc58fee93a8bf20d37724a47ce0242b)

* **Add check**: Opens **Search Fields**, a list of the asset type's native fields. For a Metric, these include **Display Name**, **Description**, **Metric Type**, **Granularity**, and **Measurement Unit**. Select a field to add it as a check.

  ![Search Fields list opened from Add check, showing Display Name, Data Product Type, Visibility, Portfolio Priority, and Tags](https://mintcdn.com/collatedocs/9nspcc77Ny-NsoEQ/public/images/ai-2.0/how-to-guides/governance/workflows/lifecycle-add-check-search-fields.png?fit=max\&auto=format\&n=9nspcc77Ny-NsoEQ\&q=85\&s=8f73923ae97704b91b5aaa387e28b04b)

* **Check settings**: Select a check to see its settings: **What it captures**, **Runs as** (a user task), **Applies when**, **Who gets the task**, and **Requirement**. For more information, see [Check Settings](#check-settings).

* **Stage conditions**: Shows how many rules limit the stage. **No conditions** means the stage applies to every asset.

### Check Settings

Select a check to open its settings. **Applies when** and **Who gets the task** control which assets the check covers and who completes it. For the **Requirement** setting, see [Requirements](#requirements).

* **Applies when**: Limits the check to some assets in the stage. Choose **All assets** or **Only matching assets**.

  ![Applies when dropdown in the check settings with the options All assets and Only matching assets](https://mintcdn.com/collatedocs/9nspcc77Ny-NsoEQ/public/images/ai-2.0/how-to-guides/governance/workflows/lifecycle-check-applies-when.png?fit=max\&auto=format\&n=9nspcc77Ny-NsoEQ\&q=85\&s=733d98b97692327234d035d8f4624252)

* **Who gets the task**: Choose who fills in a missing field.

  * **Owners**, **Reviewers**, or **Specific users or teams**: Collate creates a **Fill in missing metadata** task for those people. For more information, see [Metadata Completion Tasks](#metadata-completion-tasks).
  * **Don't ask anyone**: Collate doesn't create a task. The asset can't move on until the requirement is met.

  ![Who gets the task dropdown in the check settings with the options Owners, Reviewers, Specific users or teams, and Don't ask anyone](https://mintcdn.com/collatedocs/9nspcc77Ny-NsoEQ/public/images/ai-2.0/how-to-guides/governance/workflows/lifecycle-check-who-gets-the-task.png?fit=max\&auto=format\&n=9nspcc77Ny-NsoEQ\&q=85\&s=f1cb76d9fd56e5c98b62ccbd091beb72)

### Requirements

Each requirement has one of the following levels:

![Checks gate for Draft to In Review with the Requirement options Blocking, Recommended, and Optional highlighted in the check settings](https://mintcdn.com/collatedocs/9nspcc77Ny-NsoEQ/public/images/ai-2.0/how-to-guides/governance/workflows/lifecycle-requirement-levels.png?fit=max\&auto=format\&n=9nspcc77Ny-NsoEQ\&q=85\&s=10985b403ba1a306b5d3c4e31cad3e5e)

| Level | Behavior |
| - | - |
| **Blocking** | The asset can't move on until the requirement is met. |
| **Recommended** | Collate asks for it in the stage's task while the asset waits in the stage. It doesn't hold the asset. When the asset moves on, the task closes. |
| **Optional** | Shown for reference only. Nobody is asked for it. |

> [!NOTE]
>
> **Note**: A **Recommended** requirement needs something else that keeps the asset in the stage, such as a **Blocking** requirement, a stage condition, or an approval. Without one, the asset moves on at once. The editor shows a warning in this case.

### Moving to the Next Stage

Choose how the asset moves to the next stage:

* **Automatically**: The asset moves on as soon as its requirements are met.
* **After approval**: An approver must approve the move. For more information, see [Approvals](#approvals).

## Metadata Completion Tasks

When a stage needs fields that are still empty, Collate creates a **Fill in missing metadata** task. This happens when **Who gets the task** is **Owners**, **Reviewers**, or **Specific users or teams**. For more information, see [Check Settings](#check-settings).

![Fill in missing metadata task listing the Data Product Type field that is still empty, with the message that the lifecycle conditions are not met and a Recheck button](https://mintcdn.com/collatedocs/9nspcc77Ny-NsoEQ/public/images/ai-2.0/how-to-guides/governance/workflows/lifecycle-fill-in-missing-metadata-task.png?fit=max\&auto=format\&n=9nspcc77Ny-NsoEQ\&q=85\&s=c68fa5c96680a9f438fb63f197192f7e)

* Collate creates one task for each stage and workflow step. The task lists only the fields that are still empty.
* If someone edits the asset again, Collate reuses the existing task. It doesn't create a new one.
* If a requirement that was met becomes unmet again, the task reopens.
* The task closes itself when everything it lists is filled in.
* If the conditions are not met, the task says so.
* Click **Recheck** to make the task check the asset again right away.
* Completing the task doesn't satisfy a requirement by itself. You must fill in the field.

If a task has no owners, reviewers, or other candidates, Collate assigns it to the admins. If there are no admins either, Collate doesn't create a task.

## Approvals

An approval step asks people to approve the move to the next stage. The task shows which move it approves, for example: `Approving moves this asset from {stage} to {targetStage}.`

![Reviewer approval gate with the Owners and Reviewers checkboxes, Specific users or teams, Approval Threshold, On rejection, and a notice that assets with none of these approvers go to the admins](https://mintcdn.com/collatedocs/9nspcc77Ny-NsoEQ/public/images/ai-2.0/how-to-guides/governance/workflows/lifecycle-approval-gate.png?fit=max\&auto=format\&n=9nspcc77Ny-NsoEQ\&q=85\&s=df4d5b315e6839499d546bacc0d38809)

An approval step has the following options:

* **Approvers**: Choose one or more of the following. You must pick at least one approver. If you don't, Collate shows "Pick at least one approver."
  * **Owners** and **Reviewers**: Select either one or both. New approvals start with **Owners** selected. Domains have only the **Owners** choice.
  * **Specific users or teams**: Pick named users or teams.

* **Approval Threshold**: A required field. It sets how many approvals the move needs. The default is 1. For example, with a threshold of 2, the first approval keeps the asset in its current stage, and the second approval moves it on.

* **On rejection**: Sets what happens when an approver rejects the move. The options are the following:

  * **Revise and resubmit** (default for a new approval): The asset stays in its current stage. The owners get a **Revise and resubmit** task that shows the reviewer's comment and who asked for the revision. The next edit to the asset sends it for approval again.
  * **Back to Draft**: The asset goes back to Draft. This option isn't available when the stage that the approval moves the asset out of is Draft.
  * **Rejected**: The asset moves to the final Rejected status.

  ![On rejection dropdown on the approval gate with the options Revise and resubmit, Back to Draft, and Rejected](https://mintcdn.com/collatedocs/9nspcc77Ny-NsoEQ/public/images/ai-2.0/how-to-guides/governance/workflows/lifecycle-on-rejection-options.png?fit=max\&auto=format\&n=9nspcc77Ny-NsoEQ\&q=85\&s=0b85bb5c1faf14099e6c8fb52bfd9ae1)

* **When nobody else can approve**: If an asset has none of the approvers you chose, the admins decide. The requester is never the fallback approver. If the approval has no specific users or teams, the editor shows a banner such as **Assets with no Owners or Reviewers: {count}. Their approval goes to the admins.** The banner names **Owners**, **Reviewers**, or **Owners or Reviewers**, based on the approvers you chose.

The **Revise and resubmit** task has no buttons. Editing the asset sends it for approval again. If the reviewer didn't add a comment when rejecting, the task shows the reviewer's latest task comment.

On the canvas, the revision steps appear as `Rejected: ask to revise in {stage}` and `Close revision request in {stage}`.

> [!NOTE]
>
> **Note**: The older **Stay in this stage** option appears only in workflows that already use it.

## Conflict Check

Two workflows that change the same status can overwrite each other. Before you publish, Collate checks for other workflows that change the same status field on the same asset type. If it finds one, pause it before you publish.

If another workflow also changes the same status, the **Workflows** page shows it as a red card with a **Writes status** chip. The card says which lifecycle owns the status field, for example: "Changes status on metrics, but Metric Lifecycle owns that field. If two workflows write the same field, one overwrites the other."

To fix the conflict, click **Pause** on the card. Then add any rules that you still need from that workflow to the lifecycle. Click **Open** to review the workflow first.

![Workflows page with the Metric Approval Workflow card outlined in red, showing the Writes status chip, a message that the QA Metric Lifecycle owns the status field, and the Pause and Open buttons](https://mintcdn.com/collatedocs/9nspcc77Ny-NsoEQ/public/images/ai-2.0/how-to-guides/governance/workflows/lifecycle-workflow-conflict-card.png?fit=max\&auto=format\&n=9nspcc77Ny-NsoEQ\&q=85\&s=1c7a7f4c35a4201521c8d7ccbc3150ad)

Before you publish, the **Checked before publish** panel on the **Stages** tab shows the result of each check:

* **Green check**: The check passed. For example, **No other workflow changes the status of Data Product**.
* **Warning**: Something needs your attention. For example, **Assets with no Reviewers: 10. Their approval goes to the admins.**

![Checked before publish panel listing that no other workflow changes the status of Data Product, that approval runs on an event based trigger, and a warning that assets with no reviewers go to the admins](https://mintcdn.com/collatedocs/9nspcc77Ny-NsoEQ/public/images/ai-2.0/how-to-guides/governance/workflows/lifecycle-checked-before-publish.png?fit=max\&auto=format\&n=9nspcc77Ny-NsoEQ\&q=85\&s=63f4a784f7b4e0c4f9053d50e6e10796)

## Canvas

The **Canvas** tab shows the workflow as a graph. It has two sub-tabs: **Workflow Builder** and **Execution History**.

![Canvas tab of the Data Product Onboarding Playbook showing the Workflow Builder graph with Start, Check, Action, and Missing Fields Task steps and True and False paths](https://mintcdn.com/collatedocs/9nspcc77Ny-NsoEQ/public/images/ai-2.0/how-to-guides/governance/workflows/lifecycle-canvas-workflow-builder.png?fit=max\&auto=format\&n=9nspcc77Ny-NsoEQ\&q=85\&s=d12ec0d554e2f1990a3cf6a7e52505ab)

* **Workflow Builder**: Shows the workflow graph. For example, a **Start** step, **Check** steps such as **Check starting stage** and **Stage is Draft?**, an **Action** such as **Move to Draft**, and a **Missing Fields Task**. Paths are labeled **True** and **False**. Click **Edit Workflow** to make changes. While you edit, **Cancel**, **Validate Workflow**, and **Save Workflow** are available.

  Click a step to open its settings. The settings depend on the step type:

  * **Check**: **Display Name**, **Description**, and **Rules To Check**. Combine rules with **AND** or **OR**. Set a **Field**, **Operator**, and **Value** for each rule. Click **Add New Field** to add a rule.
  * **Action**: Set a **Field Name** and a **Field Value**. For example, the **Move to In Review** action sets **Status** to **In Review**.
  * **Missing Fields Task**: **Stage** (for example, **In Review** to **Approved**), **Required Fields**, **Conditions** (the same **AND** or **OR** rules), and **Assign to**. The required fields come from the lifecycle editor, and the task lists only the empty ones. **Assign to** sets who gets the task. The task completes itself when everything is in place.
* **Execution History**: Lists the runs of the workflow with the **Execution Date**, **Status**, **Entity**, and **Duration**.

![Settings panel of the Move to Draft action step with Display Name, Description, Field Name set to Status, and Field Value set to Draft](https://mintcdn.com/collatedocs/9nspcc77Ny-NsoEQ/public/images/ai-2.0/how-to-guides/governance/workflows/lifecycle-canvas-action-step-settings.png?fit=max\&auto=format\&n=9nspcc77Ny-NsoEQ\&q=85\&s=82ed38db9909ad81a69035324445f023)

You can change the settings of a lifecycle's steps, but not its structure. If the workflow has changes that the stage editor can't show, a warning reads "This workflow contains custom canvas changes that cannot be represented as stages. Continue editing in the canvas to preserve them." Click **Open canvas** to continue there.

## Version History for Status Changes

Each time a lifecycle changes an asset's status, the asset gets a new version. Click the version number in the asset header to open **Versions History**. Each status change is its own entry, for example "Status changed to In Review." Each entry shows who made the change and when.

![Data product with the Versions History panel open, listing versions 0.1 to 0.4 with the entries Status changed to Draft, Status changed to In Review, and Status changed to Approved](https://mintcdn.com/collatedocs/9nspcc77Ny-NsoEQ/public/images/ai-2.0/how-to-guides/governance/workflows/lifecycle-version-history.png?fit=max\&auto=format\&n=9nspcc77Ny-NsoEQ\&q=85\&s=fd83a7602a0bd0a6df8e38b3f60ceb32)

## Hold Edits for Approval After Publishing

A lifecycle approval only decides when an asset moves to the next stage. Edits are published right away. To hold later edits to an approved asset until a reviewer approves them, add an Enforce workflow on the same asset type. For more information, see [Lifecycle Workflows and Enforce Workflows](https://docs.getcollate.io/ai-2-0/how-to-guides/data-governance/workflows/approval-gated-changes.md#lifecycle-workflows-and-enforce-workflows).

## Publish, Suspend, or Delete a Lifecycle Workflow

Click **Publish lifecycle** in the header to turn the workflow on. The header shows the state, such as **Published**, and the **Version**.

![Header of the Data Product Onboarding Playbook with the Publish lifecycle button highlighted](https://mintcdn.com/collatedocs/9nspcc77Ny-NsoEQ/public/images/ai-2.0/how-to-guides/governance/workflows/lifecycle-publish-lifecycle-button.png?fit=max\&auto=format\&n=9nspcc77Ny-NsoEQ\&q=85\&s=328644e9a6485f2ef8767fcd77fd9b15)

To suspend or delete a published lifecycle, click the **⋮** icon next to **Publish lifecycle**. Then select **Suspend** or **Delete**.

A suspended lifecycle doesn't run. Resume it before you expect it to run. Workflows that you paused for the conflict check stay paused until you resume them.

![Lifecycle header with the Publish lifecycle button and the menu open showing Suspend and Delete](https://mintcdn.com/collatedocs/9nspcc77Ny-NsoEQ/public/images/ai-2.0/how-to-guides/governance/workflows/lifecycle-publish-menu-suspend-delete.png?fit=max\&auto=format\&n=9nspcc77Ny-NsoEQ\&q=85\&s=ca27a3606b300bf8f66136241b8f02a7)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.