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
VARALAXMI JANGAYVARALAXMI JANGAY 

Lightning Experience Superbadge Step 6: Fulfillment Cancellation Automation

Hi,
Below is the error in Step 6,
 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

My Process builder is as follows:

Object: Fulfillment

Entry Criteria: [Fulfillment__c].Status__c = Cancelled AND [Fulfillment__c].Schedule_Date__c > TODAY()

Immediate Actions: 
Based on [Fulfillment__c].Opportunity.OpportunityLineItems


Field Update Filter condition : 
Line Item ID  equals Formula [FullFillment__c].AdventurePackageId__c

Field to Update :
Sales Price equal to [Fulfillment__c].Deposit__c

The Explorer__c field was set to "Required" and "What to do if the lookup record is deleted?" was set to "Don't allow deletion of the lookup record that's part of a lookup relationship.". I updated the "Required" to false and changed "What to do if the lookup record is deleted?" to "Clear the value of this field. You can't choose this option if you make this field required."
I have unrequired the Explorer__c field on the layout too.

Below are my screenshorts:
User-added imageUser-added image

Please suggest me the solution.

Thanks,
Varalaxmi.
NagendraNagendra (Salesforce Developers) 
Hi Laxmi,

Sorry for this issue you are encountering.

May I suggest you please check with below link which might help you further with the above issue. Hope this helps.

Thanks,
Nagendra