Manage workflow versions (Preview)

Workflows created with Lifecycle Workflows are able to grow and change with the needs of your organization. Workflows exist as versions from creation. When making changes to other than basic information, you create a new version of the workflow. For more information, see Manage a workflow's properties.

Changing a workflow's tasks or execution conditions requires the creation of a new version of that workflow. Tasks within workflows can be added, reordered, and removed at will. Updating a workflow's tasks or execution conditions within the Azure portal will trigger the creation of a new version of the workflow automatically. Making these updates in Microsoft Graph will require the new workflow version to be created manually.

Edit the tasks of a workflow using the Azure portal

Tasks within workflows can be added, edited, reordered, and removed at will. To edit the tasks of a workflow using the Azure portal, you'll complete the following steps:

  1. Sign in to the Azure portal.

  2. Select Azure Active Directory and then select Identity Governance.

  3. In the left menu, select Lifecycle workflows (Preview).

  4. In the left menu, select workflows (Preview).

  5. On the left side of the screen, select Tasks (Preview).

  6. You can add a task to the workflow by selecting the Add task button.

    Screenshot of adding a task to a workflow.

  7. You can enable and disable tasks as needed by using the Enable and Disable buttons.

  8. You can reorder the order in which tasks are executed in the workflow by selecting the Reorder button. You can also remove a task from a workflow by using the Remove button.

    Screenshot of reordering tasks in a workflow.

  9. After making changes, select save to capture changes to the tasks.

Edit the execution conditions of a workflow using the Azure portal

To edit the execution conditions of a workflow using the Azure portal, you'll do the following steps:

  1. On the left menu of Lifecycle Workflows, select Workflows (Preview).

  2. On the left side of the screen, select Execution conditions (Preview). Screenshot of the execution condition details of a workflow.

  3. On this screen you are presented with Trigger details. Here we have a trigger type and attribute details. In the template you can edit the attribute details to define when a workflow is run in relation to the attribute value measured in days. This attribute value can be from 0 to 60 days.

  4. Select the Scope tab. Screenshot of the execution scope page of a workflow.

  5. On this screen you can define rules for who the workflow will run. In the template Scope type is set as Rule-Based, and you define the rule using expressions on user properties. For more information on supported user properties. see: supported queries on user properties.

  6. After making changes, select save to capture changes to the execution conditions.

See versions of a workflow using the Azure portal

  1. On the left menu of Lifecycle Workflows, select Workflows (Preview).

  2. On this page, you see a list of all of your current workflows. Select the workflow that you want to see versions of.

  3. On the left side of the screen, select Versions (Preview).

    Screenshot of versions of a workflow.

  4. On this page you see a list of the workflow versions.

    Screenshot of managing version list of lifecycle workflows.

Create a new version of an existing workflow using Microsoft Graph

To create a new version of a workflow via API using Microsoft Graph, see: workflow: createNewVersion

List workflow versions using Microsoft Graph

To list workflow versions via API using Microsoft Graph, see: List versions (of a lifecycle workflow)

Next steps