
3 réponses
Hi Nancy,So, here I write down what I do.1. Create a public group where I assign only the project manager.2. Create new opportunities that required for the challenge.Here comes the tricky part of the challenge.3. I create 3 "Opportunity Sharing Rule" to pass the "Apex Test Execution"Criteria Based Rule - (Stage Equal Closed Won) & (Type Equal Existing Customer - Upgrade). This is read-only. I shared this with the project manager through the public group that I createdRecord Owner Based Rule - Record Owner (Role: Field Sales) & Shared With (Role: Inside Sales). This is read/write.Record Owner Based Rule - Record Owner (Role and Subordinate: Sales Executive) & Shared With (Role: Inside Sales). This is read-only.4. Check "Apex Test Execution". I hope if you follow all the steps I mentioned you will pass the test.I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.Thanks,Ajay Dubedi