Hey Trailblazer, we are here to guide you in earning the Flow Data Collections Specialist Superbadge. The first step to move ahead is clearing the Flow Collections and Loops Superbadge Unit. It consists of mini super-badges already solved by us in other blogs. Those are the Flow Fundamentals Superbadge Unit and Flow Optimization Superbadge Unit. I will help you figure out each challenge and how to clear it.
This blog consists of two challenges of Flow Collections and Loops Superbadge Unit include
Create a Flow to Collect and Display Records for User Interaction
Configure a Screen Flow to Collect and Save User Changes
Every challenge has an outcome and hints at how to achieve it. It also consists of solving this error, ”Challenge Not yet complete... here's what's wrong: The 'Opportunity Review' flow doesn't retrieve the records of the correct object.”, “Challenge Not yet complete... here's what's wrong: We can't find the expected Choice resource that allows the users to view all opportunities.”, “Challenge Not yet complete... here's what's wrong: The 'Opportunity Review' flow should display filtered records in a Data Table component.”, “Challenge Not yet complete... here's what's wrong: We can't find the Decision element that evaluates if the users selected a stage to filter on.”, “Challenge Not yet complete... here's what's wrong: The 'Opportunity Updater' flow doesn't add opportunities to a collection variable to update later.” and “The 'Opportunity Updater' flow isn't properly optimized for updating multiple records.”
Challenge 1: Create a Flow to Collect and Display Records for User Interaction
Look at the result we are going to achieve in the end below:
Create a flow named Opportunity Review (with API Name Opportunity_Review) to collect and display opportunities for sales users to review.
Create a formula resource called Today_Minus_30 using the formula DATETIMEVALUE(Today() - 30)
Fetch opportunities using the Get Records element fetching all opportunities records.
Add an Assignment element called Store Get Records Results (API Name Store_Get_Records_Results) to store the records in a collection for additional processing
Use Collection Sort to sort opportunities based on Name in Ascending order.
Add a Screen element to display the data table with Name, Stage, Amount, Expected Revenue, and Description.
Add a decision element to check for selected value in Filter by Stage dropdown.
Add an element called Filter for StageName (API Name Filter_for_StageName) that will generate a filtered set of records based on the filter option selected.
Add an assignment element to update the OpportunityRecord variable.
Challenge 2: Configure a Screen Flow to Collect and Save User Changes
Look at the result we are going to achieve in the end below:
Add an assignment element to assign individual opportunity records.
Add an assignment element to assign collective opportunity records.
Add an update records element to update opportunity records.
Thank You! Please leave a comment to help me understand how the blog helped you. If you need further assistance, please contact us. You can click "Reach Us" on the website and share the issue with me.
Blog Credit:
Team Avenoir
Avenoir Technologies Pvt. Ltd.
Reach us: team@avenoir.ai
Are you in need of Salesforce Developers?
Reach Us Now!