---
title: "Configure a Workflow using Advanced dialog"
description: "Learn how to add or edit a workflow in Data Classification using the Advanced dialog, including rule conditions, rule actions, and workflow conditions."
sidebar_position: 30
---

# Configure a Workflow using Advanced dialog

This section contains information on how to add or edit workflows using the **Advanced** dialog
window.

To configure a workflow:

1. On the **Workflow** tab, click **Add** and in the dialog displayed click **Advanced**.
2. Specify **Name** for the workflow.
3. From the **Type** dropdown list, select the type of content your workflow applies to.
4. Click **Add**.

    ![add_workflows_advanced_name_thumb_0_0](/images/dataclassification/5.8/admin/workflows/advancedwindow/add_workflows_advanced_name_thumb_0_0.webp)

5. Configure document processing rules. For each rule, set up rule
   conditions and rule actions. Also, specify how the workflow processes rules.

    - Specifying Rule Conditions
    - Specifying Rule Actions
    - Other Rule Settings

    To apply pre-conditions (the workflow uses them before rule processing starts), see Specifying
    Workflow Conditions

6. Navigate to Content → Sources and select Re-classify for the selected sources in the workflow.

## Specifying Rule Conditions

1. In the corresponding section on the **Rule** tab, click **Edit** on the right. The **Edit Rule
   Conditions** dialog opens.
2. From the **Mode** list, select how the product applies the conditions.

![add_workflows_rule_conditions_thumb_0_0](/images/dataclassification/5.8/admin/workflows/advancedwindow/add_workflows_rule_conditions_thumb_0_0.webp)

The following options are available:

- **Any Document** — with this option selected, the workflow applies to all documents in the
  specified content source
- **Any Classified Document** — with this option selected, the workflow applies to the
  documents in the specified source if any classification tagged them
- **Specific Classification** — with this option selected, you need to specify whether to apply the
  workflow to the classified or non-classified documents

    - To process only documents classified by specific classification, select **Classified** (this
      acts as an including filter)
    - To process only non-classified documents, select **Not Classified**.

    If you selected any of the **Specific Classification** variants, then specify
    taxonomy terms to filter the documents for your workflow.

**To configure terms**

1. In the **Select Term** field, click the tag icon.
2. In the **Details** dialog, specify filter settings to use when filtering the documents:

    1. **Taxonomy** - select which classification taxonomy to use.
    2. **All Terms** - select this option if you want to filter by all terms in the taxonomy. If
       you don't select this option, the system displays the list of terms after you select the taxonomy. Select the one you plan to use for filtering.

    :::note
    The product doesn't support multiple selection: to configure several filter values,
    repeat this procedure for each filter value you need.
    :::


    3. **Include Children** - select this option if needed.

3. Click **OK** to save the settings and close the dialog.

4. Specify what logic to use when applying the filtering terms:

- To apply AND logic (i.e. the document must match all filters), select **Require all conditions be
  met**.
- Otherwise, the product uses OR logic (i.e. the document must meet any of the filtering conditions).

4. Verify the filtering term appears in the **Edit Rule Conditions** window in blue.
   Click **Save**.

The configured rule condition appears in the **Rule Conditions** section on the **Rule** tab.

![add_workflows_rules_list_thumb_0_0](/images/dataclassification/5.8/admin/workflows/add_workflows_rules_list_thumb_0_0.webp)

**Example**

If you want to apply the rule to all documents classified as Visa cardholder data using PCI DSS
taxonomy, configure the rule condition as follows:

1. From the **Mode** list select **Specific Conditions**.
2. Select **Classified** option.
3. In the **Select Term**, click the tag icon.
4. In the **Details** window, from the **Taxonomy** list select **PCI DSS**.
5. In the tags hierarchy, select **Visa** and click **OK**.

![add_workflows_advanced_details_thumb_0_0](/images/dataclassification/5.8/admin/workflows/advancedwindow/add_workflows_advanced_details_thumb_0_0.webp)

Ensure the filtering term appears in the Edit Rule Conditions window in blue. Click
**Save**.

The configured rule condition appears in the **Rule Condtions** section on the **Rule** tab.

## Specifying Rule Actions

1. In the corresponding section on the **Rule** tab, click **Add** on the right. The **Add Action**
   dialog opens.
2. From the **Action Type** list, select the action to apply to documents that match the rule conditions. For details, see [Workflow Actions](/docs/dataclassification/5.8/configuration/workflows/actions/actions.md).
3. Click **Save**.

![add_workflows_advanced_action_thumb_0_0](/images/dataclassification/5.8/admin/workflows/advancedwindow/add_workflows_advanced_action_thumb_0_0.webp)

## Other Rule Settings

On the **Rule** tab, you can also manage the rule, as follows:

- Add another rule by clicking the '+' sign.
- Enable or disable the rule by selecting or clearing the **Enabled** checkbox in the top right
  corner.
- Specify how rule application affects workflow processing. Possible options are:
    - **Processing stops if this rule is run**
    - **Processing stops if any action fails**
- **Edit** rule conditions.
- **Copy** or **delete** the current rule.
- Copy rule configuration as text, CSV, or XLSX file.
- **Add**, **Edit** or **Delete** rule actions.

If you configure multiple rule actions, the system processes them in the order listed. Use the
red down arrow or green up arrow to change the processing sequence:

![workflowsreorderactions_thumb_0_0](/images/dataclassification/5.8/admin/workflows/advancedwindow/workflowsreorderactions_thumb_0_0.webp)

## Specifying Workflow Conditions

You can narrow the initial workflow scope. For that, specify the conditions that document should
match to be processed by the workflow.

1. Go to the **Conditions** tab. By default, the **Workflow Conditions** list is empty, so the
   current workflow considers any document; the rule applies actual filtering conditions (rule conditions).

![add_workflows_advanced_wf_conditions_thumb_0_0](/images/dataclassification/5.8/admin/workflows/advancedwindow/add_workflows_advanced_wf_conditions_thumb_0_0.webp)

1. Click **Edit** to open the **Edit Workflow Conditions** dialog.
2. Select the option you need from the **Mode** list. The next steps resemble those in Specifying Rule Conditions
