Website Loading ....

Difference between Process builder and flow

2 min read

We have more differences between lighting Process builder and Flows. Find the below difference between Process builder and Flows.

S.NoProcess BuilderFlow
1Can be triggered when a record is created or edited.Can be triggered when a record is created, edited or even deleted.
2Not possible to save the newly created record IDPossible to store newly created record ID in a variable
3Good for the intermediate use case.Much more powerful to implement complex logic
4Can’t be used to capture user input(s).Can be used to capture the user input(s) and later process it based on your business use case.
5Invoke one Process builder from another process builderInvoke one flow from another flow
6Create one record at a time.Create multiple records at a time.
7No need to write codeNo need to write code
8Call apex class, schedule and send email actions are possibleCall apex class, schedule and send email actions are possible
9We have 2 types of actions

1) Immediate actions

2) Scheduled actions

We have 2 types of flows :

1)  Screen flow

2)  Auto – launched flow

 

Disadvantage of process builder :

1) Only a single record can be created using a process builder record creation action.

2) You cannot update the owner ID field on child records in a process.

3) Newly created record IDs (created in a process) cannot be used in another action in the same process.

4) if any of the actions fail, the entire transaction fails and an error message displays.

5) Process Builder cannot handle delete and undelete DML.

6) Process Builders cannot handle before DML It executes after a record has been created or updated.

7)  Email alerts aren’t supported for the task.

8) Scheduled actions can be triggered based on any date field, but only by the object involved in the process. For example, if you’re building the process on the opportunity object, then you cannot use its parent account’s date field to trigger the scheduled action — only the opportunity’s date fields are accessible there.

Sruvi IT

Sruvi IT Solutions

Expert in digital transformation, SEO, and enterprise technology. Helping businesses grow through innovative IT solutions since 2018.