No results for ""
EXPAND ALL
  • Home
  • API docs

Workflows

Read time: 2 minutes
Last edited: Oct 02, 2024
Workflows is an Enterprise feature

Workflows is available to customers on an Enterprise plan. To learn more, read about our pricing. To upgrade your plan, contact Sales.

You cannot use workflows with the ServiceNow integration

You cannot use LaunchDarkly workflows in any environment that uses the ServiceNow integration. Workflows are still available in other environments that don't use ServiceNow. To learn more about the ServiceNow integration, read ServiceNow.

Overview

This topic explains how to build, start, and view workflows in LaunchDarkly. A workflow is a set of actions that you can schedule in advance to make changes to a feature flag.

About workflows

Workflows can automate some of the manual tasks required to manage a feature flag. These tasks often take place in stages. For example, a feature flag workflow that gradually releases a flag to more contexts might look like this:

A workflow that progressively rolls out a flag over time.
A workflow that progressively rolls out a flag over time.

Workflows support consistent release practices and let you automatically release a feature based on your release process.

You can also use the REST API: Workflows

Use cases for workflows

You can set up three kinds of workflows, which correspond to three common use cases: progressive rollout workflows, maintenance window workflows, and custom workflows.

If you are interested in gradually rolling out a particular flag variation to more contexts over a defined period of time, we recommend that you use the separate progressive rollout feature instead of setting up a progressive rollout workflow.

Progressive rollouts are an option on a flag's targeting rule to serve a given flag variation to a specified percentage of contexts, and gradually increase that percentage over a specified time. They are a built-in feature that supports the most common use case for workflows. We recommend using progressive rollouts instead of workflows if they meet your needs, because progressive rollouts are easier to set up, and because the flag variation that any particular customer encounters changes only once over the course of the rollout. To learn more, read Progressive rollouts.

Prerequisites

To use workflows, you should understand the following features:

  • Approvals
  • Scheduled flag changes

Create workflows

Read the following topics to learn how to create different kinds of workflows:

You can also save a workflow as a template to reuse later. To learn how, read Workflow templates.

Permissions in workflows

A LaunchDarkly member must have permission to make flag changes to create workflows because workflows inherit permissions from flags. To learn more about how to configure the right permissions for members, read Resources.