Slaesforce FAQ

how to make a workflow rule in salesforce

by Federico Dare Published 2 years ago Updated 1 year ago
image

Create a Workflow Rule

  • The first step is to log in to your Salesforce account
  • Navigate to the menu on the screen and you will be able to see the menu bar on the left side. Scroll and find the...
  • find the workflow rules and select them.
  • To create the latest workflow rule choose a new rule.
  • Now, choose the object available in the drop-down menu. For example, you can now...

Set the Criteria for Your Workflow Rule
  1. From Setup, enter Workflow Rules in the Quick Find box, then select Workflow Rules.
  2. Click New Rule.
  3. Choose the object to which you want this workflow rule to apply.
  4. Click Next.
  5. Give the rule a name and description.
  6. Set the evaluation criteria. ...
  7. Enter your rule criteria.

Full Answer

How to create a workflow in Salesforce?

How to create Workflow Rules in Salesforce?

  • Select the preferred tool to run the workflow rule
  • Click Next
  • Now, name the rule and define a description
  • Finally set the Evaluation Criteria

How to configure Salesforce workflow rule evaluate criteria?

Workflow Rule Examples

  • Follow Up Before a Contract Expires. ...
  • Follow Up When a Platinum Contract Case Closes. ...
  • Assign Credit Check for a New Customer. ...
  • Notify Account Owner About New, High-Priority Cases. ...
  • Set a Default Entitlement for Each New Case. ...
  • Update Shipment Status If Shipment Is Delayed. ...
  • Automatically Activate New Users. ...
  • Notify Sales VP About Cases Filed for Top Accounts. ...

More items...

How to set up Validation rule in Salesforce?

How to Set up Validation Rule in Salesforce

  • Video Demonstration. This video demonstrates putting in validation within a custom module called Purchase Order. ...
  • More Examples of Validations. Below are certain validations which make sense for companies in certain cases. ...
  • Conclusion. Validation rule is a great way to implement business checks without putting in a single line of code.

How to create sharing rules in Salesforce?

  • From Setup, enter Sharing Settings in the Quick Find box and select Sharing Settings.
  • Choose Position from the Manage sharing settings for: dropdown.
  • In the Position Sharing Rules section, click New, and then complete the rule details. ...
  • Click Save, and then click OK on the confirmation message.

image

How do I create a custom workflow in Salesforce?

Navigate to Your Name > Setup > App Setup > Create > Workflow & Approval > Workflow Rules. Select “New Workflow Rule” and then select the object you want the rule to apply to....Creating a workflow rulecreated.created, and every time it's edited.created, and every time it's edited to subsequently meet criteria.

What is workflow rule in Salesforce with example?

Workflow lets you automate standard internal procedures and processes to save time across your org. A workflow rule is the main container for a set of workflow instructions. These instructions can always be summed up in an if/then statement. For Example: If you have symptoms of Coronavirus then stay at home.

How do I create a workflow task in Salesforce?

Navigate to Setup in the top right-hand corner of Salesforce Lightning. Then, in the Platform Tools section, click on Process Automation → Workflow Rules. Now you'll create a new rule – this rule will be a task creation trigger. For our example, set the Object to Task.

What is a Salesforce workflow rule?

Workflow rules (or simply workflow) is an automation tool in Salesforce that offers time-saving solutions for making different internal processes of a company switch from manual work and for optimizing various procedures. Workflow rules indicate specific criteria to be met in order to trigger automated actions.

What are the limitations of workflow rules?

Salesforce limits the number of total and active rules in your org, the number of time triggers and actions per rule....Required Editions.Per-Org LimitValueTime triggers per workflow rule110Immediate actions per workflow rule140Time-dependent actions per time trigger40Workflow time triggers per hour1,0005 more rows

Why do we use workflow rules in Salesforce?

Workflow lets you automate standard internal procedures and processes to save time across your org. A workflow rule is the main container for a set of workflow instructions. These instructions can always be summed up in an if/then statement.

How do I create a work flow task?

Creating Workflow TasksGo to Setup > Automation > Actions > Tasks.In the Workflow Tasks page, click Create Task.In the New Task page, do the following: Select the Module from the drop-down list. Enter a Subject for the task. ... Click Save. A new workflow task is created, which can be associated to workflow rules.

What is the difference between workflow and trigger?

Workflow is automated process that fired an action based on Evaluation criteria and rule criteria. We can access a workflow across the object. Trigger is a piece of code that executes before or after a record is inserted or updated.

How do you automate Workflows in Salesforce?

2:184:39Salesforce.com Automation: Workflow & Approvals - YouTubeYouTubeStart of suggested clipEnd of suggested clipSelect the object. For example opportunity next set criteria we can choose any open opportunity byMoreSelect the object. For example opportunity next set criteria we can choose any open opportunity by making sure the stage is not closed.

What is the difference between workflow rules and process builder?

Since Process Builder also has the ability to configure multiple if-then conditions in one Process rather than separate Workflow rules, it helps new admins and admins who inherit orgs visualize the business processes with its sleek visual interface. Process Builder has versions, so you can retain deactivated Processes.

How many workflow rules can you create per entity?

By default, each object (or entity) is limited to 50 active workflow rules. Additional volume is available (up to 300 active workflow rules,) but we instead recommend the use of the Process Builder.

What is the difference between flow and workflow in Salesforce?

A flow is an application that automates a business process by collecting data and doing something in your Salesforce org or an external system. Unlike workflow rules, which always execute behind the scenes, flows can provide screens to guide users through your business process. Flows aren't tied to any one object.

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.

Assign Credit Check for a New Customer

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

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.

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.

Notify Sales VP About Cases Filed for Top Accounts

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

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.

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.

What is a workflow rule in Salesforce?

Workflow rules (or simply workflow) is an automation tool in Salesforce that offers time-saving solutions for making different internal processes of a company switch from manual work and for optimizing various procedures. Workflow rules indicate specific criteria to be met in order to trigger automated actions.

What is workflow rule?

Workflow rules indicate specific criteria to be met in order to trigger automated actions. For instance, based on a record change (like the “Date” field) on an Opportunity, an auto-notification email alert can be sent to a User.

How to benefit from workflows?

The third way to benefit from workflows is by setting up email alerts (via email templates) that would be sent to receivers or lists. For instance, creating a workflow rule that would track the end dates of contracts and then send out notifications would be very handy. Case in point, if the expiration date of a contract with an employee/partner/client/etc is coming up, an automatic alert could be sent to the manager or person responsible for keeping track of such things. This way you can avoid missing deadlines and unfortunate consequences.

What is a fourth workflow action?

The fourth workflow action is used for forwarding SOAP messages to external systems using notifications. An example of this action’s use is when apart from Salesforce, you have another external system where data is kept, say, for marketing purposes. Let’s suppose that these systems have common client data, and if a change is made on a field in Salesforce (f.i. in the last name of a customer) a workflow rule can send an outbound message to this marketing system, signaling an analogous field update in the client name.

How to create a new rule in a process automation?

In order to get started with the process, type in “Workflow” in the “Quick Find”, select the “Workflow Rules” under “Process Automation”, and press the “New Rule” button in the center of the page. In the “Object” field select “Opportunity” from the dropdown list and press “Next”.

When setting up a non-immediate workflow, should you indicate the triggers?

When setting up a non-immediate workflow, you should indicate the triggers which will launch your pre-defined action and specify the time frame (Date or Date/Time) when the rule must be performed.

Can you add time triggered actions to Salesforce workflow?

Moreover, keep in mind that it isn’t possible to add time-triggered actions to the workflows which are already active.

Follow Up when Platinum Contract Case Closes

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

Assign Credit Check for New Customer

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

Notify Account Owner About New, High-Priority Cases

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

Set a Default Entitlement for Each New Case

This example assumes there is an active, trigger-ready flow that 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.

Notify Sales VP About Cases Filed for Top Accounts

Use the following workflow rule if your sales VP wants to know about any cases filed for top accounts, where top accounts are determined by size and revenue.

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 organization, create the following workflow rule.

Set Target Resolution Date for Cases

This example illustrates how to automatically set 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–as well as a custom date field on cases called Target Resolution Date.

Create a Flow

The last business rule functionality to implement before testing your application is a rule to set the Out-of-State checkbox field on the Travel Approval object if out-of-state travel has been chosen. Salesforce offers workflow capabilities that provide a declarative, drag-and-drop design environment to build our business process logic.

Get Started with Flow Builder

You may have heard several terms used interchangeably when referring to flows. As a reminder, the official terms are:

Add a Decision Element

From the left-hand toolbox column, drag a Decision element onto the flow builder screen.

Create an Action for the Flow Using Update Records Elements

From the left-hand column, the flow toolbox, drag an Update Records element onto the flow screen.

image
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 1 2 3 4 5 6 7 8 9