+ Start a Discussion
Stevie Burt 7Stevie Burt 7 

Process Automation Specialist Superbadge - Step 4 Error

I am stuck on Step 4 of the Process Automation Specialist Superbadge. I am receiving the following error:
Challenge Not yet complete... here's what's wrong: 
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: GTJRSNVZ

Here are the Challenge Requirements: 
Create Sales Process and Validate Opportunities
Create a sales process with the required stages and name it RB Robotics Sales Process. Create a record type named RB Robotics Process RT. Add a field to the opportunity page layout as described in the business requirements and create the appropriate validation rule for high-value opportunities.

Hey, nice work on the setup records! Now let’s talk about our sales process. Most of the stages we use are already in Salesforce, but one of the stages we track doesn’t come standard so it would be great if you’d add it. These are the stages we use:  Prospecting, Qualification, Proposal/Price Quote, Negotiation/Review, Awaiting Approval, Closed Won, and Closed Lost. We want all our reps to follow the same process, so everyone should see those stages for every opportunity. 
Oh, and the biggest deals--anything over $100K--have to be approved before they can close. We should have a way to show on the record that the deal is approved--maybe you can add an “Approved” checkbox to the opportunity. Obviously the sales reps shouldn’t be able to check that box. Only system administrators like you and sales managers should be able to check it. By the way, all of us sales managers here have the Custom: Sales Profile in Salesforce.

I have created the following:
  1. Created a new Opportunity Stage: Awaiting Approval (Open, 95%, Pipeline)
  2. Created the following Opportunity Fields:
    1. Approved (Checkbox) Defaulted FALSE
  3. Sales Process:
    1. NAMED: RB Robotics Sales Process
    2. Stages Added:
      1. Prospecting (Open, 10%, Pipeline)
      2. Qualification (Open, 10%, Pipeline)
      3. Proposal/Price Quote (Open, 75%, Pipeline)
      4. Negotiation/Review (Open, 90%, Pipeline)
      5. Awaiting Approval (Open, 95%, Pipeline)
      6. Closed Won (Closed/Won, 100%, Closed)
      7. Closed Lost (Closed/Lost, 0%, Omitted)
  4. Opportunity Record Type:
    1. NAMED: RB Robotics Process RT
    2. Sales Process: RB Robotics Sales Process
    3. This is the only record type and assigned to all profiles. Also using the Opportunity Layout. 
  5. Opportunity Validation Rules:
    1. Approved_Field_Validation
      AND( 
      ISCHANGED(Approved__c), 
      OR( 
      $Profile.Name <> 'System Administrator', 
      $Profile.Name <> 'Custom: Sales Profile' 
      ) 
      )

      2. High_Value_Opportunity_Validation
      AND(
          ISCHANGED( IsClosed ),
          IsClosed = TRUE,
          Amount  > 100000,
          Approved__c  <> TRUE
          )
Im not sure what I am missing. Can anyone assist?
Best Answer chosen by Stevie Burt 7
Apoorv Shukla 8Apoorv Shukla 8
@Stevie, Remove the "ISCHANGED( IsClosed )" form your Validation Rule, I checked the Debug logs and looks like they are inserting a Opportunity with amout as "20000". and this validation rule is not passing in this case. everything else looks perfectly fine for your case.
Please mark this as Best answer if you pass Challenge 4 after this :-)

All Answers

Samyajit Mandal 15Samyajit Mandal 15
Remove the 'Approved' field from 'sales page layout'
Apoorv Shukla 8Apoorv Shukla 8
@Stevie, Remove the "ISCHANGED( IsClosed )" form your Validation Rule, I checked the Debug logs and looks like they are inserting a Opportunity with amout as "20000". and this validation rule is not passing in this case. everything else looks perfectly fine for your case.
Please mark this as Best answer if you pass Challenge 4 after this :-)
This was selected as the best answer
Stevie Burt 7Stevie Burt 7
@Apoorv That worked!! Thank you so much, I couldn't figure that out for the life of me! 
david boukhors 23david boukhors 23
@Stevie There is no need for your validation rule "Approved_Field_Validation". You can put the approved field read only for all profiles except Admin and Sales profile 
Jon snow 29Jon snow 29
I started in the object manager under the Opportunity object in order to include the new "Awaiting Approval" stage.  I deactivated all unneeded stages then crafted the Sales Process, incorporating the opportunity stages then record type.  It may not be necessary, but I made sure to apply the each record type to the correct layout that corresponds with each profile.
Free Movie Sites (https://www.techavy.com/free-movie-sites-online/) l Pirate Proxy SItes (https://pirateproxy.xyz/)
July MayerJuly Mayer
You know that you can get your custom template from specialists for these operation.
Here is how Robotic Process Automation working - https://www.artsyltech.com/applications/RoboticProcessAutomation.html
Also, you can request a free Demo to discover more about how to automate routine operations
Sumbul KSumbul K
A specialist can provide you a custom template for such operation. You must learn how automating operations will save you time and money (https://www.techprevue.com/automating-operations-save-time-money/" target="_blank). It will be really helpful.
Tabbasum NihanTabbasum Nihan
Nice solution for Process Automation Specialist Superbadge error.
https://www.techgape.com/2019/02/how-technology-can-benefit-your-business.html