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
Alberto BrioschiAlberto Brioschi 

TRAILHEAD: Session-Based Permission Sets and Security --> Activate Session-Based Permission Sets without Code

Hi,
I m getting the following error when checking challenge in module above.

"Challenge not yet complete in My Trailhead Playground 2
There was an unexpected error while verifying this challenge. Usually this is due to some pre-existing configuration or code in the challenge Org. We recommend using a new Developer Edition (DE) to check this challenge. If you're using a new DE and seeing this error, please post to the developer forums and reference error id: FIJICTJR"

I have already created a new DE but getting the same error. Also tried in Classic but no luck.
Any advice is appreciated.

Thank you,
A.
Deepali KulshresthaDeepali Kulshrestha
Hi Alberto,

Figured it out.  I used a "variable" instead of a "constant" in the flow.  Even though my flow works, and had all the correct information, the challenge test is looking for a "constant".  Changed it, and the challenge passed.

Or
Creating a new DE space for this module DEFINTELY helped. 
1-Whether you've activated "Manage Flows" on the Read Only Clone
2-Start creating your flow. You want to drag the Activate Session-Based Permission Set to the board
1-General Setting Name can be anything EXCEPT the same thing as Temporary Account Edit; I added an acryonm at the end to achieve a different API
2-Inputs, slect "Create New-Constant" as you did in the sample. For the Unique Name, use TemporaryAccountEdit. Leave Data Type set to "Text" and enter the API -- "Temporary_Account_Edit" in the bottom box.
3-Click the Green Circle Arrow "Set as Start Element"
4-Save as "Accounts Temp Access"; make sure to select the "Screen Flow" from the drop down instead of the default setting on the pick list-- this is on the save screen. If you have missed this -- DEACTIVATE, DELETE, and START OVER. 
5-CLOSE.
6-When you are 100% sure you've done the first 5 steps correctly, click "Activate" (I've tried deactivating and editing, but it only errors out and won't save changes. See note on #4. GRRR.)

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks and Regards,
Deepali Kulshrestha
Alberto BrioschiAlberto Brioschi
Dear Deepali,
Many thanks for looking into the problem I encountered, however I managed to overcome this obstacle by creating a new DE and re-doing  all the challenges of the trail using Salesforce Classic - only.
I can certainly say that I have mastered this topic! :)
Many thanks for looking into,
All the best,
Alberto