You need to sign in to do that
Don't have an account?
Tito
SuperBadge: Lightning Experience Specialist (Issue in challenge #6 )
After trying around for 2 days am lost over the challenge related to 'Fulfillment Cancellation Automation' sales process. It kept giving me below error:
The Fulfillment Cancellation Automation process does not appear to be working properly. Make sure that a cancelled Fulfillment updates the Adventure Package correctly.
I decided to look with an example test data
Steps:
Has anyone had any luck with this PB? Any help would be greatly appreciated. Thanks!!
The Fulfillment Cancellation Automation process does not appear to be working properly. Make sure that a cancelled Fulfillment updates the Adventure Package correctly.
I decided to look with an example test data
Steps:
- Added an opportunity product (alias adventure package) into an existing opportunity.
- Upon saving, it fires creating of a fulfillment record which is fine.
Has anyone had any luck with this PB? Any help would be greatly appreciated. Thanks!!
Refer this thread. It may help.
Now the error took a different shape altogether.The error now is as below. I even change the strict relationship as mentioned at https://developer.salesforce.com/forums?id=906F0000000kHdlIAE
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
Field Update Filter condition :
Line Item ID equals Formula [FullFillment__c].AdventurePackageId__c
Because error is in line 19.
By referring https://developer.salesforce.com/forums/ForumsMain?id=906F0000000kIudIAE thread, line 19 query is not returning record.
Here are the steps I have done in my PB (is Active also):
1.Process builder name: Fulfillment Cancellation Automation
2.Trigger on Fulfillment object
3.Criteria condition : Fulfillment Status=Cancelled AND Fulfillment schedule date greater than Today ()
4.Immediate action :
a)Record=[Fulfillment__c].Opportunity.OpportunityLineItems
b)Criteria for updating records= Line Item ID equals formula Fulfillment__c.AdventurePackageID__c
c)Set new field values for the records you update : Sales Price Reference Fulfillment__c.Deposit__c
While doing 'Fulfillment Creation' part, we have set AdventurePackageID = Adventure Package (Opportunity Product)'s Id. Ideally it should work.