---
title: Defining automatic decisions in advanced workflows
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

> **Info:** **Enterprise license required**
>
> Features described on this page require the **Kentico Xperience Enterprise** license.

Advanced workflow provides two types of steps that split a workflow process based on multiple conditions - **multi-choice** and **first win**.

## Adding a multi-choice step

The multi-choice step allows you to define a set of cases that will be automatically evaluated when a page reaches the step. If a matching case is found, the workflow process continues to the step connected with the matching case's source point. If more than one matching case is found, the system lets the editor choose from the matching cases. If no matching case is found, the process continues through the _else_ branch.

1. Drag and drop the Multi-choice step from the toolbar onto the grid.
2. [Connect](https://docs.kentico.com/13/configuring-xperience/configuring-the-environment-for-content-editors/configuring-workflows/designing-advanced-workflows/connecting-advanced-workflow-steps.md) the Multi-choice step to the preceding step.
3. Connect the _else_ (red) source point with another step.
4. [Define cases](#defining-cases).
5. Connect the cases to subsequent steps.

## Adding a first win step

The first win step allows you to define a set of cases that will be automatically evaluated when a page reaches the step. If a matching case is found, the workflow process continues to the step connected with the matching case's source point. After the system finds the first matching case, it doesn't evaluate the other cases.

1. Drag and drop the First win step from the toolbar onto the grid.
2. [Connect](https://docs.kentico.com/13/configuring-xperience/configuring-the-environment-for-content-editors/configuring-workflows/designing-advanced-workflows/connecting-advanced-workflow-steps.md) the First win step to the preceding step.
3. Connect the _else_ (red) source point with another step.
4. [Define cases](#defining-cases).
5. Connect the cases to subsequent steps.

## Defining cases

1. Set the number of cases that you want to evaluate.
   - Click **Add new case** () to add a new case.
   - Click **Delete case** () to delete an unneeded case.
2. Give names to the cases.
   1. Double-click a case name.
   2. Type in a new name.
   3. Press **Enter** to save the name.
3. Define conditions that will be evaluated.
   1. Click **Edit case properties** (pencil icon).
   2. Enter the condition into the **Condition** field.
4. (Optional) Configure additional parameters:
   - [User action button parameters](https://docs.kentico.com/13/configuring-xperience/configuring-the-environment-for-content-editors/configuring-workflows/designing-advanced-workflows/adding-advanced-workflow-steps.md#changing-the-action-button-text).
   - [Roles and users who will be able to shift a page through particular cases](https://docs.kentico.com/13/configuring-xperience/configuring-the-environment-for-content-editors/configuring-workflows/configuring-workflow-step-permissions.md).
