Home  >  Blog  >   Salesforce

Time Dependent Workflow Rule - Action

Rating: 4
  1. Share:
Salesforce Articles


About “Record Level Security In Salesforce” Automation By Workflow Rule

WFR is an automated mechanism in Salesforce by which, when a record is created or edited, we can perform 4 types of actions and make our business automated, without writing any code.


Time-Dependent Workflow In Salesforce -  Table of Content

What we can do with Workflow Rule?

What is Workflow?

Time-Dependent Workflow Actions

How to use the Time-Dependent Workflow Rule


Want to enhance your skills in dealing with the world's best CRM, enroll in our Salesforce Online Course.

What we can do with Workflow Rule?

  • We can create a task for someone.
  • We can send an automated email.
  • We can update the database by updating any field.
  • We can send OBM to the external platform.

What is Workflow?

Workflow automates the following types of actions based on your organization's processes:

  • Field Updates — Update the value of a field on a record.
  • Email Alerts — Send an email to one or more recipients you specify.
  • Tasks — Assign a new task to a user, role, or record owner.
  • Outbound Messages — Send a secure, configurable API message (in XML format) to a designated listener.
  • Select Existing Action — Reuse the existing actions.

For example, the workflow can:

  • Assign follow-up tasks to a support representative one week after a case is updated.
  • Send sales management an email alert when a sales representative qualifies for a large deal.
  • Change the Owner field on a contract three days before it expires.
  • Trigger an outbound API message to an external HR system to initiate the reimbursement process for an approved expense report.

MindMajix YouTube Channel

Checkout Salesforce Tutorial

Each workflow rule consists of:

  • Criteria that causes the workflow rule to run.
  • Immediate actions get executed when a record matches the criteria. For example, Salesforce can automatically send an email that notifies the account team when a new high-value opportunity is created.
  • Time-dependent actions that queue when a record matches the criteria, and execute according to time triggers. For example, Salesforce can automatically send an email reminder to the account team if a high-value opportunity is still open ten days before the close date.

Task Creation:

  • This action helps to give an automated task to another user in the company.
  • This helps to get rid of the paper-task process.
  • The receiver can update the task with status, which the manager can easily check using a related list.

Let us discuss in detail with a sample business scenario for Workflow Rule - Task understanding.

Time-Dependent Workflow Actions:

There are some cases in real-time projects where we don’t want to execute the task instantly. We want, that to happen after 1 hour, 10 hours, 10 days, etc. In such cases, time-dependent action helps.

Note: This works only in hours or days format. Not minutes. Before performing the action we need to Deactivate the rule.

Time Trigger: To convey to Salesforce after how many hours or days we want this work to happen.

Rule Trigger Date: The moment when the condition matches.

Steps to create Time-Dependent  Workflow Rule - Action:

Log in to Salesforce → Setup → Build → Create → Workflow & Approvals → Workflow Rules → Edit the existing Workflow Rule → Time-Dependent Workflow Actions → Add Time Trigger → Workflow Time Trigger Edit → Click on Add Time Trigger → Input (Number, days, before/after, Rule Trigger date) → Save.

Time trigger - Image

Checkout Salesforce Interview Questions

How to use the Time-Dependent  Workflow Rule - Action:

The same steps we follow as to how we have added the actions in the workflow.

Log in to Salesforce → Setup → Build → Create → Workflow & Approvals → Workflow Rules → Edit the existing Workflow Rule → Time-Dependent Workflow Actions → Add Time Trigger → Workflow Time Trigger Edit → Workflow Actions → Edit → Select “Select Existing actions” → Fill in the details(Email Alert / Field update / Task / Outbound Message) → Save → Done.

Exsisitingtask - Gif

Note: Do not forget to activate the Workflow Rule again.

In the next topic, we will discuss in detail about “Approval Process In Salesforce”. Keep following us for more info on Salesforce Administration.

Explore Salesforce Sample Resumes! Download & Edit, Get Noticed by Top Employers!

Mindmajix offers different Salesforce certification training according to your desire with hands-on experience on Salesforce concepts

Salesforce Administration TrainingSalesforce Lightning Training
Salesforce Advanced Developer TrainingSalesforce Developer Training
Salesforce IoT TrainingSalesforce App Builder Certification Training
Salesforce AppExchange TrainingSalesforce Service Cloud Training
and many more... 


Join our newsletter

Stay updated with our newsletter, packed with Tutorials, Interview Questions, How-to's, Tips & Tricks, Latest Trends & Updates, and more ➤ Straight to your inbox!

Course Schedule
Salesforce TrainingMay 25 to Jun 09View Details
Salesforce TrainingMay 28 to Jun 12View Details
Salesforce TrainingJun 01 to Jun 16View Details
Salesforce TrainingJun 04 to Jun 19View Details
Last updated: 03 Apr 2023
About Author

Arogyalokesh is a Technical Content Writer and manages content creation on various IT platforms at Mindmajix. He is dedicated to creating useful and engaging content on Salesforce, Blockchain, Docker, SQL Server, Tangle, Jira, and few other technologies. Get in touch with him on LinkedIn and Twitter.

read more
Recommended Courses

1 / 15