How are trailhead hands-on challenges checked

How are trailhead hands-on challenges checked



What ways does Salesforce use to automatically check hands-on challenges against the requirements in hands-on challenges in Trailhead?



I've noticed that some challenges are checked by making API requests to execute Anonymous Apex that has some asserts checking the correctness. However, now I'm trying to debug an challenge that doesn't appear to be doing anything that is logged in Debug Logs. Does Salesforce always use the user with which I'm logged in to Trailhead? If not, which users should I turn on the debug logs for?




1 Answer
1



As far as I can tell, all hands-on challenges are verified by making one or more API calls, using the user for the selected playground you're in. However, not all API calls can be debugged. For example, describe API calls don't generate debug logs. If you're on a hands-on challenge that involves modifying page layouts, creating records beforehand, building reports, etc, then it is possible that you won't have any debug logs to help you out. In these cases, it's usually best to just start back from the beginning of the module and double-check your work.



Also, please read this recent meta question. If you feel you are like 99% of the way there, and everything seems like it should be working, but it just doesn't, please do feel free to ask specific questions. However, in doing so, try to provide as little of the solution as possible so as to not give everything away, but as much as possible (include any error message, verbatim) so we can help you.






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

Edmonton

Crossroads (UK TV series)