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

Lightning Experience Superbadge (Issue in challenge #4)
Hi All,
I'm having an issue with challenge #4 in the lightning experience superbage. The task is to :
Automate the creation of fulfillments
Following the requirements described above, create the Fulfillment Creation process flow. Please ensure that your process works as expected without errors before submitting this challenge.
It seems like I've done everything this challenge but I'm getting this error message :
Challenge Not yet complete... here's what's wrong:
The Fulfillment Creation process does not appear to be working properly. Please check that your task was created with all of the field values set appropriately.
I've looked over everything I've done and I can't seem to find the answer maybe one of you can help me .
My Process Structure:
Object - Adventure Package
Start Process- Only when a record is created
FIRST NODE
Define Criteria for this Action Group
Criteria for Executing Actions - Conditions are met
Set Conditions:
1. [OpportunityLineItem].Oppotunity.StageName Does not equal Cancelled
2. [OpportunityLineitem].Fulfillment_Created_c Equals False
Conditions - All of the conditions are met (AND)
IMMEDIATE ACTIONS
1. Create a Record
Record Type - Fulfillment
Set Field Values
AdventurePackageId - Reference -[OpportunityLineItem].Id
Adventure Package cost - Reference - [OpportunityLineItem].TotalPrice
Adventure - Reference - [OpportunityLineItem].Product2Id
Expedition Leader - Reference -[OpportunityLineItem].Product2.Expedition_Leader_c
Explorer - Reference - [OpportunityLineItem].Explorer_C
Fulfillment Name - Formula -[OpportunityLineItem].Product2.Name + [OpportunityLineItem].Id
Schedule Date -Reference - [OpportunityLineItem].ServiceDate
Status- Picklist - New
Package - [OpportunityLineItem].OpportunityId
2. Update Records
Record - [OpportunityLineItem].Opportunity ID
No criteria just update records
Set new fields for the records you update
Needs Insurance - Reference- [OpportunityLineItem].Product2.Needs_Insurance_c
Needs waiver - Reference - [OpportunityLineItem].Product2.Needs_Waiver_c
3. Update Records
Record - [OpportunityLineItem]
Criteria for Updating Records - No criteria-just update records
Set new field values for the records you update
Fulfilment Created = True
Fulfillment State = Created
Evaluate the Next Criteria
SECOND NODE
EVALUATE THE NEXT CRITERIA
Define Criteria for this Action Group
Criteria for Executing Actions - Conditions are met
Set Conditions:
1. [OpportunityLineItem].Explorer_c Is Null = True
Conditions - All of the conditions are met (AND)
IMMEDIATE ACTIONS
Create a Record - Task
Set Field Values
Assigned to ID - reference- [OpportunityLineItem].Opportunity.OwnerId
Related to ID - reference -[OpportunityLineItem].Opportunity.Id
Priority - Normal
Status - Not started
Subject- String - Update explorer
SCHEDULED ACTIONS
14 days from now
Post to Chatter
User - Select a user from a record - [OpportunityLineItem].Opportunity.Owner.Id
Message:
{![OpportunityLineItem].Opportunity.Name}
{![OpportunityLineItem].Product2.Name}
{![OpportunityLineItem].Id}
Once done with these changes, execute blow lines of code in dev console.
Product2 product = new Product2(name='Half Dome Hike', isActive=true);
insert product;
//insert the pricebookentry
Pricebook2 stdPrice = [Select id from Pricebook2 where isStandard=true limit 1];
PricebookEntry pbe = new PricebookEntry( IsActive = true, Product2Id = product.id, UnitPrice = 2.00, Pricebook2Id = stdPrice.Id);
insert pbe;
I'm having an issue with challenge #4 in the lightning experience superbage. The task is to :
Automate the creation of fulfillments
Following the requirements described above, create the Fulfillment Creation process flow. Please ensure that your process works as expected without errors before submitting this challenge.
It seems like I've done everything this challenge but I'm getting this error message :
Challenge Not yet complete... here's what's wrong:
The Fulfillment Creation process does not appear to be working properly. Please check that your task was created with all of the field values set appropriately.
I've looked over everything I've done and I can't seem to find the answer maybe one of you can help me .
My Process Structure:
Object - Adventure Package
Start Process- Only when a record is created
FIRST NODE
Define Criteria for this Action Group
Criteria for Executing Actions - Conditions are met
Set Conditions:
1. [OpportunityLineItem].Oppotunity.StageName Does not equal Cancelled
2. [OpportunityLineitem].Fulfillment_Created_c Equals False
Conditions - All of the conditions are met (AND)
IMMEDIATE ACTIONS
1. Create a Record
Record Type - Fulfillment
Set Field Values
AdventurePackageId - Reference -[OpportunityLineItem].Id
Adventure Package cost - Reference - [OpportunityLineItem].TotalPrice
Adventure - Reference - [OpportunityLineItem].Product2Id
Expedition Leader - Reference -[OpportunityLineItem].Product2.Expedition_Leader_c
Explorer - Reference - [OpportunityLineItem].Explorer_C
Fulfillment Name - Formula -[OpportunityLineItem].Product2.Name + [OpportunityLineItem].Id
Schedule Date -Reference - [OpportunityLineItem].ServiceDate
Status- Picklist - New
Package - [OpportunityLineItem].OpportunityId
2. Update Records
Record - [OpportunityLineItem].Opportunity ID
No criteria just update records
Set new fields for the records you update
Needs Insurance - Reference- [OpportunityLineItem].Product2.Needs_Insurance_c
Needs waiver - Reference - [OpportunityLineItem].Product2.Needs_Waiver_c
3. Update Records
Record - [OpportunityLineItem]
Criteria for Updating Records - No criteria-just update records
Set new field values for the records you update
Fulfilment Created = True
Fulfillment State = Created
Evaluate the Next Criteria
SECOND NODE
EVALUATE THE NEXT CRITERIA
Define Criteria for this Action Group
Criteria for Executing Actions - Conditions are met
Set Conditions:
1. [OpportunityLineItem].Explorer_c Is Null = True
Conditions - All of the conditions are met (AND)
IMMEDIATE ACTIONS
Create a Record - Task
Set Field Values
Assigned to ID - reference- [OpportunityLineItem].Opportunity.OwnerId
Related to ID - reference -[OpportunityLineItem].Opportunity.Id
Priority - Normal
Status - Not started
Subject- String - Update explorer
SCHEDULED ACTIONS
14 days from now
Post to Chatter
User - Select a user from a record - [OpportunityLineItem].Opportunity.Owner.Id
Message:
{![OpportunityLineItem].Opportunity.Name}
{![OpportunityLineItem].Product2.Name}
{![OpportunityLineItem].Id}
Once done with these changes, execute blow lines of code in dev console.
Product2 product = new Product2(name='Half Dome Hike', isActive=true);
insert product;
//insert the pricebookentry
Pricebook2 stdPrice = [Select id from Pricebook2 where isStandard=true limit 1];
PricebookEntry pbe = new PricebookEntry( IsActive = true, Product2Id = product.id, UnitPrice = 2.00, Pricebook2Id = stdPrice.Id);
insert pbe;
Please check with below steps with small updations in your process. For more information please check with below thread.
- https://developer.salesforce.com/forums/?id=906F0000000kEhBIAU
Please mark this as solved if it's resolved.Regards,
Nagendra.
I'm not able to see the needs waiver and needs insurance fields from the [OpportunityLineItem] object. Any help on this ?
Today I passed the Challenge. Try the mine reply "Amit Singh" in the given link.
https://developer.salesforce.com/forums?id=906F0000000kEDkIAM
Hope this will help :)
Thanks,
Amit Singh
Do have a flow for loading the data? I think sheet 3 (Oppty with Adventure + Explorer) needs to be broken into several sheets. Also the Explorer Name needs to be broken down into First Name Last Name
How to do these steps?
Once done with these changes, execute blow lines of code in dev console.
104
105Product2 product = new Product2(name='Half Dome Hike', isActive=true);
106insert product;
107//insert the pricebookentry
108Pricebook2 stdPrice = [Select id from Pricebook2 where isStandard=true limit 1];
109PricebookEntry pbe = new PricebookEntry( IsActive = true, Product2Id = product.id, UnitPrice =2.00, Pricebook2Id = stdPrice.Id);
110insert pbe;
Can you please help me to clear "Superbadge Lightning Experience Specialist Challenge no #4"
Since i tried all the way what you have explained but no luck. Please help me on this.
I will be always thankful to you.
getting below error:-
Challenge Not yet complete... here's what's wrong:
The Fulfillment Creation process does not appear to be working properly. Please check that your task was created with all of the field values set appropriately.
Regards,
Shashi Kumar
aadi1983@gmail.com
Finally i cleared the below challenge
Please find the below ans for Superbadge
Lightning Experience Specialist Challenge no#4
Please follow the below Link.
@shashi kumar 58
https://developer.salesforce.com/forums/?id=906F0000000g0TbIAI
Shashi Kumar
Mine error is differnt, Can anyone help me in clearing the Stage-4. Error message given below. I tried utiing the Total Price using
Formula =
1. [OpportunityLineItem].TotalPrice = [OpportunityLineItem].Sales Price * [OpportunityLineItem].Quanity,
2. then I Tried [OpportunityLineItem].TotalPrice = ISNULL Bollean FALSE
but none of them are working, 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.DmlException: Insert failed. First exception on row 0; first error: CANNOT_EXECUTE_FLOW_TRIGGER, We can't save this record because the “Fulfillment Creation” process failed. Give your Salesforce admin these details. This error occurred when the flow tried to create records: FIELD_INTEGRITY_EXCEPTION: field integrity exception: TotalPrice (total price must be specified). You can look up ExceptionCode values in the SOAP API Developer Guide. Error ID: 31068381-103083 (-1749599120): []
After try in many forms, I clear the challenge with this help.
https://developer.salesforce.com/forums/?id=9060G0000005gpHQAQ
Good luck!!!
I hope this works for all who are having issues with "Lightning Experience Specialist Superbadge - Challenge 4"
Step 1. Create a process named Fulfillment Creation to automatically create a fulfillment record in Salesforce whenever an adventure package is created.
Set Up > Process Builder > New > Process Name: Fulfillment Creation
The Process Starts When: "A record changes"
Step 2. DEFINE CRITERIA FOR FIRST IMMEDIATE ACTION: As long as the opportunity stage is not Cancelled at the time an adventure is added and a fulfillment has not already been created for the adventure package,
Criteria for Executing Actions:
[OpportunityLineItem].Opportunity.StageName Does Not Equal (Picklist) Cancelled
[OpportunityLineItem].Fufillment_Created__c Equals (Boolean) False
Step 3. With the above criteria, create a new fulfillment record, and automatically populate several fields from the opportunity, adventure, and adventure package data. Map the fields as follows:
Step 4. SECOND IMMEDIATE ACTION: Update the Adventure Package Fulfillment Creation field to true
Step 5. THIRD IMMEDIATE ACTION: Update the related Opportunity to reflect the waiver and insurance needs on the Adventure.
Set the 'Needs Insurance' field on the Opportunity to match the 'Needs Insurance' field on the Adventure record.
Set the 'Needs Waiver' field on the Opportunity to match the 'Needs Waiver' field on the Adventure record.
Step 6. FOURTH IMMEDIATE ACTION: Create a task for the sales rep to review the fulfillment, and remind rep to double check the explorer data is properly mapped to the fulfillment record.
Assign a task to the opportunity owner.
Add this task to the opportunity with Priority = Normal, Status = Not Started, and Subject = any sentence you choose to explain the task.
Step 7. SCHEDULED ACTION: Schedule a chatter post for the opportunity owner for 14 days from today.
Step 8. Include the Adventure Name, Opportunity Name, and Adventure Package Id in the post
Mapping for Merge Fields:
Adventure Name (Product Name): {![OpportunityLineItem].Product2.Name}
Opportunity Name Opportunity (Name): {![OpportunityLineItem].Opportunity.Name}
Adventure Package ID (Opportunity Product ID):{![OpportunityLineItem].Product2.Id}
(see my below answer for screenshot for steps 7 and 8)
then click Activate
Hope you found this helpful!
Cheers,
Jocelyn Cruz
linkedin.com/in/jocelyncruzcrmconsulting
Salesforce Trailhead Profile: https://trailblazer.me/id/jocelyncruzcrmconsulting
sykpe: live:.cid.5459283fe3ac3b28
Screen shot (continued for Step 8). Step 8. Include the Adventure Name, Opportunity Name, and Adventure Package Id in the post