Category: automation tool

Kitchener Canada Developer Group Event: Automate the Development Lifecycle with CumulusCI by David Reed

Special thanks to our speaker, David Reed, for the session on Automate the Development Lifecycle with CumulusCI.Here comes the presentation and recording.Presentation: Automate the development lifecycle with cumulus ci on april 9th, 2020 from Sudipta Deb ☁ Recording:Please register to Kitchener, Canada Developer Group for all our future...

Read More

How to choose between Trigger and Lightning Process Builder

With the introduction of Lightning Process Builder, we can do many things which were kind of limitations of Workflows. Salesforce introduces Lightning Process Builder as successor of Workflow rules, thus allowing more config options through click and reducing amount of apex customization required. Process Builder supports all the features from Workflows with the exception of sending outbound message without apex code. I will not be surprised if Salesforce decides to decommission Workflow in near future.Previously there were few scenarios (listed below) which were not possible through workflow and we need to write Apex trigger to achieve those. Here are few of them -If we need to perform complex validationBefore/After logic for record insert/update/delete/undelete operation.Update/insert any objects or related records.Problem with workflow is we can’t update child records with workflow. Workflow supports only updation of parent record. So earlier we need to go for Trigger. But with the introduction of Process Builder, now we can update child records as well. Below is one case study -Case Study:It’s a library management system – Universal Library. Library is having many books. If the book is not available, user will send the request for the book. The moment book is available, all the request status will change from ‘Hold’ to ‘Ready to Pickup’. To achieve this below is the object model -Here Book and Book Request are connected through Master-Detail relationship. Previously to...

Read More

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