---
schema_version: "1"
id: 8c558eaa0dd16e23e585e1663fc9073118c23c2f7eb53fe584a646504457fb42
title: Add Process Criteria
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/process_criteria.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.process_criteria.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 21388179d905a2bf2b08928bf6cb23695a43262d878840707e46aafc800f7e98
description: Define the criteria that must be true before the process can execute the associated actions.
products:
  - Flow Builder
  - Salesforce Platform
release: "264"
---
# Add Process Criteria

Define the criteria that must be true before the process can execute the associated actions.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: both Salesforce Classic (<a href="https://help.salesforce.com/s/articleView?id=xcloud.overview_edition_lex_only.htm&amp;language=en_US" target="_blank">not available in all orgs</a>) and Lightning Experience</td></tr><tr class="" id="process_criteria__d5222e343"><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <span id="process_criteria__d5222e347"><a name="process_criteria__d5222e347"></a><strong>Essentials</strong>, <strong>Professional</strong>, <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions</span></td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d276626e84">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="" id="process_criteria__d5222e977">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d276626e84 ">To create, edit, or view processes:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d276626e84 ">
              <p>Manage Flow</p>
              <p>AND</p>
              <p style="margin-bottom:0;">View All Data</p>
            </td>

          </tr>
        </tbody>
      </table>

![Important](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/images/icon_important.png)

Important Support and updates for Process Builder have ended as of December 31, 2025. This means that support won't be provided for any process and bugs in the Process Builder product won't be fixed. See [Workflow Rules & Process Builder End of Support](https://help.salesforce.com/s/articleView?id=001096524&type=1&language=en_US).

After December 31, 2025, existing processes continue to run, and you can activate, deactivate, and edit them; however, we recommend using Flow Builder. To migrate existing processes, plan your [switch to Flow Builder](https://help.salesforce.com/s/articleView?id=platform.flow_migrate_to_flow_learning_map.htm&release=264.0.0&type=5 "Flow Builder combines the capabilities of workflow rules and Process Builder in a single point-and-click tool, making it easier to create a triggered process. If you created triggered processes with workflow rules or Process Builder, use the Migrate to Flow tool to move them to Flow Builder. Start by migrating and testing in a sandbox environment before moving your new flows to production.") and use the [Migrate to Flow](https://help.salesforce.com/s/articleView?id=platform.flow_migrate_to_flow.htm&release=264.0.0&type=5 "Use the Migrate to Flow tool to convert your Process Builder processes and workflow rules into Flow Builder, including scheduled actions. The tool also supports partial migration of processes for most actions.") tool. For new automations, create flows in [Flow Builder](https://help.salesforce.com/s/articleView?id=platform.flow.htm&release=264.0.0&type=5 "Automation reduces repetitive work and helps your team complete tasks faster and more accurately. With Flow Builder, you can build simple or complex automations, forms, and guided experiences with no code. You can add forms to Salesforce pages and Experience sites, and launch flows using buttons, record triggers, or schedules.").

When the criteria are met, the process executes the associated action group. When criteria aren’t met, the process skips the action group and evaluates the criteria for the next action group.

1. Click **Add Criteria**.
2. Enter a name for this criteria node.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/images/icon_note.png)
    
    Note The name appears on the canvas, so use a name that helps you differentiate it from other criteria nodes. Actions have their own names, so we recommend summarizing only the criteria with this name. For example, if the criteria checks whether a case is escalated, use Is Escalated?.
3. Select the type of criteria that you must define. This selection determines which fields appear later in the dialog box. <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
            <colgroup>
              <col style="width:79.5%">
              <col style="width:20.5%">
            </colgroup>
            <thead class="slds-text-title_caps ">
              <tr class="">
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d276626e161">If you need...</th>
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d276626e163">Select</th>
              </tr>
            </thead>
            <tbody>
              <tr class="">
                <td data-label="If you need..." class="slds-cell-wrap" style="vertical-align:top;" headers="d276626e161 ">
                  <p>The record to have certain field values.</p>
                  <p>For example, to execute the
                    associated actions on opportunity records with an amount greater than $5,000,
                    set the filter
                    to:</p>
                  <pre class="line-numbers slds-box slds-box_x-small slds-theme_shade slds-m-top_medium slds-m-bottom_medium slds-scrollable_x"><code>[Opportunity].Amount greater than $5000.00</code></pre>
                </td>
                <td data-label="Select" class="slds-cell-wrap" style="vertical-align:top;" headers="d276626e163 ">Conditions are met</td>
              </tr>
              <tr class="">
                <td data-label="If you need..." class="slds-cell-wrap" style="vertical-align:top;" headers="d276626e161 ">
                  <p>To evaluate the record by using a formula.</p>
                  <p>For example, to execute the
                    associated actions on accounts whose annual revenue is over $1,000,000 when
                    the account is changed by someone other than the owner, use this
                    formula.</p>
                  <pre class="line-numbers slds-box slds-box_x-small slds-theme_shade slds-m-top_medium slds-m-bottom_medium slds-scrollable_x"><code>AND (([Account].LastModifiedBy.Id &lt;&gt; [Account].Owner.Id) , ([Account].AnnualRevenue &gt; 1000000) )</code></pre>
                </td>
                <td data-label="Select" class="slds-cell-wrap" style="vertical-align:top;" headers="d276626e163 ">Formula evaluates to true</td>
              </tr>
              <tr class="">
                <td data-label="If you need..." class="slds-cell-wrap" style="vertical-align:top;" headers="d276626e161 ">
                  <p>To simply execute the associated actions without evaluating the
                    record.</p>
                  <p style="margin-bottom:0;">The process executes all the actions that are associated with this
                    criteria node and, unless you specify otherwise, doesn’t evaluate any
                    remaining criteria nodes in the process. If you choose to stop your process
                    after executing these actions, we recommend choosing this option for only the
                    last criteria node in your process. </p>
                </td>
                <td data-label="Select" class="slds-cell-wrap" style="vertical-align:top;" headers="d276626e163 ">No criteria—execute the actions!</td>
              </tr>
            </tbody>
          </table>
4. If you selected “Conditions are met”:
    1. Define the filter conditions by identifying the field values that the process must evaluate. <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
                <colgroup>
                  <col style="width:11.49425287356322%">
                  <col style="width:88.5057471264368%">
                </colgroup>
                <tbody>
                  <tr class="">
                    <td class="slds-cell-wrap" style="vertical-align:top;"><samp class="parmname">Field</samp></td>
                    <td class="slds-cell-wrap" style="vertical-align:top;">
                      <p>Select the field whose value you want to evaluate. You can also
                        evaluate values for records that are related to the one that started the
                        process. To do so, click a related record with <span style="vertical-align:text-bottom;display:inline-block;"><img style="margin-bottom:0;" src="https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/platform_automation/images/process_builder/traverse.png" alt="Related record icon"></span> next
                        to the ID field.</p>
                      <p style="margin-bottom:0;">For example, if a contact record started the process, you
                        can evaluate the value for the contact’s account’s
                        <samp class="parmname">Annual Revenue</samp> field. To access that field, click
                        <samp class="parmname">Account Id</samp><span style="vertical-align:text-bottom;display:inline-block;"><img style="margin-bottom:0;" src="https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/platform_automation/images/process_builder/traverse.png" alt="Related record icon"></span>, select <strong class="uicontrol">Annual
                          Revenue</strong>, and then click
                        <strong class="uicontrol">Choose</strong>.
                      </p>
                    </td>
                  </tr>
                  <tr class="">
                    <td class="slds-cell-wrap" style="vertical-align:top;"><samp class="parmname">Operator</samp></td>
                    <td class="slds-cell-wrap" style="vertical-align:top;">The available operators depend on the field’s data type.</td>
                  </tr>
                  <tr class="">
                    <td class="slds-cell-wrap" style="vertical-align:top;"><samp class="parmname">Type</samp></td>
                    <td class="slds-cell-wrap" style="vertical-align:top;">The available value types depend on the field’ data
                      type.</td>
                  </tr>
                  <tr class="">
                    <td class="slds-cell-wrap" style="vertical-align:top;"><samp class="parmname">Value</samp></td>
                    <td class="slds-cell-wrap" style="vertical-align:top;">Identify the value that you want to evaluate the field for. See <a href="https://help.salesforce.com/s/articleView?id=platform.process_userinterface_values.htm&amp;release=264.0.0&amp;type=5" title="Throughout the Process Builder, you must set values, for example, to set conditions in a criteria node, to set the fields on a new case in a Create a Record action, or to specify an Apex method to reference.">Setting Values in the Process Builder</a> for details.</td>
                  </tr>
                </tbody>
              </table>
    2. For Conditions, identify which conditions must be true for the process to execute the associated actions.
        
        If you choose to use custom logic, enter up to 1000 characters by using:
        
        - Numbers to refer to each condition
        - AND, OR, or NOT to identify which combination of conditions must be true
        - Parentheses to group parts of the string together
        
        For example, if you enter 1 AND NOT (2 OR 3), the outcome evaluates to true if the first condition is true and the second or third outcome is false.
        
        ![Tip](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/images/icon_tip.png)
        
        Tip Ambiguous logic can cause validation errors. To avoid ambiguity, use parentheses in your custom logic. For example:
        
        - 1 AND 2 OR 3 results in an error
        - 1 AND (2 AND 3) OR 4 doesn't result in an error
5. If you selected “Formula evaluates to true,” define the formula.
6. Optionally, to specify whether you want to execute the actions only if the record was created or edited to meet criteria, click **Advanced** at the bottom of the panel.
    
    For details, see [Avoid Unwanted Actions in Processes](https://help.salesforce.com/s/articleView?id=platform.process_advanced_previously_met.htm&release=264.0.0&type=5 "When you add criteria to your process, you can choose to execute actions when specified criteria change.").
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/images/icon_note.png)
    
    Note This setting is available only if the process starts when a record is created or edited and you selected “Filter conditions are met” or “Formula evaluates to true.”
7. Click **Save**.

#### See Also

- [Execute Actions for Multiple Criteria](https://help.salesforce.com/s/articleView?id=platform.process_next_criteria.htm&release=264.0.0&type=5 "Choose whether to stop or continue your process after specific criteria are met and associated actions execute.")