---
schema_version: "1"
id: 329e9e4360820df295ac717ea7d336b41f1d2caf39df4015d8a5561079c0bda4
title: Workflow Rule Examples
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/workflow_examples.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.workflow_examples.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 2b883a5f571a0c102dbe2a450b25d9cd49837330e9f33ad71cf1a523b0d1eb6f
description: Looking for ideas on how workflow rules can help streamline your business? Check out these examples.
products:
  - Flow Builder
  - Salesforce Platform
release: "264"
---
# Workflow Rule Examples

Looking for ideas on how workflow rules can help streamline your business? Check out these examples.

### Required Editions

![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 Workflow Rules have ended as of December 31, 2025. This means that support won't be provided for any workflow rules and bugs in the Workflow Rules 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 workflow rules continue to run, and you can activate, deactivate, and edit them; however we recommend using Flow Builder. To migrate existing workflow rules, 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.").

![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 Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.

<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: Lightning Experience and Salesforce Classic</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions</td></tr></tbody></table>

Business Processes

- [Follow Up Before Contract Expires](https://help.salesforce.com/s/articleView?id=platform.workflow_examples.htm&release=264.0.0&type=5)
- [Follow Up when Platinum Contract Case Closes](https://help.salesforce.com/s/articleView?id=platform.workflow_examples.htm&release=264.0.0&type=5)
- [Assign Credit Check for New Customer](https://help.salesforce.com/s/articleView?id=platform.workflow_examples.htm&release=264.0.0&type=5)
- [Notify Account Owner About New, High-Priority Cases](https://help.salesforce.com/s/articleView?id=platform.workflow_examples.htm&release=264.0.0&type=5)
- [Set a Default Entitlement for Each New Case](https://help.salesforce.com/s/articleView?id=platform.workflow_examples.htm&release=264.0.0&type=5)
- [Update Shipment Status if Shipment is Delayed](https://help.salesforce.com/s/articleView?id=platform.workflow_examples.htm&release=264.0.0&type=5)
- [Automatically Activate New Users](https://help.salesforce.com/s/articleView?id=platform.workflow_examples.htm&release=264.0.0&type=5)

Cross-Object Processes

- [Notify Sales VP About Cases Filed for Top Accounts](https://help.salesforce.com/s/articleView?id=platform.workflow_examples.htm&release=264.0.0&type=5)
- [Set Default Opportunity Name](https://help.salesforce.com/s/articleView?id=platform.workflow_examples.htm&release=264.0.0&type=5)
- [Set Target Resolution Date for Cases](https://help.salesforce.com/s/articleView?id=platform.workflow_examples.htm&release=264.0.0&type=5)
- [Update Application Record when Candidate Accepts Job](https://help.salesforce.com/s/articleView?id=platform.workflow_examples.htm&release=264.0.0&type=5)

Deal Management

- [Track Closed Opportunities](https://help.salesforce.com/s/articleView?id=platform.workflow_examples.htm&release=264.0.0&type=5)
- [Override Default Opportunity Close Date](https://help.salesforce.com/s/articleView?id=platform.workflow_examples.htm&release=264.0.0&type=5)
- [Report Lost Opportunities](https://help.salesforce.com/s/articleView?id=platform.workflow_examples.htm&release=264.0.0&type=5)
- [Report Unassigned Leads](https://help.salesforce.com/s/articleView?id=platform.workflow_examples.htm&release=264.0.0&type=5)
- [Send Alert if Quote Line Item Discount Exceeds 40%](https://help.salesforce.com/s/articleView?id=platform.workflow_examples.htm&release=264.0.0&type=5)

Notifications

- [Notify Key People About Account Owner Changes](https://help.salesforce.com/s/articleView?id=platform.workflow_examples.htm&release=264.0.0&type=5)
- [Set Reminder for Contact Birthday](https://help.salesforce.com/s/articleView?id=platform.workflow_examples.htm&release=264.0.0&type=5)
- [Set Reminder for High-Value Opportunity Close Date](https://help.salesforce.com/s/articleView?id=platform.workflow_examples.htm&release=264.0.0&type=5)
- [Notify Account Owner of Updates by Others](https://help.salesforce.com/s/articleView?id=platform.workflow_examples.htm&release=264.0.0&type=5)

## Follow Up Before a Contract Expires

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:22%">
          <col style="width:78%">
        </colgroup>
        <tbody>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Object</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Contract</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Description</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Email a reminder to the renewal manager 20 days before a contract’s
              end date.</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Evaluation Criteria</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Evaluate the rule when a record is: created, and anytime it’s edited
              to subsequently meet criteria</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Rule Criteria (Filter)</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">
              <p>Run this rule if the following criteria are
                met.</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>(Contract: Status equals Activated)</code></pre>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Immediate Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">None</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Time-Dependent Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">20 Days Before Contract: End Date—<samp class="parmname">Email Alert:</samp>
              Email a reminder to the renewal manager to confirm whether the client wants an
              extension.</td>

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

## Follow Up When a Platinum Contract Case Closes

This example assumes that a Contract Type custom picklist is used to identify the contract level on cases and that the picklist contains the Platinum value.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:22%">
          <col style="width:78%">
        </colgroup>
        <tbody>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Object</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Case</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Description</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">If the customer has a platinum contract agreement, email a feedback request
              to the case contact 7 days after a high-priority case has been closed.</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Evaluation Criteria</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Evaluate the rule when a record is: created, and anytime it’s edited
              to subsequently meet criteria</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Rule Criteria (Filter)</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">
              <p>Run this rule if the following criteria are
                met.</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>(Case: Priority equals High) and 
(Case: Closed equals True) and 
(Case: Contract Type equals Platinum)</code></pre>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Immediate Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">None</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Time-Dependent Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">7 Days After Case: Date/Time Closed—<samp class="parmname">Email Alert:</samp>
              Email a feedback request to the case contact.</td>

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

## Assign Credit Check for a New Customer

This example assumes that a New Customer custom field is on opportunities.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:22%">
          <col style="width:78%">
        </colgroup>
        <tbody>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Object</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Opportunity</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Description</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Assign the Accounts Receivable (AR) department a task to check the credit of
              a potential customer 15 days before the opportunity close date if the amount is
              greater than $50,000.</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Evaluation Criteria</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Evaluate the rule when a record is: created, and anytime it’s edited
              to subsequently meet criteria</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Rule Criteria (Filter)</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">
              <p>Run this rule if the following criteria are
                met.</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 50000) and 
(Opportunity: Closed equals False) and 
(Opportunity: New Customer equals True)</code></pre>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Immediate Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">None</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Time-Dependent Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">15 Days Before Opportunity: Close Date—<samp class="parmname">Task:</samp>
              Create a task for users in the Accounts Receivable role to run a credit
              check.</td>

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

## Notify Account Owner About New, High-Priority Cases

This example assumes that a Service Level Agreement custom picklist called SLA identifies the agreement level on accounts and contains the Platinum value.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:22%">
          <col style="width:78%">
        </colgroup>
        <tbody>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Object</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Case</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Description</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Notify the account owner when a high-priority case is created for accounts
              with a platinum SLA.</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Evaluation Criteria</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Evaluate the rule when a record is: created</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Rule Criteria (Filter)</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">
              <p>Run this rule if the following criteria are
                met.</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>(Case: Priority equals High) and 
(Account: SLA equals Platinum)</code></pre>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Immediate Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;"><samp class="parmname">Email Alert:</samp> Email the details of the high-priority case
              to the account owner.</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Time-Dependent Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">None</td>

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

## Set a Default Entitlement for Each New Case

This example assumes that an active, autolaunched flow looks up the relevant entitlement based on the account, asset, or contact associated with the new case and updates the case with the entitlement name.

The pilot program for flow trigger workflow actions is closed. If you've already enabled the pilot in your org, you can continue to create and edit flow trigger workflow actions. If you didn't enable the pilot in your org, use Flow Builder to create a record-triggered flow, or use Process Builder to launch a flow from a process.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:22%">
          <col style="width:78%">
        </colgroup>
        <tbody>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Object</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Case</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Description</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Set a default entitlement on each new case.</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Evaluation Criteria</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Evaluate the rule when a record is: created</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Rule Criteria (Filter)</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">
              <p>Run this rule if the following criteria are
                met.</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>(Case: Status not equal to Closed)</code></pre>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Immediate Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;"><samp class="parmname">Flow Trigger:</samp> Look up and assign the relevant
              entitlement to the case. Pass the account, asset, or contact associated with the
              new case into the relevant flow variable to enable the entitlement lookup. Pass
              the case ID into the relevant flow variable to enable the case update.</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Time-Dependent Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">None.</td>

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

## Update Shipment Status If Shipment Is Delayed

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:22%">
          <col style="width:78%">
        </colgroup>
        <tbody>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Object</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Shipment</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Description</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Update the <samp class="parmname">Shipment Status</samp> field to Delayed if a
              shipment has exceeded the expected delivery date and hasn’t reached the
              customer.</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Evaluation Criteria</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Evaluate the rule when a record is: created, and anytime it’s edited
              to subsequently meet criteria</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Rule Criteria (Filter)</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">
              <p>Run this rule if the following criteria are
                met.</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>(Shipment: Status not equal to Delivered)</code></pre>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Immediate Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">None</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Time-Dependent Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">1 day after Shipment: Expected Delivery Date—<samp class="parmname">Field
                Update</samp>: Change <samp class="parmname">Shipment Status</samp> field to Delayed
              on Shipment record.</td>

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

## Automatically Activate New Users

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:22%">
          <col style="width:78%">
        </colgroup>
        <tbody>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Object</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">User</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Description</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Make sure that each new user is active so that the user can log in to
              Salesforce.</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Evaluation Criteria</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Evaluate the rule when a record is: created</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Rule Criteria (Filter)</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">
              <p>Run this rule if the following criteria are
                met.</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>(User: Active equals False)</code></pre>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Immediate Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;"><samp class="parmname">Field Update</samp>: Set <samp class="parmname">Active</samp> to
              True.</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Time-Dependent Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">None.</td>

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

## Notify Sales VP About Cases Filed for Top Accounts

This workflow rule is for sales VPs who want to know about cases filed for top accounts. Top accounts are determined by size and revenue.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:22%">
          <col style="width:78%">
        </colgroup>
        <tbody>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Object</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Case</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Description</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Notify sales VP about cases filed for top accounts.</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Evaluation Criteria</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Evaluate the rule when a record is: created</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Rule Criteria (Filter)</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">
              <p>Run this rule if the following criteria are
                met.</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.AnnualRevenue &gt; 500000, Account.NumberOfEmployees &gt; 5000)</code></pre>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Immediate Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;"><samp class="parmname">Email Alert:</samp> Notify VP about cases for large
              accounts.</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Time-Dependent Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">None</td>

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

## Set Default Opportunity Name

The opportunity naming convention for some companies is Account Name: Opportunity Name. To automate the default name of each opportunity in your org, create the following workflow rule.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:22%">
          <col style="width:78%">
        </colgroup>
        <tbody>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Object</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Opportunity</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Description</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Enforce opportunity naming convention.</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Evaluation Criteria</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Evaluate the rule when a record is: created, and every time it’s
              edited</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Rule Criteria (Filter)</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">
              <p>Run this rule if the following criteria are
                met.</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>NOT(CONTAINS( Name, Account.Name ))</code></pre>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Immediate Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">
              <p><samp class="parmname">Field Update</samp>: Set opportunity name to the following
                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>Account.Name &amp; ": " &amp; Name</code></pre>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Time-Dependent Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">None</td>

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

## Set Target Resolution Date for Cases

This example sets a case resolution date based on the value of a field on the associated account. It uses a custom picklist field on accounts called Support Level, which has three values: Basic, Standard, and Premium. It also has a custom date field on cases called Target Resolution Date.

Use the following three workflow rule examples to set the target resolution date of a case based on the support level for the related account.

Set Resolution Date for Basic Support

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:22%">
          <col style="width:78%">
        </colgroup>
        <tbody>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Object</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Case</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Description</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Set the case target resolution date for accounts that have basic support
              level to 30 days from today.</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Evaluation Criteria</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Evaluate the rule when a record is: created</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Rule Criteria (Filter)</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">
              <p>Run this rule if the following formula is
                true.</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>ISPICKVAL(Account.Support_Level__c , "Basic")</code></pre>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Immediate Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;"><samp class="parmname">Field Update</samp>: Set the <samp class="parmname">Target Resolution
                Date</samp> to Today() + 30.</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Time-Dependent Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">None</td>

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

Set Resolution Date for Standard Support

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:22%">
          <col style="width:78%">
        </colgroup>
        <tbody>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Object</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Case</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Description</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Set the case target resolution date for accounts that have standard support
              level to 14 days from today.</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Evaluation Criteria</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Evaluate the rule when a record is: created</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Rule Criteria (Filter)</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">
              <p>Run this rule if the following formula is
                true.</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>ISPICKVAL(Account.Support_Level__c , "Standard")</code></pre>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Immediate Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;"><samp class="parmname">Field Update</samp>: Set the <samp class="parmname">Target Resolution
                Date</samp> to Today() + 14.</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">Time-Dependent Actions</td>

            <td class="slds-cell-wrap" style="vertical-align:top;">None</td>

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

Set Resolution Date for Premium Support

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:22%">
          <col style="width:78%">
        </colgroup>
        <tbody>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Object</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Case</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Description</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Set the case target resolution date for accounts that have premium support
              level to 5 days from today.</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Evaluation Criteria</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Evaluate the rule when a record is: created</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Rule Criteria (Filter)</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">
              <p>Run this rule if the following formula is
                true.</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>ISPICKVAL(Account.Support_Level__c , "Premium")</code></pre>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Immediate Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;"><samp class="parmname">Field Update</samp>: Set the <samp class="parmname">Target Resolution
                Date</samp> to Today() + 5.</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Time-Dependent Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">None</td>

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

## Update Application Record When Candidate Accepts Job

This workflow rule closes the Application record when a candidate accepts the job. Cross-object field updates to the main record are supported between custom objects in a main detail relationship.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:22%">
          <col style="width:78%">
        </colgroup>
        <tbody>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Object</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Candidate</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Description</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Change the <samp class="parmname">Application Status</samp> field to Closed for the
              custom Application object when the <samp class="parmname">Candidate Status</samp> field for
              the custom Candidate object changes to Accepted.</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Evaluation Criteria</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Evaluate the rule when a record is: created, and anytime it’s edited
              to subsequently meet criteria</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Rule Criteria (Filter)</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">
              <p>Run this rule if the following criteria are
                met.</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>(Candidate: Status equals Accepted)</code></pre>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Immediate Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;"><samp class="parmname">Field Update:</samp> Change the <samp class="parmname">Application
                Status</samp> field to Closed on parent Application record.</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Time-Dependent Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">None</td>

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

## Track Closed Opportunities

This example assumes that a Closed Opportunities record type provides additional information to certain profiles. For information on record types, see [Tailor Business Processes to Different Record Types Users](https://help.salesforce.com/s/articleView?id=platform.customize_recordtype.htm&language=en_US).

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:22%">
          <col style="width:78%">
        </colgroup>
        <tbody>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Object</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Opportunity</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Description</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Change the record type of closed-won opportunities.</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Evaluation Criteria</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Evaluate the rule when a record is: created, and every time it’s
              edited</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Rule Criteria (Filter)</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">
              <p>Run this rule if the following criteria are
                met.</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: Closed equals True) and 
(Opportunity: Stage equals Closed Won)</code></pre>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Immediate Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;"><samp class="parmname">Field Update:</samp> Set the record type to Closed
              Opportunities.</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Time-Dependent Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">None</td>

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

## Override the Default Opportunity Close Date

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:22%">
          <col style="width:78%">
        </colgroup>
        <tbody>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Object</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Opportunity</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Description</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Override the default close date from the close of the quarter to 6 months
              after the opportunity is created.</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Evaluation Criteria</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Evaluate the rule when a record is: created</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Rule Criteria (Filter)</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">
              <p>Run this rule if the following criteria are
                met.</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: Closed equals False)</code></pre>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Immediate Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">
              <p><samp class="parmname">Field Update:</samp> Use the following formula to set the
                opportunity close date to 6 months after the creation
                date.</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>DATE( YEAR(TODAY()) , (MONTH(TODAY()) + 6), DAY(TODAY()))</code></pre>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Time-Dependent Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">None</td>

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

## Report Lost Opportunities

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:22%">
          <col style="width:78%">
        </colgroup>
        <tbody>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Object</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Opportunity</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Description</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Notify the VP of sales when a deal is lost if the stage was Proposal/Price
              Quote and the amount was greater than $1 million.</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Evaluation Criteria</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Evaluate the rule when a record is: created, and every time it’s
              edited</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Rule Criteria (Filter)</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">
              <p>Run this rule if the following formula is
                true.</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( ISCHANGED(StageName), ISPICKVAL(PRIORVALUE(StageName) , "Proposal/Price Quote"), ISPICKVAL(StageName,"Closed Lost"), (Amount &gt;1000000))</code></pre>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Immediate Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;"><samp class="parmname">Email Alert:</samp> Notify the VP of sales role that the deal
              was lost.</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Time-Dependent Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">None</td>

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

## Report Unassigned Leads

This example assumes that all unassigned leads are placed in an unassigned leads queue by a leads assignment rule.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:22%">
          <col style="width:78%">
        </colgroup>
        <tbody>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Object</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Lead</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Description</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Ensure that unassigned leads are tracked in a timely manner by notifying the
              manager if a lead isn’t accepted in 2 days.</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Evaluation Criteria</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Evaluate the rule when a record is: created, and anytime it’s edited
              to subsequently meet criteria</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Rule Criteria (Filter)</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">
              <p>Run this rule if the following criteria are
                met.</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>Lead Owner equals Unassigned Lead Queue</code></pre>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Immediate Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">None</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Time-Dependent Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">2 Days After Lead: Last Modified Date—<samp class="parmname">Email
                Alert:</samp> Notify the manager role that the queue has unassigned leads
              that are older than 2 days.</td>

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

## Send Alert If Quote Line Item Discount Exceeds 40%

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:22%">
          <col style="width:78%">
        </colgroup>
        <tbody>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Object</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Quote Line Item</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Description</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Ensure that an email alert is sent if a sales rep applies a quote line item
              discount that exceeds 40%.</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Evaluation Criteria</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Evaluate the rule when a record is: created, and anytime it’s edited
              to subsequently meet criteria</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Rule Criteria (Filter)</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">
              <p>Run this rule if the following criteria are
                met.</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>Quote Line Item: Discount is greater than 40</code></pre>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Immediate Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;"><samp class="parmname">Email Alert:</samp> Notify the manager role that the quote line
              item discount exceeds 40%.</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Time-Dependent Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">None</td>

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

## Notify Key People About Account Owner Changes

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:22%">
          <col style="width:78%">
        </colgroup>
        <tbody>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Object</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Account</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Description</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Notify key people in the sales department when the owner of an account
              changes if the account’s annual revenue is greater than $1 million.</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Evaluation Criteria</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Evaluate the rule when a record is: created, and every time it’s
              edited</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Rule Criteria (Filter)</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">
              <p>Run this rule if the following formula is
                true.</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( ISCHANGED(OwnerId), AnnualRevenue &gt; 1000000 )</code></pre>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Immediate Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;"><samp class="parmname">Email Alert:</samp> Notify the person in the sales operations
              role of the change in account ownership.</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Time-Dependent Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">None</td>

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

## Set Reminder for Contact Birthday

This example assumes that a Next Birthday custom formula field uses the following formula to calculate the date of the contact’s next birthday on contact records.

```
IF(MONTH(Birthdate) > MONTH(TODAY()),DATE(YEAR(TODAY()),MONTH(Birthdate),DAY(Birthdate)),
IF(MONTH(Birthdate) < MONTH(TODAY()),DATE(YEAR(TODAY())+1,MONTH(Birthdate),DAY(Birthdate)),
IF(DAY(Birthdate) >= (DAY(TODAY())),DATE(YEAR(TODAY()),MONTH(Birthdate),DAY(Birthdate)),
DATE(YEAR(TODAY())+1,MONTH(Birthdate),DAY(Birthdate)))))
```

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:22%">
          <col style="width:78%">
        </colgroup>
        <tbody>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Object</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Contact</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Description</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Send an email to the contact 2 days before the contact’s birthday.</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Evaluation Criteria</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Evaluate the rule when a record is: created</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Rule Criteria (Filter)</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">
              <p>Run this rule if the following formula is
                true.</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>(Contact: Birthdate not equal to null) and 
(Contact: Email not equal to null)
</code></pre>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Immediate Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">None</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Time-Dependent Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">2 Days Before Contact: Next Birthday—<samp class="parmname">Email Alert:</samp>
              Send a birthday greeting to the contact’s email address.</td>

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

## Set Reminder for High-Value Opportunity Close Date

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:22%">
          <col style="width:78%">
        </colgroup>
        <tbody>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Object</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Opportunity</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Description</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Remind the opportunity owner and senior management when the close date is
              approaching for an opportunity that has an amount greater than $100,000. Create a
              follow-up task for the opportunity owner if the deal is still open when the close
              date passes.</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Evaluation Criteria</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Evaluate the rule when a record is: created, and anytime it’s edited
              to subsequently meet criteria</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Rule Criteria (Filter)</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">
              <p>Run this rule if the following criteria are
                met.</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 100000) and 
(Opportunity: Closed equals False)</code></pre>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Immediate Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">None</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Time-Dependent Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">
              <ul>
                <li>30 Days Before Opportunity: Close Date—<samp class="parmname">Email
                    Alert:</samp> Notify the opportunity owner that 30 days remain.</li>

                <li>15 Days Before Opportunity: Close Date—<samp class="parmname">Email
                    Alert:</samp> Notify the opportunity owner that 15 days remain.</li>

                <li>5 Days After Opportunity: Close Date—<samp class="parmname">Task:</samp>
                  Create a follow-up task for the opportunity owner to update the deal.
                  <samp class="parmname">Email Alert:</samp> Notify senior management to involve
                  executives.
                </li>

              </ul>
            </td>

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

## Notify Account Owner of Updates by Others

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:22%">
          <col style="width:78%">
        </colgroup>
        <tbody>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Object</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Account</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Description</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Notify the account owner when someone else updates the account if the
              account’s annual revenue is greater than $1 million.</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Evaluation Criteria</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Evaluate the rule when a record is: created, and every time it’s
              edited</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Rule Criteria (Filter)</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">
              <p>Run this rule if the following formula is
                true.</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( (LastModifiedById &lt;&gt; OwnerId), (AnnualRevenue &gt; 1000000) )</code></pre>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Immediate Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;"><samp class="parmname">Email Alert:</samp> Notify the account owner that someone else
              has updated the account.</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <strong>Time-Dependent Actions</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">None</td>

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

#### See Also

- [Workflow Rules](https://help.salesforce.com/s/articleView?id=platform.customize_wf.htm&release=264.0.0&type=5 "Workflow rules are a legacy automation feature that let you define conditions and actions for records in your org. Support ended on December 31, 2025. Use Flow Builder for new automations and migrate existing rules as needed.")
- [Set the Criteria for Your Workflow Rule](https://help.salesforce.com/s/articleView?id=platform.workflow_rules_define.htm&release=264.0.0&type=5 "Get started with creating a workflow rule by selecting the object the rule relates to and configuring its criteria.")