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.
Workflow automates the following types of actions based on your organization's processes:
For example, the workflow can:
Each workflow rule consists of:
Let us discuss in detail with a sample business scenario for Workflow Rule - Task understanding.
We have 2 companies providing Job Placements in the USA. One will provide placements for 3+ years experienced, and another for people with below 3 years of experience. Now, we need to transfer the candidates’ profile who are with below 3 years of experience to the partner company, and it should happen automatically when the form is filled, but not manually. And, the partner company’s application platform is in .Net. So, the data from Salesforce platform should get automatically updated to .Net platform.
Based on the above scenario, the above functionality can be easily performed through OBM in Workflow Rules (Actions) in Salesforce.
This is the feature by which we can connect from the Salesforce platform to other external platforms like Java, .Net without any code.
This works as Workflow Rule action, so it will work when any record is created/updated.
Login to Salesforce → Setup → Build → Create → Workflow & Approvals → Workflow Rules → Edit the existing Workflow Rule → Workflow Actions → Edit → Select “New Outbound Message” → Fill in the details → Endpoint URL(This URL is provided by the dotNet developers) → Check “Send session ID” for sending the session ID to dotNet Platform → transfer the required fields that to be sent to dotNet application → Save → Done.
Obmfilldata - Gif
Steps to proceed:
Log in to Salesforce → Setup → Monitor → Click on Outbound Messages.
OBM output- Gif
Note: If the dotNet platform developers ask for WSDL file, then click on the action created and download the file as shown in the below figure.
Evaluation Criteria Of Workflow Rule:
We have 3 Evaluation Criteria in Salesforce.
Explanation of the above 3 criteria:
#2 Created, and every time it’s edited
#3 Created, and any time it’s edited to subsequently meet criteria
In the next topic, we will discuss in detail about “Time-Dependent Workflow Rule - Action”. Keep following us for more info on Salesforce Administration.
Mindmajix offers different Salesforce certification training according to your desire with hands-on experience on Salesforce concepts
|Salesforce Administration Training||Salesforce Lightning Training|
|Salesforce Advanced Developer Training||Salesforce Developer Training|
|Salesforce IoT Training||Salesforce App Builder Certification Training|
|Salesforce AppExchange Training||Salesforce Service Cloud Training|
|and many more...|
Free Demo for Corporate & Online Trainings.