Skip to main content
New tool CRON Expression Builder — preview next run times before you schedule Apex. Open the builder →
Visual comparison diagram illustrating the key differences between Salesforce Workflow Rules and Process Builder automation tools.
Flow

Workflow Vs. Process Builder

The short answer

This article compares declarative automation in Salesforce by looking at what Workflow rules and Process Builder can each do. It covers the differences across record updates, multi-criteria branching, validation rule behavior, outbound messaging, and version control.

Key takeaways Use Process Builder to update parent records or all child records across both lookup and master-detail relationships. Rely on Workflow rules if your automation requires sending outbound SOAP messages over HTTP(S), as Process Builder does not support them. Build complex business logic in Process Builder with IF-ELSE criteria blocks instead of stacking up multiple single-criteria Workflow rules. Account for validation rule enforcement during field updates, as Process Builder field updates fire validation rules while Workflow updates do not. Annotate Apex methods with @InvocableMethod to call custom logic and external callouts directly from Process Builder.

Its always a best practice to build functionality using configuration rather than customization. Configuration can be done using Workflows, Process Builder, Flows. Have you ever wonder what can be done by workflows and process builder, which one should be used and why? Here in this post I tried to cover all possible capabilities by Workflows and Process builder. If anything missed, you are always welcome to mention under comment section.

Workflow Capabilities:

  • Update Record : Update a field of same record or the parent record if having Master Detail relationship between Parent and Child objects.
  • Send an Email : Sending email alert to specified mail address or selected users.
  • Create Task : Create task record and assign to specified user.
  • Outbound Message : Send SOAP messages over HTTP(S) to a designated endpoint.

Process Builder Capabilities:

Except outbound messages, all other capabilities that workflow supports are also supported by process builders, along with other capabilities added as follows:

  • Create Record : Create record of any object using the reference field values of current record.
  • Launch Quick Action : Launch quick action, either a standard action or a custom lightning component action.
  • Update Record : You can either update parent record or all child records of current record, no matter if its lookup or master detail relationship.
  • Post to Chatter : Post automatically chatter on behalf of you.
  • Launch a flow : Launch a visual flow by passing field values.
  • Apex Invocation : Invoke logic written in apex such as callout to external system. Apex method must have annotation as @InvocableMethod.
  • Processes : Invoke another process builder flow through current flow.
  • Send Custom Notifications : Send push notifications to your devices.
  • Submit For Approval : Automatically submit for approval once the criteria of flow is matched.
  • Quip : This is new addition to process builder. With this, one can easily include Quip documents and chat rooms in automated Salesforce processes.
  • Email Alerts : Send email notification, similar to workflows.
CapabilityWorkflowProcess Builder
Version ControllingWorkflows do not support version controlling, you need to modify the existing workflow whenever there are new changes.Process builder flows support version controlling. Once activated, flow needs to be cloned to add/remove the logic. This allows maintaining all versions modified till now.
Validation RulesValidation rules are not fired when a field is updated.Validation rules are fired if the field updates are happening.
Outbound MessagesOutbound messages are supported.Outbound messages are not supported.
Multiple CriteriaSupports only one criteria.Supports multiple criteria using user friendly IF-ELSE blocks.

Summary

According to Salesforce, they will no longer be improving Workflow, but support will be still ongoing. But all new functionality for the workflow use case will come through Process Builder. So from now, its good to start with process builder instead of workflows.

Frequently asked questions

What is the difference between Workflow and Process Builder in Salesforce?

Workflow rules are limited to single-criteria evaluation and four actions: field updates, email alerts, task creation, and outbound messages. Process Builder supports multi-criteria IF-ELSE logic, version control, record creation, Chatter posting, invoking flows or Apex, and updating child records.

Can Process Builder send outbound messages?

No, Process Builder does not support outbound messages. Outbound SOAP messaging over HTTP(S) to external endpoints is only supported through Workflow rules.

Do Workflow rules and Process Builder fire validation rules on field updates?

Process Builder fires validation rules when executing field updates. Workflow rules do not fire validation rules when updating fields.

How does record updating differ between Workflow and Process Builder?

Workflow rules can only update fields on the same record or a parent record in a master-detail relationship. Process Builder can update the parent record or all child records across both lookup and master-detail relationships.

Newsletter

One email every Tuesday

New guides, tool updates, and the release-note changes that break things.

No spam. Unsubscribe in one click.

Comments

Loading comments...

Leave a Comment