You need to sign in to do that
Don't have an account?
Maneesha Kandala
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.
Stuck in challenge 4.Can anyone help me out!!!
Please refer below thread for the same.
https://developer.salesforce.com/forums/?id=906F0000000kEDkIAM
Hope this helps you!
Thanks and Regards
Sandhya
Can u please check it out.
Can anyone help me i am stuck in Challenge no #4 in Lighting Super badge
Getting unknonw error like "Looks like something went wrong, please try again later."
Now i don't know how to fixed tried so, many times.
Regards,
Shashi
Finally i cleared the below challenge
Please find the below ans for Superbadge
Lightning Experience Specialist Challenge no#4
1. Process Builder Name:- Fulfillment Creation
2. Object - Adventure Package
Start Process- Only when a record is created
3. 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 True
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
Opportunity-Field Reference-[OpportunityLineItem].OpportunityId
Schedule Date -Reference - [OpportunityLineItem].ServiceDate
Status- Picklist - New
NOTE :-Package is not required so, please don't include here
Package - [OpportunityLineItem].OpportunityId
Step 2. 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
Note no need to include then below fields in this section:-Please don't confuse
Needs Insurance - Reference- [OpportunityLineItem].Product2.Needs_Insurance_c
Needs waiver - Reference - [OpportunityLineItem].Product2.Needs_Waiver_c
Step 3. Update Records
Record - [OpportunityLineItem].Opportunity ID
No criteria just update records
Set new fields for the records you update
Needs Insurance -Reference- [OpportunityLineItem].Needs_Needs_Insurance_c
Needs Waiver - Refernce - [OpportunityLineItem].Needs_Waiver_c
Step 4. Create Task
Action Name:- TASK
Record Type:- Task
Set Field Values:-
Reminder Set-Boolean-True
Assigned to ID - reference- [OpportunityLineItem].Opportunity.Owner.Id
Priority - Normal
Status - Not started
Related to ID - reference - [OpportunityLineItem].Exploter_c
Subject- String - any sentence you choose to explain the task
Click on Save
Step 5. SCHEDULED ACTIONS
14 Days from now
Step 6. Click on Add ACTIONS
Action Name:- Post to Chatter
Post to:- User, User-Select a user from a record :- [OpportunityLineItem].Opportunity.Owner.Id
Message:
{![OpportunityLineItem].Opportunity.Name}
{![OpportunityLineItem].Product2.Name}
{![OpportunityLineItem].Id}
Step 7:- Click on Activate
Open developer Console
Click ->Debug->open Execute Anonymous Window-->Paste the below code select those code and Execute Highlighted
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 follow the above steps you can clear your challenge
Please like if you are able to pass.
Regards,
Shashi Kumar
Lightning Experience Specialist Challenge no#4
The bolded items are the ones diffrent from previous posts, and it worked!
1. Process Builder Name:- Fulfillment Creation
2. Object - Adventure Package
Start Process- Only when a record is created
3. 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 True
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
Opportunity-Field Reference-[OpportunityLineItem].OpportunityId
Schedule Date -Reference - [OpportunityLineItem].ServiceDate
Status- Picklist - New
NOTE :-Package is not required so, please don't include here
Package - [OpportunityLineItem].OpportunityId
Step 2. 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
Note no need to include then below fields in this section:-Please don't confuse
Needs Insurance - Reference- [OpportunityLineItem].Product2.Needs_Insurance_c
Needs waiver - Reference - [OpportunityLineItem].Product2.Needs_Waiver_c
Step 3. Update Records
Record - [OpportunityLineItem].Opportunity ID
No criteria just update records
Set new fields for the records you update
Needs Insurance -Reference- [OpportunityLineItem].Needs_Needs_Insurance_c
Needs Waiver - Refernce - [OpportunityLineItem].Needs_Waiver_c
Step 4. Create Task
Action Name:- TASK
Record Type:- Task
Set Field Values:-
Reminder Set-Boolean-True
Assigned to ID - reference- [OpportunityLineItem].Opportunity.OwnerId
Priority - Normal
Status - Not started
Related to ID - reference - [OpportunityLineItem].Opportunity.Id
Subject- String - any sentence you choose to explain the task
Click on Save
Step 5. SCHEDULED ACTIONS
14 Days from now
Step 6. Click on Add ACTIONS
Action Name:- Post to Chatter
Post to:- User, User-Select a user from a record :- [OpportunityLineItem].Opportunity.Owner.Id
Message:
{![OpportunityLineItem].Opportunity.Name}
{![OpportunityLineItem].Product2.Name}
{![OpportunityLineItem].Id}
Step 7:- Click on Activate
Open developer Console from the setup icon.
Click ->Debug->open Execute Anonymous Window-->Paste the below code select those code and Execute Highlighted
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 had to add the Half Dome Hike adventure to the Standard record of Price Books object.
I tested by creating a new opportunity, then in the detail view add the Half Dome Hike adventure and after this an Fulfilment record is created.
If no error, you are good to check the chalange.
Please like if you are able to pass.
But you need to change your criteria condition [OpportunityLineitem].Fulfillment_Created_c Equals True to [OpportunityLineitem].Fulfillment_Created_c Equals false
I am getting this error, can anyone please help me on this challenge.
ERROR MSG
Challenge Not yet complete... here's what's wrong:
The Fulfillment Creation process does not appear to be working properly. Please check that your fulfillment was created with all of the proper field value specified in the requirements.