Have you ever started a Salesforce development project only to get derailed by an object saddled with overlapping automationsâworkflows, processes, triggers, and flows that are extremely complex to unravel? Now your stakeholders are getting antsy and that go-live date is getting pushed. What seemed like a straightforward set of user stories turned into something more complex.Â
You just ran into a risky objectâŠ
Donât let risky objects derail your Salesforce project.
You donât need to be a Salesforce wizard to know that Salesforce orgs are incredibly powerful. The ability for businesses to configure process automation on top of custom data models is why Salesforce has been adopted by hundreds of thousands of organizations across the globe. However, with the immense capabilities that Salesforce brings, a Salesforce org can become a complicated tool for people to manage.Â
As a Salesforce consultant or administrator, you may come across a new org and wonder, whatâs going on in there? What was left behind? Where are the riskiest spots that have developed in the org?Â
To start, letâs talk about Salesforce objects.Â
What is a Salesforce object?Â
To put it simply, Salesforce objects are like database tables that allow you to store your specific data. There are two types of objects:Â
- Standard objects: These objects are the ones provided by Salesforce out-of-the-box with your licenses. For example, these include accounts, contacts, cases, and opportunities. Â
- Custom objects: These are the objects that have been created by users or installed in AppExchange packages. If youâve hired an external Salesforce admin, chances are that you have these within your org. These objects are the heart of any application and hold your organizationâs unique information while providing the structure for sharing data.Â
What is a risky Salesforce object?Â
Risky objects are objects that contain high record counts combined with high levels of automation. Basically, a highly automated object that gets used a lot.Â
This combination can be a supernova ready to igniteâcreating a mess of data within an org or causing delays to a critical project.Â
What are the consequences of risky objects in Salesforce?
- Data quality: The addition of new automation or modification of existing automation on these risky objects can significantly impact business processes and data quality.Â
- Out of-sequence triggers: If admins aren't familiar with the automation and triggers attached to particular objects, making changes may result in triggers causing unintended consequences that result in poor data quality or performance issues. Basically, when there are multiple triggers on an object firing off the same event, Salesforce doesnât know which trigger to fire first so it is random.
- Inaccurate project estimates: Consultants are expected to estimate projects without understanding the complexity of the objects or the org itself. Should a consultant discover a high level of risky objects, estimates can be off-base, resulting in change orders, slipping timelines, and worst of all, a bad customer experience.
- Technical debt: Salesforce is retiring workflow rules and process builder. Risky objects often carry a large amount of this technical debt that must be migrated to flow or triggers, hampering a companyâs development agility and slowing down their org.Â
How are risky Salesforce objects identified?Â
Hint: They often arenât
Identifying risky objects in Salesforce must be done manually, which requires a HUGE number of steps in the setup menu and must be done on an object-by-object basis. To identify them, consultants have to work through the manual process of the following five steps:Â
- Identify object
- Review data storage tab, and identify the number of records (total data/2kb per record)
- Review each automation tab to identify whether the object has this automation type associated with it (Workflow, Triggers, Process Builder, Flow, Approval Processes, Sharing Rules)
- Tally up the combined automation
- Once theyâve done this, this process must be repeated for ALL objects in the org.Â
This process is so time-consuming and tedious that most admins do not even attempt to do it.Â
How can we resolve this? Wouldnât it be great to have a single view of all objects and how risky they are for your entire org? Even better, one that can be created for all objects in minutes?Â
Understand the complexity of a Salesforce org instantly.
Hubbl Diagnostics is a Salesforce org intelligence solution that accelerates the technical understanding of how any Salesforce org was implemented. It replaces tedious manual inspection with a single scan to generate a holistic understanding of a Salesforce org.  Â
âHubbl Diagnostics provides a quick glance at the risky objects in an org, empowering admins and consultants with a holistic view.â
Hubbl Diagnostics scans an orgâs metadata and analyzes it to produce an output that is like no other view of a Salesforce org youâve seen before. Letâs take a look at some examples below.Â
How to find high-risk Salesforce objects.
For each object, Hubbl Diagnostics plots the record count and the total object automation (complexity), allowing you to sort by record count or complexity (Figure 1).
â
â
â
Orgs 1-3 in Figure 1 are sorted by object complexity, allowing you to quickly identify if user stories for the proposed project are touching the most complex objects. Orgs 4-6 are sorted by record count. This view demonstrates how the org is most used, while highlighting the relative complexity of each object. This view gives instant insights into what is happening under the hood of the org, its major use cases, and potential automation challenges.
For consultants, this view is a dream come true. They can instantly see where they need to dig into certain objects for more detail. It also empowers them to be more aggressive with pricingâeither being more competitive because of the org simplicity or more expensive because of quantified complexity.
How to uncover Salesforce automation complexity.
Digging deeper you can look at the breakdown of automation per object in Figure 2. This gives admins and consultants insight into the relative complexity based on different types of automation.
â
â
This view also allows you to sort by each automation type, to identify objects with the most triggers for example. Thereby allowing you to identify risky objects that have more than one trigger per object and are candidates for a trigger framework in a tech debt remediation project.Â
Now that Salesforce has retired development of workflow rules as of the Winter â23 Release, you can also use this view to track your migration from workflow and process to flow.
Higher automation counts have darker boxes so youâll notice complex objects easily and quantify the overlap of multiple automation types. In these examples, and in most orgs, you may also notice there are many objects that violate Salesforceâs one automation tool per object rule. The high number of automation types increases the risk for unintended consequences due to order or operations.Â
Scan your Salesforce org with Hubbl Diagnostics.
With these views, consultants can save themselves the headache caused by bad assumptions by identifying where those ârisky objectsâ lie from the start of any Salesforce project. Trust us, once you see a Salesforce org through this lens, youâll never want to work without it.Â
Start uncovering your risky objects with Hubbl Diagnostics. Get your free scan here.