• Shirley Lafuente 8
  • NEWBIE
  • 0 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies
Has anybody completed challenge 5 in lightning experience superbadge? If yes kindly post the solution of the same.
I'm facing problem in the following section.
Awaiting Approval
If the status changes to awaiting approval and there is a positive discount value, kick off the discount approval process. If no discount is applied, the status updates to Scheduled because no approval is needed when a package is purchased at full price.

It is showing me the following error.
User-added image

Kindly share the solution.
I'm getting this error: Challenge Not yet complete... here's what's wrong: 
Opportunities with the stage of 'Awaiting Approval' and a Discount > 0, did not kick off an approval process named 'Approval for Package Deal'.

Here is what I submitted:

Object: Opporunity 
Start Process when created or edit

Criteria 
Conditions are met
[Opportunity].StageName Is Changed True
[Opportunity].StageName= Awaiting Approval
[Opportunity].Discount > 0
All conditions are met (And)

Immediate Actions
Object Opportunity
Approval Proccess: Specific Approval Process- Approval for Package Deal 
Submitter: User field from a record- [Opportunity].Owner.Id

Update Record
Record: [Opportunity]
Criteria: updated records meet all conditions
Filter: Discount Is null= true
New field: Stage=Scheduled

Criteria
Deposit Made
[Opportunity].StageName = Deposit Made

Immediate Action
Update Record
Record: [Opportunity].Fulfillments__r
No criteria
Status= paid deposit

Criteria
Cancelled
[Opportunity].StageName =Cancelled

Immediate Actions
Update Records
[Opportunity].Fulfillments__r
Status= Cancelled

Thank you in advanced!