How to choose correct Process Automation tool || Process Builder vs. Visual Workflow vs. Workflow vs. Approval Process

With process automation, we now have multiple solutions available which we can use to implement the requirements. The solutions that we have are -Lightning Process BuilderVisual WorkflowWorkflowApprovalsWith so many options, it brings responsibilities as well to the developer to decide which tool to use. In this post, I will try to provide a comparative study on which tool is best based on some situations. But at the end, it is upto you as a developer to decide and select the best tool available. I hope this post will help you to take the decision.Let’s start with the easy one -Approval Process ::As the same suggests, whenever you need to take approval actions, you need to go for Approval process. This is an automated solution which will work based on the record creation or record value change. Below are few important points about approval process -Complexity of Approval process is very simple. It can support only one if/then statement.It doesn’t support time-based approval process i.e. trigger the approval after 24 hours or something like that. It is a complete real-time solution.Approval process can’t call Apex code or delete any records.But Approval process can create only Tasks (nothing else).Approval Process can update the same record or it’s parent.Workflow :;Workflow is the automation tool which should be used when you need to take action based record creation or record’s value change. Below are few important points...

Read More