function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Bareera NoorBareera Noor 

App Customization Super badge Challenge 2

I am working on the Step 2 of this Super badge. I am getting this following error message
Challenge Not yet complete... here's what's wrong: 
The 'Volunteer Organization' field's filter is not configured correctly.
Here are the requirementsVolunteer OrganizationVolunteer Job, Volunteer Shift, and Volunteer Shift Worker display the associated Organization 
Volunteer Organization : Volunteer Job, Volunteer Shift, and Volunteer Shift Worker display the associated Organization name.
Here are my formulas: 
 Volunteer JobFormula: Volunteer_Activity__r.Volunteer_Organization__r.Name
Volunteer ShiftFormula: Volunteer_Job__r.Volunteer_Organization__c
Volunteer Shift WorkerFormula: Volunteer_Shift__r.Volunteer_Organization__c
Narender Singh(Nads)Narender Singh(Nads)
Hi,
Create a custom field on Volunteer Activity Object:
Name: Volunteer Organization
Volunteer_Organization__c (Master Detail with Account object)
Filter criteria : Volunteer Organization: Volunteer Organization StatusEQUALSAccepting Activities) AND (Volunteer Organization: Account Record TypeEQUALSVolunteer Organization Account)
Filter Type Required.


Change field formula on Volunteer Shift object as:
Volunteer_Activity__r.Volunteer_Organization__r.Name

Change field formula on Volunteer Shift worker object as:
Volunteer_Shift__r.Volunteer_Job__r.Volunteer_Activity__r.Volunteer_Organization__r.Name


Let me know if it helps,
Thanks!
Bareera NoorBareera Noor
@Narender I am not able to select a Volunteer_Activity__r field. It only coming as a Volunteer_Activity__c field.  It doesnt give an option to select further from Volunteer_Activity field. 

User-added image
 
Narender Singh(Nads)Narender Singh(Nads)
That's probably because you are not going in the right sequnce.
Let's start fresh.
Delete all the fields Named 'Volunteer Organization'. Start from the 
Volunteer Shift Worker Object.

First delete the 'Volunteer Organization' field from the Volunteer Shift Worker object.
Then delete the 'Volunteer Organization' field from the Volunteer Shift object.
Then delete the 'Volunteer Organization' field from the Volunteer Job object.
Then delete the 'Volunteer Organization' field from the Volunteer Activity object.

Now moving forward, let's start creating the fields.

Step 1:
Create a custom field on Volunteer Activity Object:
Name: Volunteer Organization (Master Detail with Account object)
Filter criteria : Volunteer Organization: Volunteer Organization StatusEQUALSAccepting Activities) AND (Volunteer Organization: Account Record Type EQUALS Volunteer Organization Account)
Filter Type: Required.

Step 2:
Before you create the formula field: Make sure you have a custom lookup field named  Volunteer Activity on this object.
Create a custom field on Volunteer JOb Object:
Name: Volunteer Organization (Formula field)
Return type: Text
Formula: Volunteer_Activity__r.Volunteer_Organization__r.Name


Step 3:
Before you create the formula field: Make sure you have a custom Master Detail field field named  Volunteer Job on this object.

Create a custom field on Volunteer Shift Object:
Name: Volunteer Organization (Formula field)
Return type: Text
Formula: Volunteer_Job__r.Volunteer_Activity__r.Volunteer_Organization__r.Name

Step :
Before you create the formula field: Make sure you have a custom Master Detail field field named  Volunteer Job on this object.

Create a custom field on Volunteer Shift Worker Object:
Before you create the formula field: Make sure you have a custom lookup field field named  Volunteer Shift on this object.
Name: Volunteer Organization (Formula field)
Return type: Text
Formula: Volunteer_Shift__r.Volunteer_Job__r.Volunteer_Activity__r.Volunteer_Organization__r.Name

Let me know if it helps. 
Thanks
Bareera NoorBareera Noor
@Narender I follow all the steps but I am still getting the same error message. Please Help!!
 
Narender Singh(Nads)Narender Singh(Nads)
What error are you getting now?
Bareera NoorBareera Noor
Challenge Not yet complete... here's what's wrong: 
The 'Volunteer Organization' field's filter is not configured correctly.
 
Bareera NoorBareera Noor
I deleted all the fields and then follow all the instructions that you gave created allt the fields once again. But I am still getting the same error. Should I start from scratch?
Bareera NoorBareera Noor
One thing that I have noticed you mention for the Filter criteria : Volunteer Organization: Volunteer Organization StatusEQUALSAccepting Activities) AND (Volunteer Organization: Account Record Type EQUALS Volunteer Organization Account)
My filter criteria is (Volunteer Activity: Volunteer Organization StatusEQUALSAccepting Activities) AND (Volunteer Organization: Account Record TypeEQUALSVolunteer Organization Account)
Narender Singh(Nads)Narender Singh(Nads)
That's what you are doing wrong I believe.
Please change the filter criteria as :
Filter criteria : Volunteer Organization: Volunteer Organization StatusEQUALSAccepting Activities) AND (Volunteer Organization: Account Record Type EQUALS Volunteer Organization Account)

And then check
Bareera NoorBareera Noor
Nope Still the same error. Now my filter criteria is same as yours. 
Volunteer Organization: Volunteer Organization StatusEQUALSAccepting Activities) AND (Volunteer Organization: Account Record TypeEQUALSVolunteer Organization Account)
Bareera NoorBareera Noor
Please help I want to get done with it so I can work on next challenges.
Narender Singh(Nads)Narender Singh(Nads)
Make sure your field is configured like this:
1.User-added image

2.User-added image
Bareera NoorBareera Noor
Please take a look at the screen shots below. To me everything is same but I might be missing something.
User-added image

User-added image
Narender Singh(Nads)Narender Singh(Nads)
Hi,
Use the value as shown in as screenshot for recordtype filter and then check the challenge.

User-added image

Let me know if it helps
Bareera NoorBareera Noor
I tried this too but still the same error.
User-added image

 
Narender Singh(Nads)Narender Singh(Nads)
Please make sure that you are checking the challenge against the right org.playground. Sometimes we often miss that.
In case you are selecting the org and the error still persists then please share the screenshots of the following:
 Volunteer Shift Worker object detail page with fields.
 Volunteer Shift object detail page with fields.
 Volunteer Job object detail page with fields.
Volunteer Activity object detail page with fields.

Also share screenshots of all the Volunteer Organization fields you have created.
Bareera NoorBareera Noor
OK here are the screen shots.
Volunteer Activity Object:
User-added image
Volunteer Shift Worker:
User-added image

User-added image
Volunteer Shift:
User-added image
User-added image

 
Bareera NoorBareera Noor
 Volunteer Job:
User-added image

User-added image

User-added image
Narender Singh(Nads)Narender Singh(Nads)
It would have been a lot easier if I could just access login into your trailhead and fix it.
I will get back to you asap once I verify the field names for all the objects.
MPB SalesforceMPB Salesforce
Hi all if you face any error related to this super badge so once try this video series I hope you will get solution
https://www.youtube.com/watch?v=Qw_wC7_OYN4&t=19s
bhawana bishtbhawana bisht
@Narender
Hi I followed the same steps which you described but not able to clear, Can you please help