Review Flow Terminology and Sign Up for a Special Org
Learning Objectives
After completing this unit, you’ll be able to:
- Sign up for a special Trailhead Playground with some broken flows.
- Identify the terms associated with flows.
Sometimes Things Break
At some point, we all learn an important lesson: Sometimes things don’t go as planned. You put a piece of furniture together and realize that you put the most important piece in backwards, or you accidentally sit on your reading glasses and a lens pops out.
But these things don’t stay broken forever. You can review the instructions and reassemble that piece of furniture, and you can finally use that glasses repair kit that’s been in your junk drawer.
This is also true for flows in Salesforce. Sometimes flows can “break”—stop working for one reason or another. If you’re thinking, “Wait, what’s a flow again?!” remember that a flow automates a business process in your Salesforce org.
Numerous things like faulty logic, null values, permissions, or bad code can keep a flow from working properly. This module teaches you how to root out the problem with a flow in your org that’s not working as it should.
Review Flow Terms Before You Start
Before you get hands-on fixing a flow, we recommend getting acquainted with Flow Builder by completing Flow Builder Basics and the Build Flow with Flow Builder trail. You also need basic familiarity with users, profiles, and permission sets (we recommend checking out the Data Security module).
Here are some basic flow terms to get familiar with.
- Run executes the most recent saved version of the flow that you have open. Important note: This actually attempts to complete the flow and potentially interact with the data in the org. For example, if your flow updates a record when a certain action is taken and you complete that action in Run, it actually updates a record in your org.
- Debug does everything that Run does, but with some superpowers thrown in. It lets you enter values for the flow’s input variables and display debug details while running the flow. That way, you can verify how the flow processes data. Important note: Similar to Run, this actually attempts to complete the flow and interact with the data in the org. When in doubt, use Run and Debug in a Sandbox org.
- Flow Interview is an instance of a flow.
Wait, What’s Wrong with My Org?
This module is unique in the fact that you work in a “broken” org. Consider this the first of many warnings not to use this org to complete any other Trailhead badge. You can probably guess what you’ll be fixing. That’s right, some flows. Does that seem a bit too realistic for you? Well, that’s the point. You won’t always be the admin of a Salesforce org where everything is set up perfectly.
Create a Special Developer Edition Org
To complete this module, you need a special Developer Edition org. This org includes a couple of flows that just don’t work the way they should, which you fix throughout the course of this module.
You can create this free Developer Edition org by clicking the Create Playground button at the bottom of this unit. Note that this Developer Edition is designed to work with the challenges in this badge, and you shouldn’t use it for any other badge. Always check that you’re using the Trailhead Playground or special Developer Edition org that we recommend.
Since this org has unique features that might prevent you from completing other challenges, it is a good idea to rename this org to remind your future self not to use it to complete any other badges. Although this step is optional, we highly recommend it.
- In the Challenge section at the bottom of this page, click the playground name and then click Manage Orgs.
- In the Hands-On Orgs page, click Rename next to your newly connected org.
- For the Name enter
Troubleshooting Org
and click Save. - Close the Hands-On Orgs page tab or window and return to the badge page.
- Ensure the Troubleshooting Org is selected and click X to close the Choose a hands-on org pop up window.
Now that you’ve connected to the broken org, time to figure out what makes it broken.
Resources