SalesforceCodex
  • Home
  • Architecture
  • Salesforce
  • .NET
  • Angular
  • Questions
    • Salesforce
    • .NET
    • Angular
  • Tech News
  • Social
  • Projects
    • Architecture

      Cohesion And Coupling – Approach for Design –…

      May 2, 2018

      Architecture

      Cohesion And Coupling – Approach for Design

      May 2, 2018

      Architecture

      Choosing Between Traditional Web Pages and Single Page…

      May 2, 2018

      Architecture

      Understanding Liskov Substitution Principle

      May 2, 2018

      Architecture

      Understanding Open Closed Principle

      May 2, 2018

SalesforceCodex

  • Home
  • Architecture
  • Salesforce
  • .NET
  • Angular
  • Questions
    • Salesforce
    • .NET
    • Angular
  • Tech News
  • Social
  • Projects
    • Architecture

      Cohesion And Coupling – Approach for Design –…

      May 2, 2018

      Architecture

      Cohesion And Coupling – Approach for Design

      May 2, 2018

      Architecture

      Choosing Between Traditional Web Pages and Single Page…

      May 2, 2018

      Architecture

      Understanding Liskov Substitution Principle

      May 2, 2018

      Architecture

      Understanding Open Closed Principle

      May 2, 2018

QuestionSalesforce

Difference Between Workflow and Process Builder In Salesforce Development

written by Dhanik Lal Sahni November 9, 2018
Difference Between Workflow and Process Builder In Salesforce Development

Salesforce has many automation tools like Approvals, Process Builder, Workflow, and Cloud Flow Designer to automate organization’s repetitive business processes. Mostly developers use Workflow and Process builder.

Workflow enables to set up workflow rules that identify what kinds of record changes or additions trigger specified workflow actions, such as sending email alerts and updating record fields.

Process Builder can be utilized to automate all workflow actions (with the exception of outbound messages). Traditional workflow can still be utilized in parallel, however, Process Builder gives you the ability to do things that workflow can’t.

Workflow does 4 actions

  • Create Task
  • We can create task when any record in inserted. Example:Assign follow-up tasks to a support guy one week after a case is created.

  • Update Field
  • Update the value of a field on a record. Example: Change the Owner field on a contract three days before it expires.

  • Email Alert
  • Send an email to one or more recipients on action. Example : Send sales management an email alert when a sales rep qualifies a large deal.

  • Outbound Message
  • Send a secure, configurable API message (in XML format) to a designated listener. Example : Trigger an outbound API message to an external HR system to initiate the reimbursement process for an approved expense report.

You can use the Process Builder to perform more actions than with workflow:

  • Create a record
  • Create new record when conditions are met.

  • Update Records
  • Update any related records. Related records can only referenced in Process Builder. This was not available in Workflows.

  • Quick Action
  • Use a quick action to create a record, update a record, or log a call.

  • Flow
  • Invoke an active autolaunched flow or active invocable process that exists in the current org.

  • Send an email
  • Send an email to one or more recipients on action. Example : Send sales management an email alert when a sales rep qualifies a large deal.

  • Post to Chatter
  • Post to the feed for a specific record, user, or Chatter group.

  • Approvals
  • Submit a Salesforce record for approval if an approval process is defined for the current entity.

  • Process
  • Invoke a process from another process.

  • Apex
  • Invoke Apex methods annotated with @InvocableMethod and include custom parameters with @InvocableVariable.

What we can’t do in Process Builder
Right now we can not send Outbound messages from Process Builder.

What we can do only in Process Builder

Process Builder lets you control the order of your criteria.
In Workflow, there’s no way to determine which order workflow rules run in. So there’s always a risk of one rule overwriting what another did. In Process Builder, we can determine the exact evaluation order of process’ criteria.

Process Builder lets you access fields on every related record.
In Workflow, we can reference fields on the record’s parent. Process Builder, on the other hand, lets access the fields on any related record, no matter how far away that record is. You can reference fields on a parent record, grandparent record, or great-great-great-grandparent record twice removed.

Process Builder is the future.
All new functionality for the workflow use case will come through Process Builder only. If we want to use the shiny new functionality, we have to migrate to Process Builder.

process builder vs workflowSalesforce Interview Questionsalesforce questionworkflow vs process builder
0 comment
1
Facebook Twitter Google + Pinterest
Dhanik Lal Sahni

previous post
Android developers has to use API level 26 from today
next post
List Custom Settings Vs Hierarchy Custom Settings In Salesforce

You may also like

List Custom Settings Vs Hierarchy Custom Settings In...

November 15, 2018

Angular JS Interview Question

May 2, 2018

ASP.NET MVC Interview Question

May 2, 2018

Leave a Comment Cancel Reply

Recent Posts

  • Field Access Explorer In lightning Web Component
  • Dependent PickList In Lightning Web Component
  • Create Dynamic Patch REST API in Salesforce Apex
  • Show Image in Lightning Web Component Data Table
  • Integrate Salesforce Stackexchange using Lightning Web Component and Apex
vagminecloud.com

SalesforceCodex

Salesforce Codex

Recent Comments

  • Dhanik Lal Sahni on Runing Salesforce App using Voice command – Speech-To-Text API
  • Dhanik Lal Sahni on Integrate Salesforce with WhatsApp using Twilio API
  • SUCHARITA MONDAL on Runing Salesforce App using Voice command – Speech-To-Text API
  • sakshi on Integrate Salesforce with WhatsApp using Twilio API
  • Dhanik Lal Sahni on Runing Salesforce App using Voice command – Speech-To-Text API

Archives

  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • May 2019
  • April 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • May 2018

Categories

Recent Posts

  • Field Access Explorer In lightning Web Component

    December 6, 2019
  • Dependent PickList In Lightning Web Component

    November 19, 2019
  • Create Dynamic Patch REST API in Salesforce Apex

    October 31, 2019
  • Show Image in Lightning Web Component Data Table

    October 10, 2019
  • Integrate Salesforce Stackexchange using Lightning Web Component and Apex

    October 2, 2019

Newsletter

Subscribe my Newsletter for new blog posts, tips & new photos. Let's stay updated!

Recent Posts

  • Field Access Explorer In lightning Web Component

    December 6, 2019
  • Dependent PickList In Lightning Web Component

    November 19, 2019
  • Create Dynamic Patch REST API in Salesforce Apex

    October 31, 2019
  • Show Image in Lightning Web Component Data Table

    October 10, 2019
  • Integrate Salesforce Stackexchange using Lightning Web Component and Apex

    October 2, 2019

Tags

.net (1) .net core (1) .net news (1) .net question (1) Android developers (1) angular (1) angular2+ (2) angular cli (1) apex (13) Apex code IDE (1) Apex logging (1) architecture (9) Asynchronous apex (1) batch processing (1) Code versioning for Salesforce Project (1) community user (2) design principle (9) Error logging in Apex (1) Exception logging in apex (1) future method (1) health tips (1) healthy (1) IDE for Salesforce Development (1) lightning (15) Lightning web component (10) lwc (4) model dialog (1) news (1) Play Store (1) portal user (1) Queueable (1) salesforce (18) Salesforce IDE (1) Salesforce Interview Question (1) salesforce news (2) salesforce question (2) Scheduled Apex (1) Signature Pad (1) software engineers (1) solid (6) tfs (1) Visual Studio Code (2) web api (2) Winter 20 (8) workflow vs process builder (1)

My Recommended Books

Twitter Timeline

Tweets by SalesforceCodex

SUBSCRIBE NEWSLETTER

Subscribe my Newsletter for new blog posts, tips & new photos. Let's stay updated!

  • Facebook
  • Twitter
  • Linkedin
  • Youtube
  • Github
  • Stack-Overflow

@2016 - SalesforceCodex. All Right Reserved. Designed and Developed by Vagmine Cloud Solution