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
Yogesh DYogesh D 

Trailheadn 'Automate Maintenance Requests' challenge of 'Apex Specialist' superbadge.

Do we have to add 'Repair' and 'Routine Maintenance' values to the existing Type picklist values on Case object ?
Its not required to add those options in the type picklist values. 
Yogesh DYogesh D
If so then how do we satisfy that specific condition? I mena how do we check of what type the closed case is ? 
Still you can able to check that condition in your code, only problem is you can’t verify the code behavior by creating record in UI but still you can able to test those scenarios by passing values in your test class. If you want to verify the behavior of the code through UI, then go ahead and add the given picklist options and created a case record and confirm the code behavior.
Jeff DouglasJeff Douglas
We updated all of the superbadges yesterday so please double check the requirements (some have changed) and try the challenge again. 

Thanks for trying superbadges!

Jeff Douglas
Trailhead Developer Advocate