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
Rokha SF- OBIRokha SF- OBI 

Generate and Analyze Logs

So I have been trying to pass the Generate & Analyze Logs Trailhead challenge. I keep getting this error: 

Challenge Not yet complete... here's what's wrong: 
Ensure that your Execution Details perspective contains the Stack Tree, Execution Stack, Source, and Execution Overview panels.

User-added image
Best Answer chosen by Rokha SF- OBI
Charisse de BelenCharisse de Belen
Hello,

Did you check to make sure that the name of your perspective is spelled correctly (Execution Details)? If that is not the problem, make sure that you selected the correct Trailhead Playground or Developer Org.

All Answers

Charisse de BelenCharisse de Belen
Hello,

Did you check to make sure that the name of your perspective is spelled correctly (Execution Details)? If that is not the problem, make sure that you selected the correct Trailhead Playground or Developer Org.
This was selected as the best answer
Dora Babu KOTTHRU 7Dora Babu KOTTHRU 7
I do have same issue though Execution Details was the perspective name. It is giving same error. 
 
Rokha SF- OBIRokha SF- OBI
Thanks for your response. My issue was be the Trailhead playground ...
Charisse de BelenCharisse de Belen
I'm glad you solved the issue! Please mark the answer Best Answer so this question can be marked Solved.
Gary Elbaum 3Gary Elbaum 3
This worked for me,

1. In the Developer Console, open a log in the Log Inspector.
2. Click Debug. View Log Panels and select the panels you want to include in the perspective. 
3. Click Debug. Save Perspective As.


Creating Custom Perspectives in the Log Inspector
https://help.salesforce.com/articleView?id=code_dev_console_perspectives_creating.htm&type=5

 
Dharti Rathod 5Dharti Rathod 5
following steps worked for me.
1. create a class (if you havent from the trailhead https://trailhead.salesforce.com/content/learn/modules/developer_console/developer_console_source_code)
2. Create Apex class
file > new > apex class > name = EmailMissionSpecialist > copy code from (trail head link above) > save
3. Run/execute the class
Debug > 'open execute anonymous window' > enter the code block below to excute > make sure to 'checkmark' open log

EmailMissionSpecialist em = new EmailMissionSpecialist();
em.sendMail('youremailid@enter.com', 'Flight Path Change', 
   'Mission Control 123: Your flight path has been changed to avoid collision '
   + 'with asteroid 2014 QO441.');
4. Debug > 'View panel log' > check mark : as mentioned in the challenge.
5. Debug > save perspective as > enter the name as mentioned in challenge 'Execution Details'.
6. save


 
Kalki ISKalki IS
User-added image