You need to sign in to do that
Don't have an account?
Martin Freire
Challenge Not yet complete... here's what's wrong: The '# of Volunteers Still Needed' field on the 'Volunteer Shift' record is not working as expected.
I am stuck on the second part of this superbadge with this error, and I could use a pointer:
Refer below links for similar discussion.
https://developer.salesforce.com/forums/?id=9060G0000005XD9QAM
https://success.salesforce.com/answers?id=9063A000000iktTQAQ
Best Regards,
Sandhya
MAX(Desired_of_Volunteers__c - Shifts_Taken__c, 0)
My fields were named:
# of Volunteers Still Needed (of_Volunteers_Still_Needed__c)
Desired # of Volunteers (Desired_of_Volunteers__c)
Shifts Taken (Shifts_Taken__c)
The names must be EXACTLY as they are written in the directions, with the default API names. Don't try to change the API names to make them more readable (i.e., Desired_Number_of_Volunteers__c or Number_of_Volunteers_Still_Needed__c). Type them EXACTLY as they are written, but TYPE... don't copy and paste. I think my problem was that I had some sort of special hidden character that I couldn't see that was throwing it off.
Make sure you field level permissions are correct (they should be, but it doesn't hurt to check).
I seriously nearly gave up the whole thing because of this stupid field. I think it took me longer to get through this step than it did to finish the rest of the badge.
I can't promise any of that will resolve your issue, but that's what finally got me through.
This error message can be misleading.
In my case the root casue was the Shifts_Taken__c field filter criteria.
Ensure your filter criteria is onlyone line...
Status equals Confirmed, Complete
and not...
Status equals Confirmed AND
Status equals Complete
Enter the same values from the image below that will solve!
Salesforce asks for a "num" name, but it only works if you put #.
Salesforce needs to solve this issue. They do not make it clear how one is suppose to label things >: (