top of page
Writer's pictureTeam Avenoir

FLOW FUNDAMENTALS SUPERBADGE SOLUTION

Updated: Aug 5




Hey trailblazer, I'm here to guide you in earning the Flow Elements and Resources Specialist Superbadge. First, you must pass the Flow Fundamentals Superbadge Unit in order to achieve this superbadge. I will be helpful in figuring out each challenge and how to clear it.

This blog consists of all three challenges of flow fundamentals include

  • Create tasks according to specific criteria,

  • Add more details to the email and update the customer Record

  • Update the Birthday Loyalty Points Update Flow.

Every challenge has the outcome of how the flow will look at the end and hints to achieve it. It also consists of solving this error ”Challenge Not yet complete... here's what's wrong: We can't find the new screen element called Confirmation Screen setup correctly on the Recommendation Email flow.

Challenge 1: Create tasks according to specific criteria

Update the Book Order flow to create tasks when the order has three, four, five, or more books.


Let's see how you handle the challenge. I will explain it in steps. The idea is just to focus on the requirements repeatedly.

  1. A decision element is to be created with the API name How Many Books in the Order? It will have two outcomes as suggested.

    1. Three/Four Orders - This outcome will check for either 3 or 4 books in book order with the help of a variable already present in flow varBooksAdded.

    2. Five or more Orders - This outcome will check for either 5 or more books in the book order with the help of a variable already present in the flow, varBooksAdded.


2. Create a formula resource with the API name DueDate and enter the formula {!$Flow.CurrentDate}+1.


3. Using the create records element on record fields, choose to use separate resources, and literal values on the Task object with the subject Add Bookmark, WhatId as {!Create_Book_Order}, OwnerId as {!Get_Records_for_Queue.Id} and ActivityDate as {!DueDate}.


4. Using the create records element on record fields, choose to use separate resources, and literal values on the Task object with the subject Add Bookmark and Sticker, WhatId as {!Create_Book_Order}, OwnerId as {!Get_Records_for_Queue.Id} and ActivityDate as {!DueDate}.


5. Connect the default outcome of the decision element to Create Book Order Line Items create records element. You can check the challenge

Challenge 2: Add more details to the email and update the customer Record

Add new elements to the Recommendation Email flow in order to add more details to the email body and stamp the Last Outreach field on the contact record.




1. Edit the EmailBody text template to show the reader’s first name, title, author, and summary.

Dear {!Get_Customer_Info.FirstName},

Thanks for being a customer of Dreamscape Bookshop! We also like the books you bought recently, and we've got another one like it that we think you'll love! Check it out!

Name : {!Get_Customer_Info.Current_Recommendation__r.Name}

Author: {!Get_Customer_Info.Current_Recommendation__r.Author__c}

Summary: {!Get_Customer_Info.Current_Recommendation__r.Book_Summary__c}

2. With the help of the new Assignment element, you will have to update Last Outreach field to the current date/time.

{!Get_Customer_Info.Last_Outreach__c} equals {!$Flow.CurrentDateTime}

3. Now you will update the contact records with {!Get_Customer_Info} record variable as you have new values to it in the previous step. This will be done in the new Update records element.

4. In the end, you will have to create a new screen for confirmation with the API name Confirmation_Screen. It will use display text to show Your email has been sent message on the screen. Hide the previous and pause button from the screen from the footer as per requirement they want it to be the last screen. You are good to check the challenge.





Challenge 3: Update the Birthday Loyalty Points Update Flow

Make updates to the Birthday Loyalty Points Update flow so that, members are rewarded with the correct amount of points.




1. Create a formula field with the name AssignLoyalityPoints. Enter this formula

Case ({!Loop_Through_Contacts.Loyalty_Status__c},

'Bronze',{!Loop_Through_Contacts.Loyalty_Points__c} +100,

'Silver', {!Loop_Through_Contacts.Loyalty_Points__c} +250,

'Gold', {!Loop_Through_Contacts.Loyalty_Points__c} +500,

{!Loop_Through_Contacts.Loyalty_Points__c}

)


2. Add the assignment element and assign the newly created formula AssignLoyalityPoints to the field Loyalty Points

` {!Loop_Through_Contacts.Loyalty_Points__c} equals {!AssignLoyalityPoints}

3. Add an Update record element to update the records by {!Customercontactforemail} record variable.



Congratulations! You have earned this badge. If you are still stuck somewhere in the challenge and need help, please leave a comment or contact us at: Reach us. You can click on "Reach Us" on the website and share the error you are stuck with.


Blog Credit:

Team Avenoir


Avenoir Technologies Pvt. Ltd.

Reach us: team@avenoir.ai



Are you in need of Salesforce Developers?

Recent Posts

See All

© 2024 by Avenoir Technologies Pvt. Ltd.

bottom of page