---
title: Lifecycle
slug: ryze/lifecycle
description: This document explores the metadata lifecycle and its governance process for a company's standards and studies. It delves into the various stages, from editable to non-editable states, and the restrictions it places on user groups. The configuration and a
createdAt: 2023-08-31T14:10:54.858Z
---

The metadata lifecycle allows you to define the different stages in the governance process for your company, for example, **Draft&#xA0;**> **In Review** > **Production** > **Retired**.

A lifecycle can be as simple or as complex as required, and every standard and study must have a lifecycle. You can restrict which user groups can transition a standard or study from one state to another.

You can have a maximum of one lifecycle for standards, and one for studies, or you can set the same lifecycle for both.

**Note**: If you create a new version of a standard or study, data from the previous version is not carried over to the new version. This includes things like EDC data as well as data sources such as Integrations.

:::Iframe{code="<div style=&#x22;padding:56.74% 0 0 0;position:relative;&#x22;><iframe src=&#x22;https://player.vimeo.com/video/651481205?h=f19b83daf1&#x26;amp;badge=0&#x26;amp;autopause=0&#x26;amp;player_id=0&#x26;amp;app_id=58479&#x22; frameborder=&#x22;0&#x22; allow=&#x22;autoplay; fullscreen; picture-in-picture&#x22; style=&#x22;position:absolute;top:0;left:0;width:100%;height:100%;&#x22; title=&#x22;The Metadata Lifecycle&#x22;></iframe></div><script src=&#x22;https://player.vimeo.com/api/player.js&#x22;></script>"}

:::

## Editable/Non-editable

A standard or study can only be in one of three overall states:

- **Editable&#x20;**- In the editable state users can create and edit metadata.
  - Draft
  - In Progress
- **Non-editable&#x20;**- Users can only view the metadata.
  - In Review
  - Production
  - Not in Use
- **Rejected&#x20;**- In this state, the content cannot be viewed or edited by any user. You can create a new version of this standard/study. The new version will have a Draft lifecycle state.

## Lifecycle Configuration

Changes to lifecycle configuration affects the state of existing standards/studies. For example, if you change lifecycle configuration you have to update current standard/study states and align with them with the new lifecycle.&#x20;

You can't edit a Lifecycle that is activated for standards/studies. You can however, create a clone and update a Lifecycle. This new updated Lifecycle can then be activated for standards/studies.

::Image[]{src="https://us.v-cdn.net/6034041/uploads/4GJGSJML4W8Y/image.png" size="66" width="541" height="273" position="center" showCaption="false"}

When you activate a new Lifecycle for standards/studies, the state-alignment dialogue is displayed. This allows you to choose how the new states will map to the old states.

## Workflow

The workflow consists of:

- Lifecycle states - each state contains an underlying State category. Some states are editable and others are non-editable. See, **Setting a Default State.**
- Transitions between workflow states.

Transition rules:

- You cannot transition to a draft category from a non-draft category. You can however create a new draft.
- You cannot transition from a non-editable state back to an editable one.
- You can only transition to a “Rejected” state from an “In progress” or "Review" state.
- You cannot transition from a "Rejected" state.

Defining a lifecycle and its transitions can be done in the following order:

1. Create a new lifecycle.
2. Add states (name, category and transition) to the life cycle.
3. Add transitions for each state.
4. Set the default state.
5. Activate the life cycle for studies and / or standards.#

### Creating a lifecycle

To create a lifecycle:

1. Select **Admin** from the **Navigation** bar and select **Repository**.
2. Select the **Lifecycle** tab.
3. Select **Create lifecycle** and enter the lifecycle name.
4. Select **Save**.

### Editing a lifecycle

You can only edit a lifecycle if you have not activated it for a standard or study.

1. Select **Admin** from the **Navigation** bar and select **Repository**.
2. Select the **Lifecycle** tab.
3. Select the options icon next to the life cycle you want to edit and select **Edit lifecycle**.
4. Edit the Lifecycle name and select **Update**.

### Deleting a lifecycle

You can delete a lifecycle if you have not activated it for a standard or study.

1. Select **Admin** from the **Navigation** bar and select **Repository**.
2. Select the **Lifecycle** tab.
3. Select the options icon next to the lifecycle you want to delete and select **Delete lifecycle**.
4. Select **Delete**.

### Cloning a lifecycle

You can clone a lifecycle whether it has been activated or not.

1. Select **Admin** from the **Navigation** bar and select **Repository**.
2. Select the **Lifecycle** tab.
3. Select the options icon next to the lifecycle you want to clone and select **Clone lifecycle**.

### Activation for standards

To activate for standards:

1. Select **Admin** from the **Navigation** bar and select **Repository**.
2. Select the **Lifecycle** tab.
3. Select the options icon next to the lifecycle you want to activate and select **Activate for Standards**.
4. Map each of the new states to the default states by selecting from each dropdown list.
5. Select **Activate**.

### Activation for studies

To activate for studies:

1. Select **Admin** from the **Navigation** bar and select **Repository**.
2. Select the **Lifecycle** tab.
3. Select the options icon next to the lifecycle you want to activate and select **Activate for Studies**.
4. Map each of the new states to the default states by selecting from each dropdown list.
5. Select **Activate**.

### Adding a state

To add a lifecycle state:

1. Select **Admin** from the **Navigation** bar and select **Repository**.
2. Select the **Lifecycle** tab.
3. Select the Metadata lifecycle you want to add a state to.
4. Select **Add state**.
5. Enter the **State name**, select a **State category**.
6. Select a **Can transition to** from the list, if it is available.
7. To restrict the ability to transition to the new state to a specific user group, select the **Limit to user groups** then select one or more user groups from the list.
8. Select **Save**.

When you are adding states, you may not be able to set "Can transition to" until all states have been added.

### Editing a state

To edit a lifecycle state:

1. Select **Admin** from the **Navigation** bar and select **Repository**.
2. Select the **Lifecycle** tab.
3. Select the Metadata lifecycle you want to add a state to.
4. Select the **down arrow icon** next to the state you want to edit.
5. Select **Edit state**. You can change the following
   - **State name**
   - **State category**
   - **Can transition to**
   - **Limit to user groups**
6. Select **Update**.

 You cannot edit a state that has been activated for a Study or Standard.

### Setting a default state

After you have created a new lifecycle and its states, you can set a default state.

The following shows each default state and its description:

**Draft**

- Deletion of entire container if there are no previous versions
- Deletion of a draft version of a container if there are no previous versions
- Deletion of draft assets groups inside a draft version of a container. This means the asset group is reset to the one in the previous container version or it is removed if there is no previous version

**In progress**

- Content in an "In progress" state is versioned
- A user requires permission to see "In progress" content
- Cannot transition from a non-editable state (other than a "Rejected" one) back to an editable one

**Production**

- Content in a "Production" state is versioned
- Content cannot be edited
- Any users with permission to see a container can see its "Production" content
- Can't transition from a non-editable state (other than a "Rejected" one) back to an editable one

**Not in use**

- Content in a "Not in use" state is versioned
- Content cannot be edited
- A user requires permission to see "Not in use" content
- Can't transition from a non-editable state (other than a "Rejected" one) back to an editable one

**Rejected**

- Content in a "Rejected" state is versioned
- Content cannot be edited Can only transition to a “Rejected” state from an “In progress” or "Review" state
- Can only transition from a "Rejected" state to another Rejected state
- If the latest version of a container is in a "Rejected" state, users can create a new version from any preceding version back to the previous non-Rejected version
- A user requires permission to see "Rejected" content

**Review**

- Content in a "Review" state is versioned
- Content cannot be edited
- A user requires permission to see "Review" content
- Cannot transition from a non-editable state (other than a "Rejected" one) back to an editable one

Only standards and studies with a state of "*Production*" and "*Review*" can be used as a library.

To set a default state:

1. Select **Admin** from the **Navigation** bar and select **Repository**.
2. Select the **Lifecycle** tab.
3. Select the Metadata lifecycle you want to add a state to.
4. Select the **down arrow icon** next to the state you want to make the default state.
5. Select **Make initial state**.

### Deleting a state

You can delete a lifecycle state if it has not been activated.

1. Select **Admin** from the **Navigation** bar and select **Repository**.
2. Select the **Lifecycle** tab.
3. Select the Metadata lifecycle you want to add a state to.
4. Select the **down arrow icon** next to the state you want to delete.
5. Select **Delete state** then select **Delete**.


