Skip to main content TrailblazerDX, the ultimate AI learning event is heading back to San Francisco March 6-7, 2024. Register Now and save 35% with code T24DEYE424.
+2,000 points
Superbadge

Screen Flow Distribution Superbadge Unit

Optimize and distribute screen flows across user interfaces according to requirements.

~1 hr

Screen Flow Distribution Superbadge Unit

What You'll Be Doing to Earn This Superbadge

  1. Distribute established flows across user interfaces.
  2. Enhance existing flows to improve the user experience.

Concepts Tested in This Superbadge

  • Distributing flows
  • Flow interactions with Lightning record pages and apps

Prework and Notes

Sign Up for a Developer Edition Org with Special Configuration

To complete this superbadge unit, you need a special Developer Edition org that contains special configuration and sample data. Note that this Developer Edition org is designed to work with the challenges in this superbadge unit.

  1. Sign up for a free Developer Edition org with special configuration.

  2. Fill out the form. For Email address, enter an active email address.

  3. After you fill out the form, click Sign me up.

  4. When you receive the activation email (this can take a few minutes), open it and click Verify Account.

  5. Complete your registration by setting your password and challenge question. Tip: Write down your username, password, and login URL for easy access later.

  6. You are logged in to your superbadge Developer Edition org.

Now, connect your new Developer Edition org to Trailhead.

  1. Make sure you’re logged in to your Trailhead account.

  2. In the Challenge section at the bottom of this page, select Connect Org from the picklist.

  3. On the login screen, enter the username and password for the Developer Edition org you just set up.

  4. On the Allow Access? page, click Allow.

  5. On the Want to connect this org for hands-on challenges? page, click Yes! Save it. You are redirected back to the Challenge page and ready to use your new Developer Edition org to earn this superbadge unit.

  6. Now that you have a Salesforce org with special configuration for this superbadge unit, you’re good to go.

Tips

  • Enter all labels exactly as described in the instructions. Labels are case-sensitive and spelling counts.

  • When possible, copy and paste the label names from superbadge instructions instead of typing them.

  • If label names are not specified, you can use any name you choose; this applies to some screen components.

  • Superbadge units focus on very specific objectives; some best practices or typical approaches might not be required in the challenges. For example, activating a flow is an important step; activation is specifically included in the Flow Administration Superbadge Unit.

  • Make sure you save your work before running the challenge check.

  • Ensure that you don’t create duplicate records, labels, permission sets, and so on, as part of any challenge.

  • Build your solution according to the requirements; adding more actions or steps can cause challenge checks to fail.


Note

Note

Before you begin the challenges, review Screen Flow Specialist Superbadge: Trailhead Challenge Help. Check out the accessibility section to learn more about screen reader and keyboard accessibility within Flow Builder.

This superbadge unit is part of the Screen Flow Specialist Superbadge. Complete the capstone assessment and related superbadge units to receive the Screen Flow Specialist Superbadge.

If you’ve completed any of the superbadge units in the Screen Flow Specialist Superbadge, you can use the same Developer Edition org to complete the challenges in this superbadge unit. If not, make sure you’re using a new Developer Edition org from this sign up link. If you use an org that’s been used for other work, you won’t pass the challenges in this superbadge unit.

Review Superbadge Challenge Help for information about the Salesforce Certification Program and Superbadge Code of Conduct.

Use Case

The Hive Foundation is working to promote mental health and wellness for individuals living in poverty or homelessness. As part of their strategic plan, the foundation wants to publish a way to quickly collect practice information from mental health providers. Providers can share information about their services, availability, and fees. This information will be very helpful in connecting community members with the resources they need. As the Salesforce admin for the foundation, you’re responsible for enhancing and deploying screen flows to help the foundation team and community members access this information.

Business Requirements

Hive App Home page and Account layout

As part of its planning process, the foundation surveyed individuals in target communities about access to care. One of the biggest barriers was determining how many providers are available in an area, what their specialties and services are, and whether or not they are taking new clients. You’ve already built a flow called Provider that allows any service provider to share their practice information with the community. This flow will be used by internal team members and visitors to the Hive Foundation website. Add the Provider flow to the Hive App’s Home page. Note: You can decide the position of the flow on the Hive Provider Home page.

The foundation also wants the Provider flow available on the Account records itself for quick access. Add the Provider flow to the Account Layout page layout as a quick action in the Hive App. Label the action as Create New Provider with API name Create_New_Provider.

Hive App Contact layout and Utility bar

Users want to test a few different methods to see which works best for them. Add a custom button to the Lightning actions on the Contact Layout page layout in the Hive App so the foundation team can decide which they like better. Label the button Add New Provider with API name Add_New_Provider, and make sure the button launches the Provider flow from the Contact record page. Configure the link to capture the Contact record ID and pass it to the flow using the Contact_Record_Id variable.

Note

Note

For more guidance on Button or Link URL construction, review the Help article.

All of the display options work well and demonstrate how useful the flow is on many different app pages. To simplify things, you suggest making the Provider flow available from any screen in the Hive App. Add the Provider flow to the utility bar for the Hive App, setting the height to 500 and the width to 500.

Update Provider flow

Now that the internal app is working well for internal users, you get to work on displaying the flow for external users. You’ve already built an Experience Cloud site called Hive. Add the Provider flow to the Hive Digital Experience Home page. For the best user experience, disable the Pause button on all the screens of the flow. Be sure to publish the site after adding the flow.

To test the functionality, you’ll access the Hive site as Jane Grey. Note that the foundation has decided for security and quality assurance purposes that only qualified providers (existing contacts) can add their practice information. To access the Hive site and test this functionality, navigate to Jane’s contact record and select Log in to Experience as User. Logged into the site as Jane, create a new provider record for Jane Grey as a Solo Practitioner (you can choose any values you’d like for the remaining fields).

Everyone loves the new functionality, and the foundation has requested a few optimizations. Given that internal users can launch the Provider flow from the account and contact records, they would like to have the input screen pre-populated with information from the corresponding record. Configure the S2 Provider Signup screen in the Provider flow to automatically display the following. For Practice Name, auto-populate the corresponding Account record ID from the quick action on Account, using the recordId variable. For Provider Name auto-populate the corresponding Contact record ID from the button on Contact, using the Contact_Record_Id variable.

The foundation appreciates how well the Provider flow is working–it’s generating new providers daily. They are requesting a quick modification to change the button label in the Provider final flow screen to display Thank you instead of “Finish”.

Your contributions have helped the Hive Foundation develop a comprehensive directory of providers. Access to this information will help families connect with the care and resources they need. Congratulations on a job well done!

Ready to Tackle This Superbadge?

Please first complete the prerequisites and the challenge for Screen Flow Distribution Superbadge Unit will be unlocked.

~1 hr