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
farouk fakunlefarouk fakunle 

Superbadge Lighting Experience Step #6

I am on Step 6 and getting an error, does anyone have input on this. Thanks in advance!!

I chose the Opportunity Object to start my Process - when record is created or edited 

entry criteria {Opportunity}.StageName equals cancelled 

Immediate Actions 

Update Record - [Opportunity].Fullfillments_r 

Criteria for Updating 

Schedule Date Less than Reference [Opportunity.CreatedDate 
Status Equals Cancelled 

Set New fields

Adventure Package Cost reference [Opportunit].Amount 
 
Best Answer chosen by farouk fakunle
farouk fakunlefarouk fakunle
Thanks @ Fons 

Solved it, here is my process flow below:

 chose the 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].Package.OpportunityLineItems

Set New fields

Sales Price reference {Fulfillment_c].Deposit_c

All Answers

FonsFons
From #5, Fulfillment state gets updated to cancelled when opportunity is cancelled so no need to do that again.  For Step 6, start with Fulfillment object.  
farouk fakunlefarouk fakunle
Thanks @ Fons 

Solved it, here is my process flow below:

 chose the 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].Package.OpportunityLineItems

Set New fields

Sales Price reference {Fulfillment_c].Deposit_c
This was selected as the best answer
Harpreet AjimalHarpreet Ajimal
Hi farouk,
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.
 
Ankita PatelAnkita Patel
I am facing  same issue in Step 6
I don't know why but as per instruction am creating process but still could not pass Step 6.
Please Help Me Out to Complete my ProcessUser-added image .
Malene Poulsen 2Malene Poulsen 2
Hi @Ankita Patel

Did you ever receive any help for your problem with the filter? I have the same problem. My process works, but for some reason trailhead won't approve it. And I think the problem is that my filter is not exactly correct. 

Br
Malene Poulsen