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
Ammu Sreekumar 4Ammu Sreekumar 4 

Hi,Am trying to complete the security Specialist Superbagde ,got stuck at step 2

STEP 2 challenge :onfigure other Salesforce settings related to record-level security to meet the business requirements. Create a user, Samantha Cordero, and assign her the Field Sales User profile and the Field Sales role. Create an opportunity owned by Samantha with the stage name 'Needs Analysis'. Create a Closed Won opportunity owned by Samantha, with the type of 'Existing Customer - Upgrade'.

You will need to install the Trailhead Security Superbadge managed package, then run all Apex tests by:
1.Search for 'Apex Test Execution' in Setup Quick Find.
2.Click the' Select Tests' button.
3.Choose '[All Namespaces]' from the dropdown menu.
4.Select the 'BeAwesome' test with the 'sb_security' Namespace Prefix.
5.Click the 'Run' button.
Error :Challenge Not yet complete... here's what's wrong:  The unit tests in the managed package have not passed successfully. Make sure you run all test in your org before checking this section. Ensure that they all pass.
I am not able to find the Trailhead Security Superbadge managed package in the trailhead playground app exchange ,when am searching for Trailhead Security Superbadge managed the result showing is Trail Tracker app.
what should i do to clear this step ?
 
NagendraNagendra (Salesforce Developers) 
Hi Sreekumar,

Sorry for this issue you are facing.

If you have installed the package properly then please check with the below steps.

1. OWD settings for Opportunity object is 'Private'
2. Create a public group as 'Project Managers' for Project Manager related requirements.
3. Setup Profiles and Roles for Field Sales User, Inside Sales User, and Sales Executive User
4. Created one criteria based sharing rules for Opportunity:
Criteria: (Opportunity: TypeEQUALSExisting Customer - Upgrade) AND (Opportunity: StageEQUALSClosed Won)
Shared with: Group: Project Managers
Access level: Read Only
5. Then, created another sharing rule for Opportunity (this one I created only after an unsuccessful run of the test cases). This sharing rule is owner based, with the following details:
Criteria: Owner of All Internal Users
Shared with: Role: Inside Sales
Access level: Read/Write

If the problem continues to be the same then I would suggest you please double check if you have installed the package in the right org in which you are checking the challenge.

Mostly this happens when you have installed the package in some other org and the connected org would be different.

I would recommend please check the default org which is connected, then navigate to setup-->quick find box-->installed packages.

If you are not able to find the security specialist super badge managed package there, I would suggest installing the package again.

Still, if the error persists then I would suggest you please reach out to the trailhead support team for a better and quick assistance on the above issue.

You may reach the support team at the below address. Hope this helps.

Kindly mark this as solved if the reply was helpful.

Thanks,
Nagendra
 
Ammu Sreekumar 4Ammu Sreekumar 4
hello Nagendra ,
Thanks for your response.
I did create a new trailhead playground to complete the security specialist  superbage  and cross checked all my security setting  as per your  above step 1 to 5 ,everything looks correct .But when am searching for  Trailhead Security Superbadge managed package in the trailhead playground  through applauncher its showing only 1 result thats Trail Tacker app .
1.new trailhead playground or my developer org where should i install Trailhead Security Superbadge managed package ?
2.I did install Trailhead Security Superbadge managed package in my developer org but not able to find it the appexchange through the new trailhead playground  i created to complete the superbage ??
 
Manuela ArangoManuela Arango
Hello, I the exact same question that Ammu. can someone please help us! 
THank you,