In Salesforce several tools automate the organization’s business processes.
Automating the business process is crucial so as identifying the tool from which it should be implemented.
There are several tools for automating the processes in Salesforce:
Workflow in Salesforce is a force.com platform business logic engine that allows you to define rules to automate certain actions when a particular criteria is met.
Workflow rules are considered as a container that consists of two components:
It consists of the condition which if found true then the actions should take place.
It consists of the actions that should be performed when the criteria for workflow rule are met.
Every Workflow rule must be based on a single object because when a rule is defined this object influences the fields that will be available to set the criteria.
There are 3 types of evaluation criteria for Workflows in Salesforce:
Criteria for rules can be represented as a condition or a formula. Actions in workflow rules are of 2 types based on when they are executed:
These actions are executed immediately when the criteria for a rule is met.
These actions execute at a specific time which is specified when creating this type of action.
In these types of actions when the date or time comes on which the action needs to be executed, it again verifies that the record is still meeting the criteria or not. If yes then it executes the respective action otherwise not.
There are 4 actions which can be specified in a workflow rule:
It sends automated emails using an email template.
Salesforce provides functionality to create email templates that can be used to send emails.
There are 4 types of Email templates:
All users can create or change text email templates.
Administrators and Users with “Edit HTML Templates” permission can create HTML email templates based on a letterhead.
Administrators and users with “Edit HTML Templates” permission can create HTML email templates without using a letterhead.
Administrators & Developers can create templates using Visualforce. Visualforce email templates allow for advanced merging with a recipient’s data where the content of a template can contain information from multiple records.
Email templates are stored in folders. There are 2 folders already present in every Salesforce org:
Email Templates in this folder are available to every user in the organization.
This folder stores the email templates which are used personally by a particular user.
If another object’s field is added in an email template then it will be left blank as workflows only have access to the object for which it is applied.
Field updates allow automatic change of a field value on the record that initially triggered the workflow rule. If “Re-evaluate Workflow Rules after Field Change” is enabled for a field update action then Salesforce re-evaluates all workflow rules on the object if the field update results in a change to the value of the field.
Only workflow rules that didn’t fire before will be retriggered. Cross Object field updates are also available for changing the values of fields on a related master record. But it is not available when re-evaluation is checked.
It simply assigns a task to a single user, owner, or a role. We can also make sure that a notification email is sent to the assignee when a task is automatically assigned. Tasks should be assigned to roles if they have only one user assigned to that role. If there are more than one user assigned to that role then the task automatically gets assigned to the owner of the workflow rule Users who triggered the workflow rule.
An outbound message sends particular information to a designated endpoint such as an external service. These types of messages can be listened to using a SOAP API.
All the above actions can be used as an immediate action as well as time trigger actions. Time-triggered actions which are already triggered are visible in Time Based Workflow Queues.
Administrators can also set default workflow users. Default Workflow users are the users that will be visible when the user that triggered the rule is not active.
Click to learn about the Approval Process.
< < Previous
Next > >
The batch is going to start shortly. Fill the form given below to Register yourself now.
Online Salesforce Development Course is soon going to be launched. Please fill the form and we will notify you about the course.