You need to sign in to do that
Don't have an account?

Lightning SuperBadge Issue in challenge #6
I'm receiving the following error on challenge #6 of the Lightning Superbadge:
Challenge Not yet complete... here's what's wrong:
There was an unexpected error in your org which is preventing this assessment check from completing: System.DmlException: Delete failed. First exception on row 0 with id 0035000002hUBgRAAW; first error: DELETE_FAILED, Your attempt to delete Sam the ninja could not be completed because it is associated with the following adventure packages.: null, null : []
Looking at the Developer Console, it looks like the code which checks the system is forgetting to delete the Adventure Package records before deleting the Contact. Has anyone else run into this issue?
Thank you!
Challenge Not yet complete... here's what's wrong:
There was an unexpected error in your org which is preventing this assessment check from completing: System.DmlException: Delete failed. First exception on row 0 with id 0035000002hUBgRAAW; first error: DELETE_FAILED, Your attempt to delete Sam the ninja could not be completed because it is associated with the following adventure packages.: null, null : []
Looking at the Developer Console, it looks like the code which checks the system is forgetting to delete the Adventure Package records before deleting the Contact. Has anyone else run into this issue?
Thank you!
This fixed the Challenge Check code error, and I was able to finally get a confirmed Complete checkmark.
All Answers
This fixed the Challenge Check code error, and I was able to finally get a confirmed Complete checkmark.
I was looking at these messages, but putting 2 and 2 together to tweak that constraint was a little beyond me.
Thanks!
It's also been quite a while since I ran into this problem; it may be that updates have been made with the Winter '17 release that changed the data import process for this super badge. Can you please post your error to a new question and I will look at it?
I am facing an issue in #6
here is my process flow below:
Fulfillment Object to start my Process - when record is created or edited
entry criteria
{Fulfillment_c}.Status equals cancelled
Immediate Actions
Update Record - [Fullfillments_c].Opportunity.OpportunityLineItems
Set New fields
Sales Price reference {Fulfillment_c].Deposit_c
The issue is that i am unable to access [Fullfillments_c].Package.OpportunityLineItems
and is there somethng related to deleting a record and Liine Item ID Equals Formula [Fulfillment__c}.AdventurePackageId__c ???
Do I need to create a field named Package ??
I have already installed the unmanaged package
the error is:
Challenge Not yet complete... here's what's wrong:
The Fulfillment Cancellation Automation process does not appear to be working properly. Make sure that a cancelled Fulfillment updates the Adventure Package correctly.
thanks for your reply,
Actually my concern is that as its written in the challenge that we need to create Fulfillment Cancellation Automation to handle cleaning up data if an opportunity is cancelled,
1. So for deleting the explorer related to adventure package do i need to accomplish through apex using process builder?
2. I am unable to access
[Fullfillments_c].Package.OpportunityLineItems
instead m using
[Fullfillments_c].Opportunity.OpportunityLineItems so, is trhere any problem related to it?
3.Do i need to use any criteria in case of scheduled adventure date?
please help me pass this challenge, its really frustating
i am unable to access the opportunityLineItem id , so how would pass that to an apex class which i have created for the deletion of explorer records
Since there 50 likes on this solution - the problem occurs quite often
Thanks Mai
My process builder is setup correctly (with filter criteria), my Explorer fields are no longer required, but I still get the same error
Challenge Not yet complete... here's what's wrong:
There was an unexpected error in your org which is preventing this assessment check from completing: System.QueryException: List has no rows for assignment to SObject
This is driving me crazy! Please can someone assist?
I am getting the same error. --- There was an unexpected error in your org which is preventing this assessment check from completing: System.QueryException: List has no rows for assignment to SObject
Were you able to solve the issue?
Trying to complete Step 4 of the Ligthning Experience Specialist and I am receiving the following error:
Challenge Not yet complete... here's what's wrong:
There was an unexpected error in your org which is preventing this assessment check from completing: System.DmlException: Update failed. First exception on row 0 with id 0064x000005xJW9AAM; first error: CANNOT_EXECUTE_FLOW_TRIGGER, We can't save this record because the “Sales Automation 1” process failed. Give your Salesforce admin these details. No applicable approval process was found. Error ID: 748213608-39244 (1294680136): []
Please help...Thanks