Skip to main content
I can't pass this test, I've been testing things for more than 4 hours and I can't pass it.

 

Attached catches of all sections.

 

Security Specialist Set record-level security settings

 

User-added image

 

User-added image

 

User-added image

 

User-added image

 

Same error all time and Apex Test Execution error to

 

"Challenge Not yet complete... here's what's wrong:

 

We couldn't find the Opportunity record owned by Samantha Cordero with the expected Stage. Please make sure the record exists and it contains the correct values according to the requirements." 

 

1.

 

sb_security.BeAwesome

 

helpAStranger

 

Fail

 

System.QueryException: List has no rows for assignment to SObject

 

Class.sb_security.BeAwesome.createUser: line 133, column 1 Class.sb_security.BeAwesome.setup: line 127, column 1

 

2

 

sb_security.BeAwesome

 

hugYourMother

 

Fail

 

System.QueryException: List has no rows for assignment to SObject

 

Class.sb_security.BeAwesome.createUser: line 133, column 1 Class.sb_security.BeAwesome.setup: line 127, column 1

 

Thx
7 réponses
  1. 12 janv. 2020, 09:00
    Can you please share the screenshots for those two rules? Need to see the details of those two rules.

     

    I could see both rules are configured with criteria not Based on record owner
0/9000