diff --git a/10/umbraco-forms/editor/attaching-workflows/README.md b/10/umbraco-forms/editor/attaching-workflows/README.md index 4651fde5275..7d0a021c0e7 100644 --- a/10/umbraco-forms/editor/attaching-workflows/README.md +++ b/10/umbraco-forms/editor/attaching-workflows/README.md @@ -48,7 +48,19 @@ Once the Workflow Type has been selected, you will need to configure the workflo To use data from the submitted Form in your workflow, head over to the [Magic Strings](../../developer/magic-strings.md) article and learn more about how that's done. -Fill in the settings and hit **Submit**. The workflow is added to your Form and it will be shown at the bottom of the page. +### Configuring Condition on a Workflow + +You can apply conditions to a workflow to ensure it only triggers under specific circumstances. You could as an example enable a condition that enables sending an email only if an email is added. + +Select **Enable conditions** to open the condition editor. In the condition editor, you will see options to create logic that determines when the workflow should run. The condition is generally based on the values of the form fields. + +For example: You have a form with a dropdown field labeled **Preferred Contact Method** with options such as **Email** and **Phone**. You can set up a workflow that sends an email notification only when the user selects **Email**. + +![Workflow Conditions](images/workflow-conditions.png) + +Now, this email notification will only be sent when the user selects **Email** as their preferred contact method. + +Fill in the rest of the settings and click **Submit**. The workflow is added to your Form and displayed at the bottom of the page. ## Workflow Processing diff --git a/10/umbraco-forms/editor/attaching-workflows/images/workflow-conditions.png b/10/umbraco-forms/editor/attaching-workflows/images/workflow-conditions.png new file mode 100644 index 00000000000..e512d320b9f Binary files /dev/null and b/10/umbraco-forms/editor/attaching-workflows/images/workflow-conditions.png differ diff --git a/12/umbraco-forms/editor/attaching-workflows/README.md b/12/umbraco-forms/editor/attaching-workflows/README.md index 440837dac43..b04f5ede06d 100644 --- a/12/umbraco-forms/editor/attaching-workflows/README.md +++ b/12/umbraco-forms/editor/attaching-workflows/README.md @@ -48,7 +48,19 @@ Once the Workflow Type has been selected, you will need to configure the workflo To use data from the submitted Form in your workflow, head over to the [Magic Strings](../../developer/magic-strings.md) article and learn more about how that's done. -Fill in the settings and hit **Submit**. The workflow is added to your Form and it will be shown at the bottom of the page. +### Configuring Condition on a Workflow + +You can apply conditions to a workflow that trigger it only under specific circumstances. After adding the desired workflow type (for example, sending an email), you can add a condition to the workflow. + +Select **Enable conditions** to open the condition editor. In the condition editor, you will see options to create logic that determines when the workflow should run. The condition is generally based on the values of the form fields. + +For example: You have a form with a dropdown field labeled **Preferred Contact Method** with options such as **Email** and **Phone**. You can set up a workflow that sends an email notification only when the user selects **Email**. + +![Workflow Conditions](images/workflow-conditions.png) + +Now, this email notification will only be sent when the user selects **Email** as their preferred contact method. + +Fill in the rest of the settings and click **Submit**. The workflow is added to your Form and displayed at the bottom of the page. ## Workflow Processing diff --git a/12/umbraco-forms/editor/attaching-workflows/images/workflow-conditions.png b/12/umbraco-forms/editor/attaching-workflows/images/workflow-conditions.png new file mode 100644 index 00000000000..e512d320b9f Binary files /dev/null and b/12/umbraco-forms/editor/attaching-workflows/images/workflow-conditions.png differ diff --git a/13/umbraco-forms/editor/attaching-workflows/README.md b/13/umbraco-forms/editor/attaching-workflows/README.md index 440837dac43..b04f5ede06d 100644 --- a/13/umbraco-forms/editor/attaching-workflows/README.md +++ b/13/umbraco-forms/editor/attaching-workflows/README.md @@ -48,7 +48,19 @@ Once the Workflow Type has been selected, you will need to configure the workflo To use data from the submitted Form in your workflow, head over to the [Magic Strings](../../developer/magic-strings.md) article and learn more about how that's done. -Fill in the settings and hit **Submit**. The workflow is added to your Form and it will be shown at the bottom of the page. +### Configuring Condition on a Workflow + +You can apply conditions to a workflow that trigger it only under specific circumstances. After adding the desired workflow type (for example, sending an email), you can add a condition to the workflow. + +Select **Enable conditions** to open the condition editor. In the condition editor, you will see options to create logic that determines when the workflow should run. The condition is generally based on the values of the form fields. + +For example: You have a form with a dropdown field labeled **Preferred Contact Method** with options such as **Email** and **Phone**. You can set up a workflow that sends an email notification only when the user selects **Email**. + +![Workflow Conditions](images/workflow-conditions.png) + +Now, this email notification will only be sent when the user selects **Email** as their preferred contact method. + +Fill in the rest of the settings and click **Submit**. The workflow is added to your Form and displayed at the bottom of the page. ## Workflow Processing diff --git a/13/umbraco-forms/editor/attaching-workflows/images/workflow-conditions.png b/13/umbraco-forms/editor/attaching-workflows/images/workflow-conditions.png new file mode 100644 index 00000000000..e512d320b9f Binary files /dev/null and b/13/umbraco-forms/editor/attaching-workflows/images/workflow-conditions.png differ diff --git a/14/umbraco-forms/editor/attaching-workflows/README.md b/14/umbraco-forms/editor/attaching-workflows/README.md index 041739f2149..2885acb1e55 100644 --- a/14/umbraco-forms/editor/attaching-workflows/README.md +++ b/14/umbraco-forms/editor/attaching-workflows/README.md @@ -48,7 +48,19 @@ Once the Workflow Type has been selected, you will need to configure the workflo To use data from the submitted Form in your workflow, head over to the [Magic Strings](../../developer/magic-strings.md) article and learn more about how that's done. -Fill in the settings and hit **Submit**. The workflow is added to your Form and it will be shown at the bottom of the page. +### Configuring Condition on a Workflow + +You can apply conditions to a workflow that trigger it only under specific circumstances. After adding the desired workflow type (for example, sending an email), you can add a condition to the workflow. + +Select **Enable conditions** to open the condition editor. In the condition editor, you will see options to create logic that determines when the workflow should run. The condition is generally based on the values of the form fields. + +For example: You have a form with a dropdown field labeled **Preferred Contact Method** with options such as **Email** and **Phone**. You can set up a workflow that sends an email notification only when the user selects **Email**. + +![Workflow Conditions](images/workflow-conditions.png) + +Now, this email notification will only be sent when the user selects **Email** as their preferred contact method. + +Fill in the rest of the settings and click **Submit**. The workflow is added to your Form and displayed at the bottom of the page. ## Workflow Processing diff --git a/14/umbraco-forms/editor/attaching-workflows/images/workflow-conditions.png b/14/umbraco-forms/editor/attaching-workflows/images/workflow-conditions.png new file mode 100644 index 00000000000..c40623927ca Binary files /dev/null and b/14/umbraco-forms/editor/attaching-workflows/images/workflow-conditions.png differ