Nov 17th, 2021
Posted on Nov 17, 2020 Tools & Tips
Here are three tips that will help you stay in control of your automation as your organization grows.
Process Builder is a declarative automation tool with a nifty interface. It consists of nodes that, like workflow rules, evaluate ‘if’ statements and perform the relative action.
Where workflow rules can only evaluate one statement and perform the related action, process builder can evaluate multiple if/then statements and execute their corresponding actions. This means you can group your workflow needs for a particular object into a single process builder. Having your automation in one place makes it much easier to see what has already been done when it’s time to add another condition.
Process Builder can also do many things workflow rules cannot, such as create records, update the fields of related records and launch a flow. For a breakdown of functionality, refer to the Salesforce Documentation.
So, instead of creating multiple workflow rules for the same object, consider grouping them together in a single Process Builder. At EightCloud, we plan for future automation by creating Process Builders for our main Objects ahead of time so that when it’s time to automate, we can simply add another node.
Notifying the right person at the right time is a prominent use case in every implementation I’ve been a part of. Dave from Sales Operations needs to be notified when someone requests a discount. Sally and Darryl need to receive an email when an escalated case isn’t closed in the first 24 hours. Organizations evolve and change, people leave and get promoted. After a while, you can lose track of who needs to get what and why.
Try to target notifications around a role or responsibility rather than adding users individually to receive email alerts. This way, whether someone is deactivated forever or just on vacation, the intended audience is still notified.
Salesforce’s declarative automation suite is getting better and better with each release. The declarative and visual nature of Flow Builder is easier to understand and learn than programmatic alternatives.
Lightning Flow has become a formidable challenger to Apex regarding ease of implementation, range of functionality, performance and debugging. Now with Lightning Flow’s recently added autolaunched record triggered flows you can launch flows when a record is created, edited and before it’s saved. Learn more about that here. This opens a range of possibilities previously limited to code.
With Lightning Flow you can:
The future of Salesforce is declarative. Invest in it!
For more information on Lightning Flow, check out the following resources:
To deploy Apex, your code needs to be covered in test classes. Although forgoing mandatory test coverage can seem like a benefit of declarative automation, don’t abandon testing altogether.
Write test classes. Use assertions to check expected versus actual results. Create a systematic and objective way to check the health of your automations. You could also enlist the help of test automation software to capture test cases and execute frequently. This will help you manage changes more easily and identify regression issues before the business discovers them.
Author: Grant Ongstad, Salesforce Consultant
EightCloud wildly exceeded our expectations. They showed a genuine commitment to understanding our needs, our business structure and processes. Additionally, they had insights that added value well above the tactics of our implementation of Salesforce. They were a true partner and have helped improve our processes overall."
- Paul Johnson, Guild Mortgage
Partners and friends, we are proud to share the new EightCloud brand and website with you. Our transformation reflects our commitment to helping you achieve Salesforce excellence through a focus on efficiency, expertise and genuine partnership.
We wish you the best and look forward to connecting with you soon!