We have more differences between lighting Process builder and Flows. Find the below difference between Process builder and Flows.
| S.No | Process Builder | Flow |
| 1 | Can be triggered when a record is created or edited. | Can be triggered when a record is created, edited or even deleted. |
| 2 | Not possible to save the newly created record ID | Possible to store newly created record ID in a variable |
| 3 | Good for the intermediate use case. | Much more powerful to implement complex logic |
| 4 | Can’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. |
| 5 | Invoke one Process builder from another process builder | Invoke one flow from another flow |
| 6 | Create one record at a time. | Create multiple records at a time. |
| 7 | No need to write code | No need to write code |
| 8 | Call apex class, schedule and send email actions are possible | Call apex class, schedule and send email actions are possible |
| 9 | We 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.
