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
Himanshu jainHimanshu jain 

Permission Set 'Temporary Account Edit' is not referenced in the flow 'Accounts Temp Access'. Check the instructions.

I am having the below issue.

User-added image

Thanks
Khan AnasKhan Anas (Salesforce Developers) 
Hi Himanshu,

Greetings to you!

Permission set Temporary Account Edit: activated for the session...
Also permission set API name: Temporary_Account_Edit
Flow: Accounts Temp Access
Unique Name: Accounts_Temp_Access
Activation flow action: Activate Session-Based Permission Set
Input Permission Set Name set to variable TemporaryAccountEdit
Default Value: Temporary_Account_Edit

This error is caused due to using a "variable" instead of a "constant" in the flow.  Even though your flow works, the challenge test is looking for a "constant".  Change it, and you will be able to pass the challenge.

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas

 
Himanshu jainHimanshu jain
Hi Anas,
I have followed the above steps, still, have the same issue.
Esther HensbergenEsther Hensbergen
Hi Khan Anas,

I think the problem is that the Clow Flow Designer is not available anymore and is replaced by the Flow Builder now.
You cannot choose between variable or constant here, only the name can be entered.
Flow Builder screenshot
I think this trailhead needs an update before it can be completed :(

Kind regards Esther
textualtextual
I agree with Esther, that the documentation and current application are out of sync. The help documents still reference the old Cloud Flow Designer. Just trying to complete these modules and cannot. 
sajib Biswassajib Biswas
Hi Himanshu, 

Regarding this issue i got a solution may be you can try this out, 
I have added a 'Get Record' node and in this node I am getting the Permission Set Value and then passing it to 'Activate Session-Based Permission Set action'. 

See below screenshots. Hope this helps. 
Flow
Get RecordGet RecordUser-added image
You can refer the below Link for the same, trail head information have to be updated i believe.
https://help.salesforce.com/articleView?id=perm_sets_session_activate_flow.htm

Please Mark it as Best Answer if it helps.