{"id":5832,"date":"2024-05-14T08:00:02","date_gmt":"2024-05-14T08:00:02","guid":{"rendered":"https:\/\/www.process.st\/help\/docs\/conditional-logic\/"},"modified":"2026-06-02T17:12:12","modified_gmt":"2026-06-02T17:12:12","slug":"conditional-logic","status":"publish","type":"ht_kb","link":"https:\/\/www.process.st\/help\/docs\/conditional-logic\/","title":{"rendered":"Conditional Logic in Workflows"},"content":{"rendered":"<p><a href=\"https:\/\/www.process.st\/\">Process Street<\/a>&#8216;s Conditional Logic is a powerful feature that allows you to create truly dynamic <a href=\"https:\/\/www.process.st\/help\/docs\/running-checklists\/\">workflow runs<\/a> with <em>if-this-then-that<\/em> logic.<\/p>\n<p>If your workflows are more complex, you can also create rules that say <em>if-this-<strong>and\/or<\/strong>-this-then-that.<\/em><\/p>\n<p>You can build paths into your workflows that change depending on actions that occur within the workflow run.<\/p>\n<p><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/7QqgsNkGWJE\" width=\"100%\" height=\"406\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><span data-mce-type=\"bookmark\" style=\"display: inline-block; width: 0px; overflow: hidden; line-height: 0;\" class=\"mce_SELRES_start\">\ufeff<\/span><span data-mce-type=\"bookmark\" style=\"display: inline-block; width: 0px; overflow: hidden; line-height: 0;\" class=\"mce_SELRES_start\">\ufeff<\/span><\/iframe><\/p>\n<p><strong><em>Users: In order to add or edit Conditional Logic, you must be an Administrator or a <a href=\"https:\/\/www.process.st\/help\/docs\/what-is-a-full-member\/\">Builder<\/a> who has been given \u2018<a href=\"https:\/\/www.process.st\/help\/docs\/permissions\/\">edit<\/a>\u2019 access by your Administrator.<\/em><\/strong><\/p>\n<h2>Example use cases<\/h2>\n<ul>\n<li>You are running a new hire onboarding process with tasks that cross over from your HR team to your IT team. Depending on the type of role chosen from a dropdown field in your workflow run, this reveals a list of text instructions that appear in a task assigned to the IT team. This allows them to set up specific equipment and accounts, related to that person\u2019s role.<\/li>\n<li>You have a client choosing products from a multiple-choice field in your workflow run. Once they make their selections, more fields appear in the task that relates to their specific choice of products. They select their budget range and another field appears, from here they can select the appropriate size from another field, and then finally their choice of color. Once that\u2019s done you can complete their order.<\/li>\n<li>You are running a training program and would like to quiz your attendees at the end of the program to test their retention. Using trigger words for the correct response, you can show the next fields in the quiz that they need to complete, or (if they answer incorrectly) a field that tells them they have made an incorrect response and to try again.<\/li>\n<\/ul>\n<h2>Conditional Logic options<\/h2>\n<p>There are two ways to create conditional logic rules in your workflows. The first is to show or hide content <em><strong>within a task<\/strong><\/em>, the second is to show or hide whole <em><strong>tasks or headings<\/strong><\/em>.<\/p>\n<h2>Setting up Conditional Logic<\/h2>\n<p>Whichever way you choose to set up Conditional Logic, you\u2019ll need to start by <a href=\"https:\/\/www.process.st\/help\/docs\/editing-templates\/\">editing a workflow<\/a>.<\/p>\n<p><strong>Preparations: <\/strong>For conditional Logic to work, you will need to have built out some tasks and also added at least one <a href=\"https:\/\/www.process.st\/help\/docs\/form-fields\/\">form field<\/a> into your workflow. This form field will be the trigger that shows or hides the details in your workflow run once it\u2019s started.<\/p>\n<p>We also recommend that your workflow is fully built out before you start adding conditional logic to it.<\/p>\n<h2>Conditional Logic within a task<\/h2>\n<p>Conditional logic within tasks allows you to build logic in one clear view so that it\u2019s easy to manage the rules you set up and see which fields you are impacting. This option also shortens the length of your overall workflow and the workflow runs you create from it.<\/p>\n<p>Let\u2019s take a look at how to set this up in your workflows with a simple example from an <a href=\"https:\/\/www.process.st\/help\/docs\/employee-onboarding\/\">employee onboarding workflow<\/a>.<\/p>\n<p><a href=\"https:\/\/www.process.st\/help\/docs\/editing-templates\/\">Edit your workflow<\/a> and go to the task where you want to add Conditional Logic. Click the <strong>&#8216;Conditional Logic&#8217;<\/strong> icon in the top center of the task or the top left of your screen.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-8109\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/05\/CL-rules-create.png\" alt=\"\" width=\"100%\" srcset=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/05\/CL-rules-create.png 1024w, https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/05\/CL-rules-create-300x150.png 300w, https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/05\/CL-rules-create-768x384.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p><strong>Note:<\/strong> Opening the conditional logic rules in a task will show you the rules and form fields related to that task only. To view all the existing rules and form fields, click on <strong>View All<\/strong> in the top right corner as shown above.<\/p>\n<h3>Hide content by default<\/h3>\n<p>One of the easiest ways to start using Conditional Logic is to start by <strong>hiding<\/strong> some information by default, and then <strong>showing<\/strong> it later.<\/p>\n<p>Once you\u2019ve clicked the Conditional Logic button you will see the window below open up. Click on the words \u201c<strong>Hidden<\/strong>\u201d as shown below. Next, select the tasks or fields you want to keep hidden automatically. You can click on the &gt; arrow to reveal all of the content fields within those tasks, then click <strong>&#8216;Save&#8217;<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-14997\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/hide-for-cl.gif\" alt=\"\" width=\"100%\" \/><\/p>\n<p>In this example, we hid the send email fields so that they don&#8217;t show when we first run the workflow. We will show them again using a <strong>rule<\/strong>. This is what you&#8217;re going to add next.<\/p>\n<p><strong>Note:<\/strong> When you set up a rule to show content that you have not previously hidden, saving the rule automatically hides it by default.<\/p>\n<h3>Add rules to show or hide content<\/h3>\n<p>Now you can set up the rule\/s for your logic, which will act as the trigger for your content to appear.<\/p>\n<p>If you\u2019re adding rules for the first time, click <strong>+ Add rule<\/strong> in the center of your screen to add your first rule.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8118\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/05\/CL-add-rule.png\" alt=\"\" width=\"1024\" height=\"512\" srcset=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/05\/CL-add-rule.png 1024w, https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/05\/CL-add-rule-300x150.png 300w, https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/05\/CL-add-rule-768x384.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>Next, choose a task or form field that will act as the trigger for your rule. This could be a dropdown, multi-choice field, number field, date field, or some text (more on these options below).<\/p>\n<p>We already added a dropdown form field into our workflow to act as the trigger for this rule, it&#8217;s called &#8220;Has the leave been approved?&#8221;<\/p>\n<p>If the answer to the question is &#8220;Yes&#8221; then we want to show the same form fields we hid earlier:<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-17051\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/CL-create-rules.gif\" alt=\"\" width=\"100%\" \/><\/p>\n<p>Depending on which type of form field you use as your trigger, you may see different <a href=\"#rule-options\">rule selections<\/a>.<\/p>\n<p>If you already have some rules in place, click the <strong>+ button<\/strong>\u00a0on the right side, to add a new rule.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-15000\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/add-more-rules.png\" alt=\"\" width=\"100%\" \/><\/p>\n<p>Click the <strong>+ button<\/strong> to add more rules, or the three-dot menu to <strong>Duplicate, Move,<\/strong>\u00a0or <strong>Delete<\/strong> a rule.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-15002\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/add-more-rules1.png\" alt=\"\" width=\"100%\" \/><\/p>\n<p>Click &#8220;<strong>Done<\/strong>&#8221; when you&#8217;re finished and then &#8220;<strong>Save<\/strong>&#8221; in the bottom right-hand corner.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-15003\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/save-cl-rules.png\" alt=\"\" width=\"100%\" \/><\/p>\n<p>This saves the changes to your conditional logic rules and then we recommend you also\u00a0<b>publish <\/b>the changes and run your workflow to test it, as shown below:<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-14025\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/CL.gif\" alt=\"\" width=\"100%\" \/><\/p>\n<p><strong>Note:<\/strong> If you&#8217;re showing or hiding <a href=\"https:\/\/www.process.st\/help\/docs\/video-widget\/\">video content<\/a>, make sure to give your videos a description, as this will differentiate one video from another when setting up your rules.<\/p>\n<h3>Add And\/Or rules in complex workflows<\/h3>\n<p>If you need your rules to follow complex logic, you can add And\/Or while creating your rules.<\/p>\n<p><span style=\"font-weight: 400;\">For instance,<\/span><span style=\"font-weight: 400;\"> in an Employee Onboarding workflow, If the employee is in USA AND is a full-time employee OR works onsite Then, show benefits.<\/span><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-14992\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/or.gif\" alt=\"\" width=\"100%\" \/><\/p>\n<p>You can add as many And\/Or conditions as you need including multiple And rules, multiple Or rules or a mix of both.<\/p>\n<h2>Conditional Logic on tasks &amp; headings<\/h2>\n<p>Let\u2019s take a look at how to set up a different Conditional Logic example, this time to show or hide <strong>tasks or headings<\/strong> in your workflow runs.<\/p>\n<p><a href=\"https:\/\/www.process.st\/help\/docs\/editing-templates\/\">Edit your workflow<\/a> and hit the &#8220;<strong>Conditional Logic<\/strong>&#8221; button in the top right corner of your screen.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-15004\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/open-CL-rules1.gif\" alt=\"\" width=\"100%\" \/><\/p>\n<h3>Hide tasks &amp; headings by default<\/h3>\n<p>One of the easiest ways to start using Conditional Logic is to start by <strong>hiding<\/strong> tasks or headings by default and then <strong>showing<\/strong> them again later.<\/p>\n<p>Once you\u2019ve clicked the Conditional Logic button you will see the window below open up.<\/p>\n<p>Click on the words \u201c<strong>Hidden<\/strong>\u201d as shown below then choose the task or heading you would like to hide automatically.<\/p>\n<p>When you make selections for headings or tasks, <strong>headings<\/strong> are indented slightly to the left of your view, and <strong>tasks<\/strong> are indented slightly to the right. The right arrow <strong>&gt;<\/strong> opens up the content within your tasks as shown below.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-15005\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/hide-heading.gif\" alt=\"\" width=\"100%\" \/><\/p>\n<p>In the example above, we hid one task by default. We will show it again using a <strong>rule<\/strong>. This is what you\u2019re going to add next.<\/p>\n<p><strong>Note:<\/strong> When you set up a rule to show tasks or headings that you have not previously hidden, saving the rule automatically hides them by default.<\/p>\n<h3>Add rules to show or hide tasks<\/h3>\n<p>Now you can set up the rule\/s for your logic, which will act as the trigger for your tasks or headings to appear.<\/p>\n<p>If you\u2019re adding rules for the first time, click the button in the center of your screen to add a rule.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-14033\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/add-rule.png\" alt=\"\" width=\"100%\" \/><\/p>\n<p>If you already have some rules in place, click the <strong>+ button<\/strong>\u00a0on the right, to add a new rule.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-15000\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/add-more-rules.png\" alt=\"\" width=\"100%\" \/><\/p>\n<p>Next, you\u2019re going to choose the task or form field that will act as the trigger for your rule. This could be a dropdown, multi-choice field, number field, date field, or some text (more on these options below).<\/p>\n<p>We already added a dropdown form field into our workflow to act as the trigger for this rule, it\u2019s called \u201cHas the leave been approved?&#8221;<\/p>\n<p>If the answer to the question is \u201cYes\u201d then we want to show the task we hid earlier:<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-17050\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/CL-set-rules.gif\" alt=\"\" width=\"100%\" \/><\/p>\n<p>Depending on which type of form field you use as your trigger, you may see different <a href=\"https:\/\/www.process.st\/help\/docs\/conditional-logic\/#rule-options\">rule selections<\/a>.<\/p>\n<p>Click the <strong>+<\/strong> <strong>button<\/strong> to add more rules, or the three-dot menu to <strong>Duplicate<\/strong>, <strong>Move,<\/strong> or <strong>Delete<\/strong> a rule.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-15002\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/add-more-rules1.png\" alt=\"\" width=\"100%\" \/><\/p>\n<p>Click &#8220;<strong>Done<\/strong>&#8221; when you&#8217;re finished and then &#8220;<strong>Save<\/strong>&#8221; in the bottom right-hand corner.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-15003\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/save-cl-rules.png\" alt=\"\" width=\"100%\" \/><\/p>\n<p>This saves the changes to your conditional logic rules and then we recommend you <b>publish\u00a0<\/b>the changes and run your workflow to test it, as shown below:<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-14042\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/cl-show-task.gif\" alt=\"\" width=\"100%\" \/><\/p>\n<h2>Delay tasks and content release<\/h2>\n<p>You can set up conditional logic rules to show tasks and their content by a delayed timeframe, based on the workflow run start date. This can help to improve your team&#8217;s focus and productivity by showing tasks in batches.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-7894\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/05\/cl-delay-rule.png\" alt=\"\" width=\"100%\" srcset=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/05\/cl-delay-rule.png 1024w, https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/05\/cl-delay-rule-300x150.png 300w, https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/05\/cl-delay-rule-768x384.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<h2>Print and export conditional logic rules<\/h2>\n<p>Printing or saving the conditional logic rules set up in your workflow can help with compliance audits or analysis .<\/p>\n<p>To print or export your rules, go to your workflow&#8217;s view mode and click the three dots in the top-right corner. Then select <strong>Print Conditional Logic Rules<\/strong> and print or save them as a PDF.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-8107\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/04\/print-cl-rules.gif\" alt=\"\" width=\"100%\" \/><\/p>\n<h2><a id=\"rule-options\"><\/a>Rule selection options<\/h2>\n<p>In the two examples above (for Conditional Logic <strong>within<\/strong> a task, and hiding or showing a <strong>task<\/strong>) we used a <a href=\"https:\/\/www.process.st\/help\/docs\/form-fields\/\">dropdown form field<\/a> as the trigger for our rules. Using dropdowns (or multi-choice fields are two of the simplest ways to set up Conditional Logic.<\/p>\n<h3>Choosing Tasks<\/h3>\n<p>When you create Conditional Logic rules, the first drop-down you see &#8220;Select task or form field&#8230;&#8221; presents you with a list of all the tasks from your workflow that can be used. You can create conditional logic rules based on whether a task is completed.<\/p>\n<p>You can also create a rule based on whether an <a href=\"https:\/\/www.process.st\/help\/docs\/approvals\/\">approval<\/a> task or an <a href=\"https:\/\/www.process.st\/help\/docs\/ai-tasks\/\">AI task<\/a> is completed.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-17048\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/CL-task-condition.png\" alt=\"\" width=\"100%\" \/><\/p>\n<p>Select a task from the dropdown above and choose whether the task should be checked or unchecked. Then select <strong>Hide<\/strong> any other task, form field, or content widget from your workflow<\/p>\n<p>You can also choose to <strong>hide content by default<\/strong> and then choose to <strong>Show<\/strong> it when a task is checked or unchecked. Go to the <strong>Hidden<\/strong> tab then choose the task or heading you would like to hide automatically, then create a rule for your task.<\/p>\n<p>Once you have your task conditions in place, <a href=\"https:\/\/www.process.st\/help\/publish-and-run\/\">publish and run<\/a> your workflow to test it. If you have hidden a following task, heading, form field, or content widget by default, it will not be shown in the task sidebar of your active workflow run. Complete a task with conditions to show it, as shown below.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-17049\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/CL-task-conditions.gif\" alt=\"\" width=\"100%\" \/><\/p>\n<h3>Choosing Form Fields<\/h3>\n<p>The same drop-down as above, &#8220;Select task or form field&#8230;&#8221; also presents you with a list of all the form fields from your workflow. (Hint: the more form fields you add to your workflow, the more you can choose from in Conditional Logic rules)<\/p>\n<p>The icon to the left of the field name indicates the type of form field that you are working with (e.g. a text field, email, website, or date field).<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-17047\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/CL-select-task-or-form-field.png\" alt=\"\" width=\"100%\" \/><\/p>\n<p>These are the current form fields and their input types that can be used for setting Conditional Logic rules.<\/p>\n<p><strong>Text Accepting Fields:<\/strong><\/p>\n<ul>\n<li>Short Text<\/li>\n<li>Long Text<\/li>\n<li>Email<\/li>\n<li>Website<\/li>\n<li>Hidden field<\/li>\n<\/ul>\n<p><strong>Non-Text Accepting Fields:<\/strong><\/p>\n<ul>\n<li>Date<\/li>\n<li>Drop-down<\/li>\n<li>Multi-choice<\/li>\n<li>Number<\/li>\n<li>Send Email<\/li>\n<li>User<\/li>\n<\/ul>\n<h3>Setting Conditions<\/h3>\n<p>The next dropdown you&#8217;ll see after the form fields lists the different types of conditions available for your chosen field.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-14044\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/x.png\" alt=\"\" width=\"100%\" \/><\/p>\n<h2>Advanced options<\/h2>\n<p>In the examples above, we used a simple dropdown field as our trigger, to show content, tasks, or headings. However, depending on your workflow you can also set logic rules on the following, more advanced fields:<\/p>\n<h2>Text Accepting Fields<\/h2>\n<h3>Short and Long text fields<\/h3>\n<p>For short or long text fields, any value can be typed into the third field along.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-14045\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/text-rule.png\" alt=\"\" width=\"100%\" \/><\/p>\n<p>Your condition choices on text fields are:<\/p>\n<ul>\n<li>is<\/li>\n<li>is not<\/li>\n<li>starts with<\/li>\n<li>ends with<\/li>\n<li>contains<\/li>\n<li>does not contain<\/li>\n<li>has no value<\/li>\n<li>has any value<\/li>\n<\/ul>\n<h3>Email Fields<\/h3>\n<p>Email fields are similar to text fields, in that anything can be typed into the third box along. Email fields also have the same condition options as text fields:<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-14046\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/1.png\" alt=\"\" width=\"100%\" \/><\/p>\n<h3>Website Fields<\/h3>\n<p>Website fields are similar to text and email fields, in that anything can be typed into the third box along. Website fields also have the same condition options:<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-14047\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/2.png\" alt=\"\" width=\"100%\" \/><\/p>\n<h3>Hidden Fields<\/h3>\n<p>If you are using a hidden field with <a href=\"https:\/\/www.process.st\/help\/kb\/integrations\/\">automations and integrations<\/a>, you can also use this field in your conditional logic rules:<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-14048\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/3.png\" alt=\"\" width=\"100%\" \/><\/p>\n<h2>Non-Text Accepting Fields<\/h2>\n<h3>Date Fields<\/h3>\n<p>For Date fields, you can base your conditional logic rules on a date and time you select using the date picker.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-16526\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/CL-date.png\" alt=\"\" width=\"100%\" \/><\/p>\n<p>Your condition choices on date fields are:<\/p>\n<ul>\n<li>is after<\/li>\n<li>is before<\/li>\n<li>is equal to<\/li>\n<li>is not equal to<\/li>\n<li>is empty<\/li>\n<li>is not empty<\/li>\n<\/ul>\n<h3>Dropdown Fields<\/h3>\n<p>For Dropdown fields, you can create a rule by selecting one of the options from the dropdown field. If you want to display a different outcome for each of the dropdown options, you would have to create multiple rules.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-16525\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/CL-dropdown.png\" alt=\"\" width=\"100%\" \/><\/p>\n<p>Your condition choices on dropdown fields are:<\/p>\n<ul>\n<li>is<\/li>\n<li>is not<\/li>\n<li>has no value<\/li>\n<li>has any value<\/li>\n<\/ul>\n<h3>Number Fields<\/h3>\n<p>For Number fields, you can create rules based on the numeric value entered. Enter a number in the condition value to compare against.<\/p>\n<p>Your condition choices on number fields are:<\/p>\n<ul>\n<li>is equal to<\/li>\n<li>is not equal to<\/li>\n<li>is greater than<\/li>\n<li>is less than<\/li>\n<li>is empty<\/li>\n<li>is not empty<\/li>\n<\/ul>\n<h3>Multi-choice Fields<\/h3>\n<p>Multi-choice fields have slightly different condition options to dropdown fields as every multiple choice field can have more than one options as a response.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-14050\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/5.png\" alt=\"\" width=\"100%\" \/><\/p>\n<p>Your condition choices on multi-choice fields are:<\/p>\n<ul>\n<li>is exactly<\/li>\n<li>has any of<\/li>\n<li>has none of<\/li>\n<li>is empty<\/li>\n<li>is not empty<\/li>\n<\/ul>\n<p>If you&#8217;d like users to be able to make more than one selection in your multi-choice field, use the condition &#8220;<strong>has any of<\/strong>&#8220;.<\/p>\n<h3>User Fields<\/h3>\n<p>For user fields, you can create rules to show or hide information based on whether a person is selected in that field.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-16604\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/CL-member-field.png\" alt=\"\" width=\"100%\" \/><\/p>\n<p>Your condition choices on user fields are:<\/p>\n<ul>\n<li>is<\/li>\n<li>is empty<\/li>\n<li>is not empty<\/li>\n<\/ul>\n<h3>Send Email Fields<\/h3>\n<p>For Send Email fields, you can create rules based on whether or not the email has been sent during the workflow run.<\/p>\n<p>Your condition choices on Send Email fields are:<\/p>\n<ul>\n<li>is sent<\/li>\n<li>is not sent<\/li>\n<\/ul>\n<h2>Show versus hide?<\/h2>\n<p>In the examples we used above, we hid certain content or tasks by default, and then set the rules to show them when a condition is met.<\/p>\n<p>However, if you <strong>don\u2019t hide<\/strong> content or tasks by default first, you can set your rules to <strong>hide<\/strong> content or tasks when a condition is met instead.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-14051\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/6.png\" alt=\"\" width=\"100%\" \/><\/p>\n<h2>Managing and organizing rules<\/h2>\n<p>You can move your rules up and down to change the order that your logic will follow.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-15007\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/move-cl-rules.gif\" alt=\"\" width=\"100%\" \/><\/p>\n<p><strong>Note: <\/strong>Conditional Logic rules are applied in the top-to-bottom order. It&#8217;s a good idea to build your logic rules in the same order as the tasks in your workflow, for this reason.<\/p>\n<h2>Always be testing<\/h2>\n<p>We highly recommend you test out your Conditional Logic rules by first saving your rules, then saving the changes to your workflow, and running it.<\/p>\n<p>Start to fill out your workflow run and you&#8217;ll see the content fields or tasks and headings come into play, as your form field responses fit into the logic that you created.<\/p>\n<p>If your run doesn&#8217;t perform as expected, go back to edit your workflow and the conditional logic rules. Then save the rules, publish the workflow and test run it again.<\/p>\n<h2>Troubleshooting<\/h2>\n<p>Only use <strong>tasks<\/strong> to show or hide content, don&#8217;t try to show or hide content in headings &#8211; Whilst you can use Conditional Logic to show or hide <strong>headings<\/strong>, you should not add form fields into headings. Form fields and other content can only be shown or hidden within <strong>tasks.<\/strong><\/p>\n<p>Changes to pre-existing rules &#8211; If you have <strong>tasks and content<\/strong> hidden by default, and previously only had the <strong>tasks<\/strong> showing with a rule, then you will need to check off all the <strong>content<\/strong> within those tasks, to have them show or hide correctly in your workflow runs.<\/p>\n<p>If you have <strong>deleted<\/strong> content blocks or form fields that are shown or hidden by the conditional logic rules, you may have to reset your rules around the remaining blocks and tasks.<\/p>\n<p>If you have used a <strong>multi-choice<\/strong> field as your trigger, you may want to use the condition &#8220;has any of&#8221;. Create as many rules as you have options in your multi-choice field and use that same condition in each one.<\/p>\n<p>If you delete a form field or widget that is associated to any conditional logic rules, the relevant conditional logic rule will also be deleted automatically.<\/p>\n<p>If you delete a form field or widget with multiple And\/Or rules, the relevant rule will be deleted and the following rule will take its place.<\/p>\n<p>If you get stuck or have any questions, reach out to our <a href=\"https:\/\/www.process.st\/help\/docs\/support\/\">Process Pros team<\/a>.<\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n<ul>\n<li>How to <a href=\"https:\/\/www.process.st\/quiz-template\/\" target=\"_blank\" rel=\"noopener\">Create and Use a Quiz<\/a> in Process Street With Conditional Logic<\/li>\n<li>Conditional Logic Webinar Recording<a href=\"https:\/\/www.youtube.com\/watch?v=12-njGvVKzY&amp;t=1275s\"> (video)<\/a><\/li>\n<li>Conditional Logic &#8211; Create Branching Processes <a href=\"https:\/\/youtu.be\/7QqgsNkGWJE\">(video)<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Process Street&#8216;s Conditional Logic is a powerful feature that allows you to create truly dynamic workflow runs with if-this-then-that logic. If your workflows are more complex, you can also create rules that say if-this-and\/or-this-then-that. You can build paths into your workflows that change depending on actions that occur within the workflow run. \ufeff\ufeff Users: In [&hellip;]<\/p>\n","protected":false},"author":11,"template":"","meta":{"_acf_changed":false,"available_plan":"All plans","available_product":"Workflows","footnotes":""},"ht_kb_category":[158],"ht_kb_tag":[352,353,187],"class_list":["post-5832","ht_kb","type-ht_kb","status-publish","hentry","ht_kb_category-build-edit-workflows","ht_kb_tag-conditional-logic","ht_kb_tag-workflow","ht_kb_tag-workflow-runs"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.process.st\/help\/wp-json\/wp\/v2\/ht_kb\/5832","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.process.st\/help\/wp-json\/wp\/v2\/ht_kb"}],"about":[{"href":"https:\/\/www.process.st\/help\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.process.st\/help\/wp-json\/wp\/v2\/users\/11"}],"version-history":[{"count":11,"href":"https:\/\/www.process.st\/help\/wp-json\/wp\/v2\/ht_kb\/5832\/revisions"}],"predecessor-version":[{"id":10035,"href":"https:\/\/www.process.st\/help\/wp-json\/wp\/v2\/ht_kb\/5832\/revisions\/10035"}],"wp:attachment":[{"href":"https:\/\/www.process.st\/help\/wp-json\/wp\/v2\/media?parent=5832"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.process.st\/help\/wp-json\/wp\/v2\/ht_kb_category?post=5832"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.process.st\/help\/wp-json\/wp\/v2\/ht_kb_tag?post=5832"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}