Salesforce offers various tools to automate business processes, for example, Visual Workflow, Workflow Rule, and Process Builder. So, it is necessary to understand the difference between these tools and when to use which. The following table describes the difference between these tools:
Workflow |
Flow |
Process Builder |
|
Visual designer |
Not available |
Available |
Available |
Starts when |
A record is created or edited |
|
A record is created or edited |
Supports time-based actions? |
Yes |
Yes |
Yes |
Call Apex code? |
No |
Yes |
Yes |
Create records |
Only task |
Yes |
Yes |
Invoke processes |
No |
No |
Yes |
Update records? |
Yes, but only fields from the same record or parent (in case of Master-detail relationship... |