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: lightning experience specialist

Has anyone completed this trail? I am stomped on challenge number 3, regarding created the process for fulfillment. Any pointers or guidance would be appreciated.
 
Best Answer chosen by farouk fakunle
farouk fakunlefarouk fakunle
@Ajay thanks for your input,  Here is my data model below.  Thanks to @Trupti @Fons @ Jennifer @Surlya @ Nikhil for the valuable input and assistance on STEP 4




I am referencing the Adventure Pakage Object to Start my process so it it is:

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 
Needs Insurance - Reference- [OpportunityLineItem].Product2.Needs_Insurance_c
Needs waiver - Reference -  [OpportunityLineItem].Product2.Needs_Waiver_c


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;

All Answers

Jennifer W. LeeJennifer W. Lee
I completed this superbadge today. What error are you getting?
Jennifer W. LeeJennifer W. Lee
You need to provide screenshots of what you have built. to help troubleshoot.
farouk fakunlefarouk fakunle
I am trying to figure the correct mapping for the fields:

The hidden AdventurePackageID field (used for backward compatibility) is populated with the appropriate ID.  ( what do they mean by appropriate ID?) 

For audit purposes, set the fulfillment name using both the adventure name and adventure package ID. ( how can i reference two fields on one line?) 

Thank you 
Jennifer W. LeeJennifer W. Lee
Remember, Adventure Package is a renamed standard object - Opportunity Product. So you need to map to that field - the opportunity product's ID.

For the second piece, you need to use the formula function to concatenate the two together for the fulfullment name field.
Phillip FrontPhillip Front
I'm stuck on challenge 4 as well, and the feedback ("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.") is pretty unhelpful.

I've checked the Fulfillment record creation field mapping line by line several times, and everything seems fine. One thing that might be throwing me off is the requirement "If there isn’t an explorer on the adventure package at the time this process is fired, create a task for the opportunity owner to add an explorer to the fulfillment and adventure package records." To solve this, I have two nodes on the Fulfillment Creation process: the first saying StageName != FALSE, Fulfillment_Created__c = FALSE, and Explorer__c is NULL. This creates the fulfillment record, updates the opportunity, and updates the adventure package record. If this node is false, the process builder evaluates a second node, which has the same criteria as the node above except Explorer__c is NOT NULL. When this node is true, the process builder fires the same actions as the first node, plus it creates a task reminding the opportunity owner to update the fulfillment and opportunity records.

Is there an easier approach to this that I'm missing? I'm at a total loss as to how to proceed, and it's a bummer since I really want to continue with this badge (or figure out what I'm doing wrong). Thanks!
Nikhil Jaitly 8Nikhil Jaitly 8
User-added image 

Have writen the Process on Adventure Package object. All the fields are as per the requirements. Still getthing the 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 fulfillment was created with all of the proper field value specified in the requirements.


Thanks
NIkhil
Michele LoschMichele Losch
I keep getting an error that the opportunity product has not been renamed. I thought I renamed it. I went into rename tabs to change each standard object that needed to be renamed. Is there another way to rename standard objects?
Jennifer W. LeeJennifer W. Lee
Philip, I have three nodes and I don't have anything in my process builder that updates the opportunity. My process builder touches the fullfillment object, opportunity line item, task and chatter. I'd suggest posting to the Trailhead success community if you haven't already. It is easier to see/download images and at mention people in the community via chatter than here.
Jennifer W. LeeJennifer W. Lee
Nikhil, please provide the criteria for your criteria node and the complete value -- screenshot has those fields but off so there is no way for us to see where you are really pointing too. Also, I believe the challeges are looking for specific records to be in your org as well. I know the Trailhead team is working on bugs with this and will be pushing a bugfix release to production to address issues. Not sure of the ETA on this though. You can inquire about this in the Trailhead Success Community.
Jennifer W. LeeJennifer W. Lee
Michele,

In Setup, go to Customize | Tabs Names and Labels in Salesforce Classic.
In LEX, go to Setup Home | User Interface | Rename Tabs and Labels.

Then select the edit link next to Opportunity Products to rename and save.
Nikhil Jaitly 8Nikhil Jaitly 8
Hi Jennifer, thanks for your reply.

I have used 2 nodes with Following details :

1. It checks :
    a. Field 'Fulfillment Created' is False on Opp Line Item
    b. Opp Stage is NOT Cancelled.
    c. Explorer on Opp Line Item is Not Null 

Then it takes the following actions :

   a. Create Fulfillment Record with following values :
        i) Fulfillment Name = Adventure Name + OppLineItemId
        ii) Scheduled Date = OppLineItem.Date
        iii) AdventurePackageId = OppLineItemId
        iv)Adventure Package Cost = OppLineItem.TotalPrice
        v) Adventure = OppLineItem.Adventure
        vi)Expedition Leader = OppLineItem.Adventure.ExpeditionLeader. 
        vii) Package = OppLineItem.OppId
         viii) Explorer = OppLineItem.Explorer
         ix) Status = New
   b. Create Chatter Post
   c. Update Opportunity with Needs insurance, Needs Waiver values from Adventure
   d.Update Adventure Package with values for 'Fulfillment Created' to true and Needs insurance, Needs Waiver values from Adventure.

2. This Node checks the following :

   a. Field 'Fulfillment Created' is False on Opp Line Item
    b. Opp Stage is NOT Cancelled.
    c. Explorer on Opp Line Item is Null 
and then takes the following Actions :

   a. Create Fulfillment Record with following values :
        i) Fulfillment Name = Adventure Name + OppLineItemId
        ii) Scheduled Date = OppLineItem.Date
        iii) AdventurePackageId = OppLineItemId
        iv)Adventure Package Cost = OppLineItem.TotalPrice
        v) Adventure = OppLineItem.Adventure
        vi)Expedition Leader = OppLineItem.Adventure.ExpeditionLeader. 
        vii) Package = OppLineItem.OppId
         viii) Explorer = Null
         ix) Status = New
   b. Create Chatter Post
   c. Update Opportunity with Needs insurance, Needs Waiver values from Adventure
   d.Update Adventure Package with values for 'Fulfillment Created' to true and Needs insurance, Needs Waiver values from Adventure.
   e. Create a Task immediately, relate it to Opportunity and assign it to the Opp Owner.
   f. Create another Task after 14 days with same details.


What am I missing here ?


Thanks
Nikhil 
 
Suriya GuruSuriya Guru
I see a possible way to create an Apex Class which checks for explorer and then create a quick action like create record of type task with defaulted values.

Nikhil - give it a try by writting a small piece of apex class.
Suriya GuruSuriya Guru
The rest of the fulfillment creation can be done through the process builder one node except that the process is throwing an error when there are no exception leaders.  We need to load the data and then try to execute the process.
FonsFons
I finally passed this step.  I have 2 nodes.  Remember that Process Builder has a nice feature to Evaluate Next Criteria so you can avoid redundant code.
  1. First Node: <Criteria to create new Fulfillment Record>  with the 2 entry criteria followed by 3 Immediate actions
    • <Create Fulfillment Record> - I only reference Adventure Package and Adventure
    • <Update Advance Package Record> - no criteria,
      • set new field values for Fulfillment Created,
      • Reference Adventure record for Needs Insurance, Needs Waiver
    • <Update Opportunity Record> - no criteria, reference Adventure Record for Needs Insurance and Needs Waiver
  2. Click STOP and change to "Evaluate the next Criteria"
  3. Second Node: <Is Criteria known?> with 1 entry criteria [OpportunityLineItem].Explorer__c is null | Boolean = True
    1. Immediate Action: New Task Record
      • 5 set field values [Assigned to ID][Priority][Status][Subject][Related to ID]
    2. Scheduled Action 14 Days from Now
      • Chatter Post to Opportunity Owner User ID with the 3 fields.
Jennifer W. LeeJennifer W. Lee
This is all achievable via process builder, no apex code is needed. Goes along the build without code mentality.
Jennifer W. LeeJennifer W. Lee
You should avoid going the code route unless you HAVE to.
Jennifer W. LeeJennifer W. Lee
Nikhil,

Not sure if you have the Evaluate the Next Criteria set on your first criteria node
The "No Explorer" nnode criteria only has the one criteria that needs to be met, explorer field is blank.
Chatter post requirement only applies to one scenario, not both.
farouk fakunlefarouk fakunle

Thank you all for the replies, i am still stomped and do not know where i am making an error. This what i have so far, please let me know if am making a mistake somewhere in the reference or the process. 


I am referencing the Adventure Pakage Object to Start my process so it it is:

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_state_c Does not equal Created

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_Id
Explorer - Reference - [OpportunityLineItem].Explorer_C
Fulfillment Name - Formula -[OpportunityLineItem].Product2.Name + [OpportunityLineItem].Id
Schedule Date -Reference - [OpportunityLineItem].ServiceDate
Status- Picklist - New 

2. Update Records

Record - [OpportunityLineItem].Adventure 

No criteria just update records 

Set new fields for the records you update 

Needs Insurance -Reference- [OpportunityLineItem].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 

Needs Insurance - Reference- [OpportunityLineItem].Needs_Waiver_c


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].Exploter_c
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}


User-added image

Jennifer W. LeeJennifer W. Lee
Not sure if they fixed this yet but you may need to run this in the Dev console. I forget whether this is related to the process builder challenge or not. 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 updated the related opportunity line item and updated the fulfillment created, needs insurance and needs waiver fields.
Nikhil Jaitly 8Nikhil Jaitly 8
Hello All,

Thanks. Was able to get past Challenge 4.

Thanks.
Nikhil
Ajay Anikar H RAjay Anikar H R
Hi Nikhil / Jennifer,

Appreciate your help in debugging the same challenge for me:

Start:
Node1:   Object: Adventure Package (Only when record is created)
Condition: Oppty.Stage <> Cancelled & Oppty.LineItem.Fulfillment_Created is FALSE
Action1: Reference and update fields - Fulfillment - appropriate AdventurePackageId,Adventure Package Cost,Adventure,Expedition Leader,Explorer,Fulfillment Name,Package,Schedule Date & Status

Action2: Oppty Line Item updates - FulfillmentCreated is made true, with Needs Waiver and Insurance referenced from AdventurePackage
Action3: Needs Waiver and Insurance referenced from Adventure


EVALUATE NEXT CRITERIA

Condition: OpptyLineItem Explorer is NULL and Oppty Stage is not equal to Cancelled
Action1: Task creation - Assigned To ID, Priority, Status, Related To ID & Subject
Action2: 14 Days Chatter Post.

I have created multiple records to test this flow and everything works as required (obviously thats my understand and belief)

When i check the challenge it throws below error:
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.


Cannot understand which other field is not getting updated?
Hope more eyes can help me here.
Trupti Dhoka 41Trupti Dhoka 41
I am too stuck in challenge 4.

Its showing me Error as
'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.'

I have used mapping for fulfillment record as below-

AdventurePackageId : [OpportunityLineItem].Id
Status: New 
Adventure Package Cost : [OpportunityLineItem].TotalPrice
Expedition Leader :  [OpportunityLineItem].Product2.Expedition_Leader__c
Adventure :  [OpportunityLineItem].Product2Id
Explorer : [OpportunityLineItem].Explorer__c
Fulfillment Name : [OpportunityLineItem].Product2.Name + [OpportunityLineItem].Id 
Schedule Date:  [OpportunityLineItem].serviceDate


@Fons, Could you please tell us field mapping for fulfillment record?

 
Nikhil Jaitly 8Nikhil Jaitly 8
@Trupti,

The field mapping seems correct.

Thanks
Nikhil
Nikhil Jaitly 8Nikhil Jaitly 8
Hi @Jennifer,

I have passed the challenge 4. And now it seems I am stuck at challenge 6.

Having created the Process I have tested single records as well as multiple records, and could see that Adventure Package's SalesPrice ( the adventure package which was used for creation of this fulfillment record) gets updated with Fulfillment's Deposit value.

While checking the Challenge though, getting the following error, which is very annoying :

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.

Any Ideas ?

Thanks
Nikhil
Nikhil Jaitly 8Nikhil Jaitly 8
Hi @Ajay,


I have used 2 nodes with Following details :

1. It checks :
    a. Field 'Fulfillment Created' is False on Opp Line Item
    b. Opp Stage is NOT Cancelled.
    c. Explorer on Opp Line Item is Not Null 

Then it takes the following actions :

   a. Create Fulfillment Record with following values :
        i) Fulfillment Name = Adventure Name + OppLineItemId
        ii) Scheduled Date = OppLineItem.Date
        iii) AdventurePackageId = OppLineItemId
        iv)Adventure Package Cost = OppLineItem.TotalPrice
        v) Adventure = OppLineItem.Adventure
        vi)Expedition Leader = OppLineItem.Adventure.ExpeditionLeader. 
        vii) Package = OppLineItem.OppId
         viii) Explorer = OppLineItem.Explorer
         ix) Status = New
   b. Create Chatter Post
   c. Update Opportunity with Needs insurance, Needs Waiver values from Adventure
   d.Update Adventure Package with values for 'Fulfillment Created' to true and Needs insurance, Needs Waiver values from Adventure.

2. This Node checks the following :

   a. Field 'Fulfillment Created' is False on Opp Line Item
    b. Opp Stage is NOT Cancelled.
    c. Explorer on Opp Line Item is Null 
and then takes the following Actions :

   a. Create Fulfillment Record with following values :
        i) Fulfillment Name = Adventure Name + OppLineItemId
        ii) Scheduled Date = OppLineItem.Date
        iii) AdventurePackageId = OppLineItemId
        iv)Adventure Package Cost = OppLineItem.TotalPrice
        v) Adventure = OppLineItem.Adventure
        vi)Expedition Leader = OppLineItem.Adventure.ExpeditionLeader. 
        vii) Package = OppLineItem.OppId
         viii) Explorer = Null
         ix) Status = New
   b. Create Chatter Post
   c. Update Opportunity with Needs insurance, Needs Waiver values from Adventure
   d.Update Adventure Package with values for 'Fulfillment Created' to true and Needs insurance, Needs Waiver values from Adventure.
   e. Create a Task immediately, relate it to Opportunity and assign it to the Opp Owner.
   f. Create another Task after 14 days with same details.

And after that, run this script in your 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;

for creating test records.

Do let me know, if this doesn't solve your issue.

Thanks
Nikhil 
Trupti Dhoka 41Trupti Dhoka 41
It still showing me same error as: 
'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.'

I have created process as follows:

1.Create Flow on 'Adventure Package' object (when Record is created).
2.Criteria's are : Oppty.Stagename <> Cancelled & OpptyLineItem.Fulfillment_State <> 'Created'
3.Immediate Actions : 
           i) Create Fulfillment record.
           ii) Update  'Advanture Package' record with fields as below:
                  - Needs Insurance : OpptyLineItem.Product2.Needs_Insurance__c
                  - Needs Waiver: OpptyLineItem.Product2.Needs_Insurance__c
                  - Fulfillment Created : True
           iii) Update [OpportunityLineItem].Opportunity ID record with fields as below:
                 - Needs Insurance : OpptyLineItem.Product2.Needs_Insurance__c
                  - Needs Waiver: OpptyLineItem.Product2.Needs_Insurance__c
           
        changed to EVALUATE NEXT CRITERIA

         1. Criteira : OpptyLineItem Explorer equals to  NULL
         2. Immediate Actions : Creation of Task Record with field mapping as below:
            - Assigned To ID : OpptyLineItem.Oppty.OwnerId
            - Priority : 'Normal'
            - Status : 'Not Started' 
            - Related To ID : OpptyLineItem.Explorer__C
            - Subject : Update explorer Entrt
         3. Scheduled Action: 14 Days from Now
           - Post to Chatter with fields specified in requirement. (OpptyLineItem.Oppty.OwnerId

I am not getting what I've missed/did wrong.
Suggestion would be appreciated.

Thanks In Advance.

 
Ajay Anikar H RAjay Anikar H R
I am now getting new 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.QueryException: List has no rows for assignment to SObject
Suriya GuruSuriya Guru
I am getting the same error even though my process appears to be working perfectly fine when I add an adventure package to the Opportunity.
farouk fakunlefarouk fakunle
@Fons did you do any kind of workaround while building your process?
FonsFons
Farouk, No, everything built in Process Builder. No workflow rules or actions, etc. needed for me to pass it. On Tuesday, June 21, 2016, Salesforce Developer Community < noreply@developerforce.com> wrote: > farouk fakunle replied to a question you're following at 11:06 AM on > 6/21/2016. > > *Original question:* > Has anyone completed this trail? I am stomped on challenge number 3, > regarding created the process for fulfillment. Any pointers or guidance > would be appreciated. > > > *Reply:* > @Fons did you do any kind of workaround while building your process? > > Tip! To respond, either reply to this email or click this link: > https://developer.salesforce.com/forums/ForumsMain?id=906F0000000kEDk -- C:201-341-3106 E: alfonsojmendoza@gmail.com
Suriya GuruSuriya Guru
STEP4: It is working for me finally after adding Opportunity Infomation to the Fulfillment Package field. I was getting the error : System.QueryException: List has no rows for assignment to SObject and this is probably happening when data is compared at the last step.

I started going field by field and compared it with the results along with inputs from Nikhil's and others definition.  Also, enbaled the debug log or left the developer console open so that I can see the details behind the above error.

Below for reference and one node with evaluate next criteria.  Thanks everyone!!!

User-added image
 
Ajay Anikar H RAjay Anikar H R
@ Suriya -- could you kindly confirm what exact opportunity information was added to adventure package to resolve this ?

I was able to resolve sObject after removing the data that were inserted for product 'Half Dome Hike'; however back to original error now. 

thanks in advance,
Suriya GuruSuriya Guru
See below :  Also, make sure other fields on every step is added properly. Keep the dev console open which may show you some isight like below query which actually pulls the data and compares it.  This would help you to identify what field values aren't showing up in your query.

SELECT adventurepackageid__c, adventure_package_cost__c, adventure__c, expedition_leader__c, explorer__c, package__c, schedule_date__c FROM Fulfillment__c WHERE package__c = ''

User-added image
farouk fakunlefarouk fakunle
@ Fons @ Surlya 

Here is my data model below, am i missing aything or referencing something wrong? thanks in advance. 



I am referencing the Adventure Pakage Object to Start my process so it it is:

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].Needs_Needs_Insurance_c
Needs Waiver - Refernce -  [OpportunityLineItem].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 
Needs Insurance - Reference- [OpportunityLineItem].Product2.Needs_Insurance_c
Needs waiver - Reference -  [OpportunityLineItem].Product2.Needs_Waiver_c


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].Exploter_c
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}


User-added image

 
Suriya GuruSuriya Guru
I see related to ID is wrong in the Task creation and it should be :  
Related to ID - reference - [OpportunityLineItem].Opportunity.Id
Rich Wingerter 19Rich Wingerter 19

I don't know if this will help, but people seem to be checking Fulfillment_State_c (in some cases) but not setting it. It has two values in the picklist: "Created" and "Not Created". I suspect that both Fulfillment_State_c and Fulfillment_Created_c need to be set when the Fulfillment record is created or the test will fail. Fulfillment_Created_c, of course, is a Boolean.

I haven't completed this challenge yet, so I'm guessing, based on the code I'm seeing.

Rich Wingerter 19Rich Wingerter 19
BTW, I printed out the custom field lists for the six objects involved here. It helps to have that reference. The Fulfillment object is in the Installed Package.
Jennifer W. LeeJennifer W. Lee
Printing out the fields def helped me in the mapping. I know Salesforce is deploying a release to prod tomorrow or the day after which will resolve some of the reported bugs in the challenge checker so perhaps folks should wait until then. Since I finished the superbadge challenge, I'm no longer able to see the contents of each challenge so it's a bit hard going from memory.
Ajay Anikar H RAjay Anikar H R
Thanks Jennifer for the update. 

I am seeing below information on debug logs while checking the challenge (infact i have tried this challenge on two particular sandbox both giving same results) this looks to be a data that is getting inserted while checking challenge and throwing up error. Correct me..

SOQL_EXECUTE_BEGIN|[4]|Aggregations:0|SELECT Id FROM PricebookEntry WHERE Name = 'Half Dome Hike' LIMIT SOQL_EXECUTE_END|[4]|Rows:0 15:59:17.105 (1134802656)|EXCEPTION_THROWN|[5]|System.AssertException: Assertion Failed: Expected: 1, Actual: 0 15:59:17.105 (1135061480)|FATAL_ERROR|System.AssertException: Assertion Failed: Expected: 1, Actual: 0 AnonymousBlock: line 5, column 1 15:59:17.135 (1135134448)|CUMULATIVE_LIMIT_USAGE |LIMIT_USAGE_FOR_NS|(default)|
farouk fakunlefarouk fakunle
@Ajay I am getting the same error. Is it possible that the preloaded data in the in DE is corrupting the challenge check? For example when loading the pack, it asks you if you want to associate the existing data with the new object relationships..
TruptiTrupti
Thank you guys.I passed challenge #4.


@farouk fakunle

Please update your process with below changes.

1. Update Record - [OpportunityLineItem].Opportunity ID 

Set new fields as below
Needs Insurance - Reference- [OpportunityLineItem].Product2.Needs_Insurance_c
Needs waiver - Reference -  [OpportunityLineItem].Product2.Needs_Waiver_c

2.While creating task record 

Related to ID - reference -[OpportunityLineItem].Opportunity.Id


Once done with these changes, execute blow lines of code in dev console.(As It worked for me)

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;

Let me know if this worked for you.

Thanks,
Trupti
 
Suriya GuruSuriya Guru
Step 8 is failing even though I have loaded the following data by querying and building relationships via Workbench...
- Explorers
- Adventures
- Opportunities
- Opportunity Line Items with Opty ID, PriceBookEntryID
- Opportunity Contact Roles with Role as Explorere and Contact ID & OpptyID

I don't see what I am missing and validated pretty much all of the data using Workbench and wondering...
farouk fakunlefarouk fakunle
I am on Step 6 and getting and error 

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 

 
Ajay Anikar H RAjay Anikar H R
@ farouk - good to hear that you moved on, what was the resolution to your challenge #4 error?
Ajay Anikar H RAjay Anikar H R
Got it @farouk, I ran the data insert that @ Trupti had given and challenge #4 completed.

Thanks all for the discussion and solutions offered.
farouk fakunlefarouk fakunle
@Ajay thanks for your input,  Here is my data model below.  Thanks to @Trupti @Fons @ Jennifer @Surlya @ Nikhil for the valuable input and assistance on STEP 4




I am referencing the Adventure Pakage Object to Start my process so it it is:

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 
Needs Insurance - Reference- [OpportunityLineItem].Product2.Needs_Insurance_c
Needs waiver - Reference -  [OpportunityLineItem].Product2.Needs_Waiver_c


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;
This was selected as the best answer
Trupti Dhoka 41Trupti Dhoka 41
Hi @Nikhil Jaitly 8, @Jennifer W. Lee

Could you please help me for challenge #6.
I am not getting the requirement statement for this.

Thanks,
Trupti

 
farouk fakunlefarouk fakunle
Hi Trupti, Try my solution to number 6 here: https://developer.salesforce.com/forums/ForumsMain?id=906F0000000kEw6
Trupti Dhoka 41Trupti Dhoka 41
Thank you @farouk fakunle.. It worked :)
Trupti Dhoka 41Trupti Dhoka 41
@ Angel Luis Sanz Aceituno , Post your process logic.Above logs would not help to trace the error.

Thanks
Trupti
Angel Luis Sanz AceitunoAngel Luis Sanz Aceituno

@Trupti
I've followed Farouk solution step by step and It does not work for me. I also executed the code in the developer console in an anonymous window and it appear as success but still not working.

The only thing is that in Farouk's solution he have: [OpportunityLineItem].Oppotunity.StageName
And i have  [OpportunityLineItem].Oppotunity.StageName__C

Is that important?

Also I attach an IMG of how I have it distributed, Please if you need more info just tell me.

User-added image

Angel Luis Sanz AceitunoAngel Luis Sanz Aceituno
User-added image
@ Trupti This is the image, sorry.
Trupti Dhoka 41Trupti Dhoka 41
@Angel Luis Sanz Aceituno
Yes. Please change [OpportunityLineItem].Oppotunity.StageName__C to [OpportunityLineItem].Oppotunity.StageName .
As we're referencing standard field stage of Opportunity here.

Also I think you have not set Evaluate the Next criteria.
farouk fakunlefarouk fakunle
@ Angel you have to change the mapping as Trupti suggested and alsot click stop on the first node to evaluate the next criteria. Also make sure you run the test code in dev console after activating your process before evaluating. let us know how it goes, thanks 
Trupti Dhoka 41Trupti Dhoka 41
Do we need to create Lightning component for challenge #7 ??
Nikhil Jaitly 8Nikhil Jaitly 8
@Trupti, I can't see my challenges anymore. As far as I can remember we don't have to create a Lightning Component for any challenge. Could you please let me know a little of the challenge you are stuck on ?

Thanks
NIkhil
Trupti Dhoka 41Trupti Dhoka 41
I am stucked on challenge #7 (Expedition Leader Support) which suggest to create a way for expedition leaders to log cases from their phones with a minimal amount of data entry and quick access to create a new case.

 
farouk fakunlefarouk fakunle
@Trupti create a case action on the Fulfilment Object. 
Nikhil Jaitly 8Nikhil Jaitly 8
For this a quick action has to be created and added to Global Actions with fields suggested in the requirements.

Thanks
Nikhil
Nikhil Jaitly 8Nikhil Jaitly 8
Also, this action should have predefined values from the Fulfillment record, it is created. 

Thanks
Nikhil
Trupti Dhoka 41Trupti Dhoka 41
@Nikhil Could you please elaborate on this.
 
Angel Luis Sanz AceitunoAngel Luis Sanz Aceituno

Thank you very much @Trupti and @Farouk.

It was because I had not activated the stop after the first node... I completely forgot that step.

The  [OpportunityLineItem].Oppotunity.StageName__C didn't affect me because is the only field Stage I have in the object (and I couldn't remove the __C in the name since its a custom field)

Thank you again!

Suriya GuruSuriya Guru
Anyone completed step 8?  getting the same error even after creating another dev org just to go through the object name changes and data load.
Challenge Not yet complete... here's what's wrong: 
Please make sure you upload all of the Opportunities from the spreadsheet.



Step 8 is failing even though I have loaded the following data by querying and building relationships via Workbench...
- Explorers
- Adventures
- Opportunities
- Opportunity Line Items with Opty ID, PriceBookEntryID
- Opportunity Contact Roles with Role as Explorere and Contact ID & OpptyID

I don't see what I am missing and validated pretty much all of the data using Workbench and wondering...
Michele LoschMichele Losch
I'm getting an error for step 5:
Challenge Not yet complete... here's what's wrong: 
Opportunities with the stage of 'Awaiting Approval' and a Discount > 0, did not kick off an approval process named 'Approval for Package Deal'.

Here is what I submitted:

Object: Opporunity 
Start Process when created or edit

Criteria 
Conditions are met
[Opportunity].StageName Is Changed True
[Opportunity].StageName= Awaiting Approval
[Opportunity].Discount > 0
All conditions are met (And)

Immediate Actions
Object Opportunity
Approval Proccess: Specific Approval Process- Approval for Package Deal 
Submitter: User field from a record- [Opportunity].Owner.Id

Update Record
Record: [Opportunity]
Criteria: updated records meet all conditions
Filter: Discount Is null= true
New field: Stage=Scheduled

Criteria
Deposit Made
[Opportunity].StageName = Deposit Made

Immediate Action
Update Record
Record: [Opportunity].Fulfillments__r
No criteria
Status= paid deposit

Criteria
Cancelled
[Opportunity].StageName =Cancelled

Immediate Actions
Update Records
[Opportunity].Fulfillments__r
Status= Cancelled

Thank you in advanced!
Suriya GuruSuriya Guru
@ Michele... the following condition will never fire since discount greate than zero on the entry criteria.  I actually added the fourth node where in checked for Awaiting Approval and Discount <=0 to set it to an action as "Scheduled".  This actually made the challenge to complete.

Update Record
Record: [Opportunity]
Criteria: updated records meet all conditions
Filter: Discount Is null= true
New field: Stage=Scheduled

 
farouk fakunlefarouk fakunle
@Surlya, any luck with Step 8 ?
Suriya GuruSuriya Guru
I see the note on the other thread that by Friday expected to make some changes around how the challenge Step# 8 is being validated.  Let us see what happends after Friday since I don't see anything wrong with the data generated by me.

https://developer.salesforce.com/forums/ForumsMain?id=906F0000000kEDk#!/feedtype=SINGLE_QUESTION_SEARCH_RESULT&id=906F0000000kEQoIAM
 
farouk fakunlefarouk fakunle
Those that completed Step #8 what kind of workaround did you use?
TruptiTrupti
Hi,

I tried the challenge #7 by following way : 

1. I have created one Quick action on fulfillment Object as below : 
User-added image

2. Then added this quick action Fulfillment page layout in Salesforce1 and Lightning Experience Actions section.

But it is showing me error as below :

'There was an unhandled exception. Please reference ID: MDWZFFGI. Error: Faraday::ResourceNotFound. Message: NOT_FOUND: Invalid Action Name: Fulfillment__c.New_Expedition_Leader_Case'

Am I missing some steps??

Thanks,
Trupti
farouk fakunlefarouk fakunle
@ Trupti have you created and Action on the fulfillment Object called New Expedition Leader Case and set the priority to High?
TruptiTrupti
Ohhh...
I missed priority field ..

Thank you @farouk fakunle. It worked :)
farouk fakunlefarouk fakunle
@Trupti your welcome, I am still on #8 so let me know how that Step goes.
Michele LoschMichele Losch
@Suriya I'm still getting the same error for step 5. I added the 4th node and no luck. What were your set conditions for awaiting approval?
Suriya GuruSuriya Guru
@Michele...check out the workflow image...
User-added image
 
farouk fakunlefarouk fakunle
@Surlya, have you completed step#8
Athanasios "Sakis" StergioulasAthanasios "Sakis" Stergioulas
@surlya This method is not working for me. Currently having trouble with the approval. 
TruptiTrupti
Hello,

Anybody completed Challenge #8 ??

I'm getting error 'Challenge Not yet complete... here's what's wrong: 
Please make sure you upload all of the Opportunities from the spreadsheet'.
Michele Losch 4Michele Losch 4
@Athanasios Did you figure out step 5? I'm still having issues with it.
Angel Luis Sanz AceitunoAngel Luis Sanz Aceituno

@MIchele remove the [Opportunity].StageName Is Changed True and try it again.
 

My mistake was that I chosed a wrong Stage field, but now I have passed the challenge and I think that I had pretty much the same as you.

If it doesn't work answer and I post my process.

Athanasios "Sakis" StergioulasAthanasios "Sakis" Stergioulas
@Angel that did the trick. Thanks cc @Michele
Michele Losch 4Michele Losch 4
@Angel this is the error I'm getting now: Opportunities with the stage of 'Awaiting Approval' and a Discount = 0 should update the Opportunity Stage and not require an approval.
Angel Luis Sanz AceitunoAngel Luis Sanz Aceituno
@Michele Do you have the "No discount" block configured like the one I show you in the Image?  User-added image
If not, do it and tell me if it works.
Michele Losch 4Michele Losch 4
@Angel I did that and still getting an error. Do you think my Approval for Package Deal is wrong. My sales automation process is the same as the image you provided. 
Michele Losch 4Michele Losch 4
@Angel nevermind I figured it out. I made a change in the update to scheduled and it worked. Thanks for your help!
Suriya GuruSuriya Guru
@Angel Luis - Opportunity Explorer has three objects data - Opportunity, Opportunity Line Items and Opportunity Contact Roles.  for Opportunity line items use the product code and get the price book entry id from sandbox to load with quantity and list priece.  On Contact Roles - I did a vlookup on excel to get the explorer row ids and created a file with Opty Id, Contact Id, Role defaulted as Explorer and Is Primary selected as True.  Please make sure to keep the results from every load so that you can get the row Ids for contacts or Opportunities and load the necessary data. 
Step 8 is still failing for me even after doing all of the above steps.  
Athanasios "Sakis" StergioulasAthanasios "Sakis" Stergioulas
@angel Luis did the same steps and no luck.
Angel Luis Sanz AceitunoAngel Luis Sanz Aceituno
@Athanaslos post your error and also your process automation in detail if possible, so we can check your flow and look for the error ;)
Athanasios "Sakis" StergioulasAthanasios "Sakis" Stergioulas
@Angel This is for #8 when I imported the data. "Please make sure you upload all of the Opportunities from the spreadsheet." Everything has been related correclty and the workflows are working correctly. 
farouk fakunlefarouk fakunle
Has anyone got to #9, How do you load the Image gallery on to the adventure record page??
farouk fakunlefarouk fakunle

Has anyone completed #9, i am getting this error: Challenge Not yet complete... here's what's wrong: 
The 'Opp Stage by Adventure' report does not appear to be configured correctly. Make sure it has the correct report type, groupings, filters and chart type.

This is my customization - 

User-added image

User-added image

User-added image

Michele Losch 4Michele Losch 4
@Farouk I passed the challenge with this: 
 User-added image
Hopefully this helps!
farouk fakunlefarouk fakunle
Thank you at Michele, is your report on the Opportunity object? for some reason i cannot pull up the advenure name as a field and the primary explorer is not populating on mine. 
Michele Losch 4Michele Losch 4
Open the Opportunities folder and choose Opportunities with Adventures. 
farouk fakunlefarouk fakunle
Thank you @Michele 
Sitarama MurthySitarama Murthy
hi,

in Adventure package object Needs Insurence and Needs waiver fields is Read only fields, how can i update that fields using PB?
please help in clearing step#4...

thanks
Angel Luis Sanz AceitunoAngel Luis Sanz Aceituno

I've done it.

Was an error with the ID's. I had to go step by step from the Product2, PricebookEntry, PricebookID, Pricebook2, Explorer, Opportunity, OpportunityLineItem and OpportunityContactRole.

I fixed it deleting all the previous inserted data and going step by step exporting the ID's and adding to the further steps so the coherence of the connections was mantained.
Has been a tedious work but helped a lot to learn how everything is interconnected between this objects.

 

Klaus HuberKlaus Huber
Hi together,

I hang still on step 6 and get following error:

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.

The current process looks:
The Fulfillment Object 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 

What is the issue ?

Thanks
 
Iván RiveraIván Rivera
Hi  @Klaus

I am stucked at challenge 6  but the error is being caused by a bug on the script that checks the challenge. 

I tested the process and worked correclty, but when I check the challenge I get the following weird message exception: 
18:44:17:102 FATAL_ERROR System.AssertException: Assertion Failed: Same value: 0.80 

that means that it passed.

User-added image

Process:
Fulfillment Object (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 






 
sfdcFanBoysfdcFanBoy
@Ivan Rivera: Your process builder for cancellation needs to include Date condition too.  This isn't a bug!
Iván RiveraIván Rivera
@sfdcFanBoy do you mean Schedule Date Condtion? 

User-added image
saran kumar 9saran kumar 9
please help me with this .....i am unable to understand and get confused

This approval process, called Approval for Package Deal, is available whenever the opportunity stage is Awaiting Approval, and it assigns approvals back to the opportunity owner. If the opportunity owner approves the discount, the opportunity record’s stage is set to Scheduled. Otherwise, set the stage to Negotiation Rejected.
You notice that the Discount field isn’t required; not wise considering you’ll be working with it for automating the approvals process. You require the field and set the default value to 0.

i created approval for pacakage deal process but i am bit confused and clueless ..
 
thanks in advance
bobnunny1bobnunny1
@saran It's just telling you to make that field on the object required with a default of 0.
saran mamidi 3saran mamidi 3
@bobnunny1 .....thank you dd last evening .... 

 
Rich Wingerter 9Rich Wingerter 9
I have been working on various parts of this for some time, and I put up a new topic with my thoughts here (https://developer.salesforce.com/forums/ForumsMain?id=906F0000000kGlyIAE). I did that just because this topic is getting a bit long and I'm not sure how people are finding information. If you have advice or questions, you can also post there.
Rich Wingerter 9Rich Wingerter 9
I'm having a problem with the user profiles. A lot depends on getting this right. The instructions say: “Enable this navigation for the sales, service, and fulfillment profiles (expedition leaders and fulfillment team members), system administrators, the custom support profile, and custom sales profile.” I can't tell if this is four profiles, six profiles, seven profiles or what. The System Administrator profile in the environment matches. I also have, for example, "Custom: Sales Profile", which includes a custom app setting for "Relaxation Gauntlet", so I'm pretty sure this is the "custom sales profile".

But then, what are the first three or so? Is "sales" just a second reference to "Custom: Sales Profile", since there isn't any sales profile in my environment?

And what of "fulfillment profiles", which must be specificially "expedition leaders and fulfillment team members"? They might be missing because I downloaded a broken install package and those have since been added. Or, it might mean I'm supposed to create them.

The wording of the instruction is that they expect all these profiles to be available and we are supposed to enable navigation for them. But they aren't, at least not in my environment. I'm reluctant to create the ones they list, but I don't see how to make progress without doing that. Reading it, I'm expecting to find seven existing profiles in the environment after installing the package and ones that exactly match what they say. Instead, I get about three.

Any thoughts?
Suriya GuruSuriya Guru
@Rich - I had only three custom profiles eventhough there were 36 profiles in total was available.  I had granted access based on the request to the following and Marketing profile should have access to Fulfillment object.  

User-added image
 
Rich Wingerter 9Rich Wingerter 9
Thanks, @Suriya. I have those same custom profiles. It's just that the instructions list so many more. In the General UI Changes section it talks about sales, service, etc. I can enable the navigation for the three custom profiles, but is that going to pass the challenge tests? I don't want to just guess what they mean.
Kumar GautamKumar Gautam
Hi,
I am seeing the below error on step 6, can anyone help and correct here 
"The Fulfillment Cancellation Automation process does not appear to be working properly. Make sure that a cancelled Fulfillment updates the Adventure Package correctly."

User-added image
User-added image
Iván RiveraIván Rivera
Hi @Lars. 

You need to install this unmanaged package: https://login.salesforce.com/packaging/installPackage.apexp?p0=04t36000000g5yC


 
TrailheadblazerTrailheadblazer

Hi all,
 
I'm also trying to complete this challenge. 
But my prblem ist that I can't set the reference Package -  [OpportunityLineItem].OpportunityId on my Record Type* Fulfillment, because I can't find that field.

 

Any ideas?

 

Thanks,

Lars

TrailheadblazerTrailheadblazer

@Iván Thanks for your help. I already installed that package (it was a problem with my field. Wanted to have it as a formular but changed it to a checkbox now) 

But I still can't set the Package field.

 

Here is my data:
User-added image

Thanks,

Lars

Iván RiveraIván Rivera
Hi @Lars.

I just created the field as Package Text(18),  because it´s not included in the unmanaged package.   



Regards.! 
Rich Wingerter 9Rich Wingerter 9
I'd like to have a process similar to what @Suriya showed on 24 June where one criteria is where the Opportunity stage changes to "Deposit Made", but I don't know how to update the associated Fulfillment record to set its status to "Paid Deposit". The problem is that there does not seem to be a real relationship in my database between Opportunity and Fulfillment, and I can't go through Adventure Package because the relationship from Opportunity to it is one-to-many. Hence, the Update Records action won't reach from Opportunity to Fulfillment, even if I pick "Selelect a record related to the Opportunity" in the "Select a Record to Update" dialog box. Is there any way to update this record, even though it's not related?
Charles Cummings 7Charles Cummings 7
On number 8, I'm trying to figure out the following:

Finally, add this chart to your Lightning Adventure Record Page with the label Adventure Stage Comparison. To ensure that this chart isn’t accidentally displayed to customers, add it to a new section called Adventure Comparison.

OK, so I'm opening the lightning record page and adding the chart with the label "Adventure Stage Comparison". However, I can't figure out how to add a new sectionin Lightning (which should be called Adventure Comparison). Thoughts? 
Suriya GuruSuriya Guru
@Charles

When you add a tab --> Select Custom and the text box will be there to give a name as "Adventure Stage Comparison". Please use the tab below the heder component to have different tabs.

User-added image
Charles Cummings 7Charles Cummings 7
Thanks @Suriya Guru. Lightning is pretty cool. I see where they were going with the instructions now. Here is what I have now in the record. Should the tab be Adventure Comparison and the label for the chart should be Adventure Stage Comparison. 

I still get the following error. 

The 'Opp Stage by Adventure' report does not appear to be configured correctly. Make sure it has the correct report type, groupings, filters and chart type.

It looks like you have it grouped by Stage with the X axis as the Adenture and the Y axis as the record count. But, it looks like you have it grouped by Primary Explorer. I didn't set primary on the Opportunity Contact role when I did the import, so I may need to fix that. How are you accounting for the stage in the chart? 



User-added image

Grouped by Stage
George_LiGeorge_Li
Anyone else having trouble with challenge #6 (Fulfillment Cancellation Automation)?
I've tried all the suggested methods above, nothing worked. still getting this 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 have a feeling it's somewhat related to the DATE condition, I've got:
[fulfillment__c].scheduled_date__c GREATE THAN TODAY ()
User-added image

Any other suggestions? Much appreciated.
George_LiGeorge_Li
@gale altman 17, what error did you get. From your screenshot, you should be updating "Fulfillment Created" field to:
Fulfillment created Bo0lean to TRUE
George_LiGeorge_Li
Managed to resolve #6, what I was missing is an additional update condition under Immediate Actions:
Liine Item ID Equals Formula [Fulfillment__c}.AdventurePackageId__c

You might also get a DML Exception, which is covered in this thread - https://developer.salesforce.com/forums/ForumsMain?id=906F0000000kIudIAE 
Venkatesh BudiVenkatesh Budi
@george I'm also stuck with same error, can you point me where to add the Immediate Action:
 Line Item ID Equals Formula [Fulfillment__c}.AdventurePackageId__c
Venkatesh BudiVenkatesh Budi
It was confusing on whether to user package.OpportunityLineItems or Opportunity.OpportunityLineItems. Its solved!
George_LiGeorge_Li
@Gale Altman 17, Can you see the two fields in Oppty Product (Needs_Insurance__c, Needs_Waiver__c). Further more, your "Immediate Actions" should be updating "[OpportunityLineItem].Opportunity ID"
Charles Cummings 7Charles Cummings 7
@sfdchacko

I got it to work with grouping by Stage first, then Adeventure. I did not group by Primary Explorer though I think some others did do that as wll. 
Joel RamosJoel Ramos

Guys, What "Record Type" did you choose for Adventure Package?

           ii) Update  'Advanture Package' record with fields as below (PENDING):
                  - Needs Insurance : OpptyLineItem.Product2.Needs_Insurance__c
                  - Needs Waiver: OpptyLineItem.Product2.Needs_Insurance__c
                  - Fulfillment Created : True
           iii) Update [OpportunityLineItem].Opportunity ID record with fields as below (OK):
                 - Needs Insurance : OpptyLineItem.Product2.Needs_Insurance__c
                  - Needs Waiver: OpptyLineItem.Product2.Needs_Insurance__c

I haven't found the object to update the three fields: Fulfillment Created, Needs Insurance and Needs Waiver.

Thanks in advance for your help!

TrailheadblazerTrailheadblazer

Hi All,

I'm a bit stuck at step 7. Getting error:

 There was an unhandled exception. Please reference ID: XZQIXSTJ. Error: Faraday::ResourceNotFound. Message: NOT_FOUND: Invalid Action Name: Fulfillment__c.New_Expedition_Leader_Case

 

What I did:

created an action on the Fulfillment object named New Expedition Leader Case.

User-added image


With the predefined field values:


Contact Name ContactId Lookup Fulfillment__c.Explorer__r.Id
Fulfillment Fulfillment__c Lookup Fulfillment__c.Id
Priority Priority Picklist High

Then added it to the Layout page.

User-added image

Any help?

Thanks

sfdchackosfdchacko
You have to name the quick action as New_Expedition_Leader_Case
TrailheadblazerTrailheadblazer

It is named New_Expedition_Leader_Case.

 

Still getting the error
Thanks for your help!

sfdchackosfdchacko
Here is how my setup looks

User-added image

User-added image
TrailheadblazerTrailheadblazer

Thanks sfdchacko. Same setup as my config. 

Started from scratch again and now it worked!

 

Thanks

TrailheadblazerTrailheadblazer

Hi stuck at 8 any help?

getting: 

Challenge Not yet complete... here's what's wrong: 
Please check that all of the relationships are maintained for Opportunity Contacts and Adventure Packages that you upload from the spreadsheet.

I tried creating a file (VLOOKUP) that has all the references.

Could someone advise how to import the data (as it is .xlsx). And on wich object. (Fulfillment?)

 

Thanks!

sfdchackosfdchacko
@trailheadblazer, did you insert into OpportunityContactRoles in addition to explorer (contact), adventure (product), opportunity and adventure package (opportunity line items)?
Joel RamosJoel Ramos
Hi guys,

When I choose "[OpportunityLineItem]" as a Record to Update, I don't see the three fields.

Anybody had or has this issue? I'm only able to see the "Fulfilment Created" field.

Thanks for your help to get my Superbadge!

-----------------------------------------------------------
Record - [OpportunityLineItem]

Fulfilment Created = True
Needs Insurance - Reference- [OpportunityLineItem].Product2.Needs_Insurance_c
Needs waiver - Reference -  [OpportunityLineItem].Product2.Needs_Waiver_c
Philip SinghPhilip Singh
Did anyone get this all done in the first go and get the golden badge?
kashmankashman
@Joel Ramos @Gale Altman 17 
I have the same issue on #4, that I do not see the two fields "Needs Insurance" & "Needs Waiver" on the second Update Record Action in Node #1. Not sure how folks earlier @farouk @suriya got this resolved. Can anyone comment ? Appreciate it.
Joel RamosJoel Ramos
Hi @kashman. Move all the logic in one node. I've passed the step #4. Forget the two fields. Keep your version.
Suriya GuruSuriya Guru
@Kashman,

Have you added the update action for the two fields?  see attached the process builder screen

User-added image
Joel RamosJoel Ramos
I got the challenge with the following data model:

1. Update Adventure Package:
RecordType: [OpportunityLineItem]
Field:
    - Fulfillment Created : True

2. Update Need fields:
RecordType: [OpportunityLineItem].Opportunity ID
Fields:
- Needs Insurance : OpptyLineItem.Product2.Needs_Insurance__c
- Needs Waiver: OpptyLineItem.Product2.Needs_Insurance__c

I've only included one node in the process builder.

Good luck!

Data Model
kashmankashman
@Suriya - To answer your question, I cannot add the two fields for [OpportunityLineItem] as those fields do not appear in the process builder. They DO appear for [OpportunityLineItem].Opportunity ID. Those fields do exist for the object [OpportunityLineItem] in the object manager. Bit weird. Therefore I am skipping them. See images below from process builder and my logic.

@Joel - I will try your one node solution as well.

The error I get is "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."

PROCESS BUILDER LOGIC:
Trailhead Superbadge Challenge #4


I am referencing the Adventure Package Object to Start my process so it it is:

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].Opportunity.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].Needs_Needs_Insurance_c
Needs Waiver - Refernce -  [OpportunityLineItem].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

Evaluate the Next Criteria 

SECOND NODE 

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].Exploter_c
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}


User-added image


User-added image
suraj gupta 31suraj gupta 31
Getting Error: Faraday::ResourceNotFound. Message: NOT_FOUND: Invalid Action Name: Fulfillment__c.New_Expedition_Leader_Case error in Step 7
force guys 4force guys 4
Hi please help me with the step4. 

Here is the issue i am getting.
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.
Sudhir Kumar 19Sudhir Kumar 19
I think we need a solution here from Trailhead Team or from the awesome people who have comleted LeX challenge #4: 
Automate the creation of fulfillments. "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."

I have also raised simialr discussion here https://developer.salesforce.com/forums/ForumsMain?id=906F0000000g2xiIAA but as I can see in this post, there are people who have passed ,, and at the same time there are people who have not.

I request to post a complete solution which worked. I think those who have not passed might be missing something.
Appreciate your help. Thank you.
Antoine Bacquart 8Antoine Bacquart 8
Hi guys, you should go there : https://developer.salesforce.com/forums/?id=906F0000000g2FbIAI
It helped me :)
Dan Glaser 4Dan Glaser 4
I found the answers. 
FIrst I did follow 
https://developer.salesforce.com/forums/?id=906F0000000g2FbIAI

The last thing that made it work for me was under create task is
Related to ID - reference -[OpportunityLineItem].Opportunity.Id
 
Venkatesan SundaramVenkatesan Sundaram
Thank you, everyone. This discussion thread was very helpful. Got the super badge today !
Anushka BansalAnushka Bansal
getting confused in how exactly to import the data for the Opps w Adventure + Explorer.
which object to start with and what all fields to update?
Warren Wade 15Warren Wade 15
@Force Guy - Did this ever get resolved for you?  I'm bumping into the same error:

Here is the task description:
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.
Here are my values:

Assigned To ID - reference - [OpportunityLineItem].Opportunity.OwnerId
Related To ID - reference - [OpportunityLineItem].Opportunity.Id
Priority - Normal
Status - Not Started
Subject - Update Explorer
Description - double check the explorer data is properly mapped to the fulfillment record.

It is actually creating the task with these values; however, I'm receiving the following error despite the successful creation of the task as assigned:
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'm wondering if there's a problem with the check.  Are there any other steps people have taken to correct this?
Anushka BansalAnushka Bansal
i am getting the same error .. how do we check if the task is getting created or not?
Warren Wade 15Warren Wade 15
@Anushka - It's creating the task for me with all of the values stated above but the check is failing.  I've seen in other posts folks talking about previous iterations of the installed package cause some problems.  In the debug it's showing that the task isn't getting created at all but it is.
Warren WadeWarren Wade
User-added image

This is what I've got.  Any insights?
Warren WadeWarren Wade
I'm also getting an error that says the following when i try and delete it:

Cannot complete this operation. This flow version is referenced elsewhere in salesforce.com. Remove the usage and try again. : Flow Interview This flow version is referenced elsewhere in salesforce.com. Remove the usage and try again. : Flow Interview

It feels like there may be an old version cached in my trailhead or something.  
Warren Wade 15Warren Wade 15
Now I'm getting this error:
There was an unhandled exception. Please reference ID: OKQJJRKX. Error: Faraday::ParsingError. Message: 757: unexpected token at 'null'

 
Darrell GallegosDarrell Gallegos
Ok so Step 5 has me FRUSTRATED!!!!!!!!!!!!
Awaiting Approval

Update to Scheduled

Challenge Not yet complete... here's what's wrong:
Opportunities with the stage of 'Awaiting Approval' and a Discount = 0 should update the Opportunity Stage and not require an approval.

No idea????????????????????????????????????????????
Darrell GallegosDarrell Gallegos
Got it!

Had to break up the process to 4 nodes. Apparently the nodes don't equate to If/Then logic. Thats where my confusion was. If anybody has problems with Step 5, let me know.

Complete Challenge
 
Gunjan Thakkar 9Gunjan Thakkar 9
Hello All,
I am hitting the Trail to complete the LEX Superbadge challenge. Stuck at challenge # 4 - Fulfillment Creation. I read through the posts here and tried to follow all the suggestions & what has worked for @Farouk, @Trupti, @Fons, @ Jennifer, @Surlya & @ Nikhil but I keep getting this 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.


I double checked all the reference fields and also ran the code in Dev Console and it shows no errors in the dev console. HELP!!

 
Darrell GallegosDarrell Gallegos
@Gunjan Thakkar - Post your process and I'll help you out. I was getting stuck with the same error message but I broke up my process to 4 nodes and it passed.

I'll help if I can see your current setup.
Frank Mamone 19Frank Mamone 19
@Gunaj

Make sure you map the Related Id to the Opportunity in the Task creation. That's what I was missing.
Gunjan Thakkar 9Gunjan Thakkar 9
@Frank - Related To ID is referencing [OpportunityLineItem].Opportunity.Id
@Darrell - here is the screen shot of my process. Thanks!

Fulfillment Creation Process Builder
Darrell GallegosDarrell Gallegos
Gunjan - What is the node evaluation criteria outside the immediate action of your task creation?

Criteria
[OpportunityLineItem].Explorer__c Is null Boolean False

Task
Assigned To ID reference [OpportunityLineItem].Opportunity.Owner.Id

I can't see the setting you have but these are the settings in my working process.
 
Frank Mamone 19Frank Mamone 19
@Gunjan - yes..thanks for clarifying my response :)
Frank Mamone 19Frank Mamone 19
@Darrell

I didn't use this:
[OpportunityLineItem].Explorer__c Is null Boolean False

Doesn't look like they check that and didn't see it in the requirements.


 
Gunjan Thakkar 9Gunjan Thakkar 9
@Darrell
THANK YOU!! The criteria was set to True instead of False in node evaluation. I passed challenge # 4 now :-)
Darrell GallegosDarrell Gallegos
You can easily set this to No Criteria - Just Execute the Actions. There are definitely different methods to complete this challenge.
Darrell GallegosDarrell Gallegos
@ Frank

The first criteria node requires the Explorer field to complete the Create Fulfillment. So you you can definitly skip the second addition of this criteria and set to no critieria because it should already be implemented for the first criteria node. It is probably overkill but it does solve the problem in this case. 
Darrell GallegosDarrell Gallegos
@Gunjan - Glad that worked for you!!!!
Theodore RayTheodore Ray
Hi

I would appreciate any help people can give me on explainign the value of the adventure package, fulfilment object, and contact roles object. I completed the first two superbadges relatively easily and have got to the 8 challenge on the lightning superbadge but am finding it much harder than the previous superbadges! I've uploaded the data for the adventures, explorers and opportunities but am struggling to preserve relationships. 

I think this is because I'm used to working with Salesforce in a service environment and so don't really understand the utlity of the adventure package or opportunity contact role objects which is inhibiting my ability to resolve this challenge. If there is anyone out there who can explain the high level business benefits of this arrangement of objects and how they work together or even just point towards some specific resources that do so it would be much appreciated.

Kind regards and thanks

Theodore

 
Heidi DorionHeidi Dorion
I posted a new thread asking this question but I'm receiving the strangest error on Challenge 6. Any ideas? (I don't know who Sam the ninja is...)

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: Delete failed. First exception on row 0 with id 0034100000577gqAAA; first error: DELETE_FAILED, Your attempt to delete Sam the ninja could not be completed because it is associated with the following adventure packages.: null, null : []
Darrell GallegosDarrell Gallegos
Heidi - The link below has the solution and explanation to the error you are receiving. It has to do with a required field.

https://developer.salesforce.com/forums/ForumsMain?id=906F0000000kHdlIAE
Heidi DorionHeidi Dorion
Thanks Darrell! Fixed my issue and passed the step. :)
Trial D 2Trial D 2
I'm stuck in challenge number 4.
I think is not nearly clear what do you need to do with the process automation and the error that the system gives is even less clearer. 

Any hint would be helpful. 


i am getting the 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 fulfillment was created with all of the proper field value specified in the requirements.


I am referencing the Adventure Package Object to Start my process so it it is:

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 


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 

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}

Can you advise if you have done differently 
 
Darrell GallegosDarrell Gallegos
@Trial D 2 - Couple things
  • The Adventure Package data Explorer__c field is required; therefore, in order for this record to be created and used for the Fulfillment creation this field must be populated. So an additional criteria at the first node is need. You are also referencing this in the Set Field Values, so, as of now this could be referencing a NULL field.
    1. [OpportunityLineItem].Explorer__c Is null Boolean False should be added
 
  • WIth this addition, the Second Node Criteria [OpportunityLineItem].Explorer_c   Is Null  = True would be invalid. This can be set to false. The requirement references to "double check the explorer data is properly mapped to the fullfillment record. This would be fulfilled with the information in step 1.
Hope this helps and let me know if that solves your issue. 
Harpreet AjimalHarpreet Ajimal
Hi ,
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.
Trial D 2Trial D 2
@Darrell Gallegos. I made the changes however still not working.

changes made

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
3. [OpportunityLineItem].Explorer__c Is null Boolean False

Conditions - All of the conditions are met (AND) 


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  = False 

Conditions - All of the conditions are met (AND)
 
Harpreet AjimalHarpreet Ajimal
Hi ,
I am stuck in #6
my process contains
object: create or update : fulfilment
criteria : fullfilment status = cancelled  && service date greater than today()
immidiate action:
1. To update sales price
    Record : [Fulfillment__c].Opportunity.OpportunityLineItems
    Sales Price reference  [Fulfillment__c].Deposit__c
2. To delete explorer
     class: deleteExplorer

    public class deleteExplorer { @InvocableMethod     public static void deleteOp(List<Id> AdPackageIds)          {       List<Contact> con = new List<Contact>();                   system.debug('-------------AdPackageIds--------'+ AdPackageIds);                 List<Fulfillment__c> f=[select explorer__c from Fulfillment__c where id in :AdPackageIds];                                             system.debug('------------- f list--------'+ f);                    for(Fulfillment__c full : f)                 {                     con =[select id from Contact where id =: full.explorer__c];                                      }                 system.debug('-------------con list--------'+ con);                           delete con;                               }         }



apex variable set : AdPackageIds formula [Fulfillment__c].AdventurePackageId

Even now m getting an error:
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.

What is the issue ?can anybody please tell me..?
 
Nazeer AhamedNazeer Ahamed
Trying to figure out this, what exactly need to do for this particular point?
UI Changes for Sales Reps
Sometimes reps show adventure records to prospective customers on their phones. Add the custom photo uploader component included in your unmanaged package to the top-level record view so that reps see it when they open an adventure record.
Mathieu Lefebvre 4Mathieu Lefebvre 4
After readying all comments and reviewing my configuration for this Step 4, I still getting an 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 fulfillment was created with all of the proper field value specified in the requirements.


I am referencing the Adventure Package Object to Start my process so it it is:

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
3. [OpportunityLineItem].Explorer_c   Is Null  = 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
Opportunity - Reference - [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 

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  = False 

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 HELP!!!!!
Manish Anand 22Manish Anand 22
Hi All,

 I am trying to complete challenge 3 in superbadge-'Lightning Experience Specialist',
 which happens to be a quiz. 
 When I click on Take Quiz, Answers all the 3 questions and click on-'Check Challenge to earn 25 points', nothing happens. It checks infinitely.
 I tried doing this in both chrome and IE. And because of this, I have already missed my 75 points, still I want to complete it and move to next challenge.
 But, it seems I am stuck in this and until I complete this, it won;t allow me to move to next challenge.
 I also tried with other dev org, even tried on different machine, but with no luck.I desparetly want to complete this quiz.
Any help or lead to get attention of trailhead team on this issue is highly appreciated. 

Thanks,
Manish.
Manish Anand 28Manish Anand 28
Hi All,

I am stuck in challenge 4, getting the same error each time: 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.


I have used below single node implementation to complete this challenge.

Node:

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) 

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 

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. 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 

4. 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}

Please let me know, what I am missing.

Thanks,
Manish.


 
Emily Morse 15Emily Morse 15
Hi,

I see that I'm supposed to do create two records in the Fulfillment Creation automation ([OpportunityLineItem].Opportunity ID and [OpportunityLineItem]) with various field updates. I can't seem to get both to work simultaneously; specifically, whichever one I select first will enable me to update the Needs Insurance and Needs Waiver fields OR the Fulfillment Created field, but then on the second one, I can only get whichever fields I haven't already updated in my drop-down list.

On a possibly related note, I'm supposed to update the Priority field on the Fulfillment record creation step, but the Priority field does not show up in the Process Builder either. (I have checked my permissions, etc., for these fields. They are all on the page layout and I have access to them.)

Has anyone had this error?

Thanks!

Emily
Crazy DeveloperCrazy Developer
Please help

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.


Reference = Adventure Package Object to start process.

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
3. [OpportunityLineitem].Explorer__c is null 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 


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 
Fulfilment 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  = False

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}
Roger GriloRoger Grilo

Hi to all, if you are stuck in challenge 4, try the following:

START

OBJECT: Adventure Package
Start the process: Only when a record is created 

FIRST NODE:
Criteria name: Opp is not cancelled
Criteria for Executing Actions: Conditions are met 

Set Conditions:
1. [OpportunityLineitem].Fulfillment_Created_c Equals False
2. [OpportunityLineItem].Oppotunity.StageName Does not equal Cancelled 
All of the conditions are met (AND) 


IMMEDIATE ACTIONS 

1. "Create fulfillment"
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 
Opportunity - Reference - [OpportunityLineItem].OpportunityId


2. "Update Opportunity"
Record: [OpportunityLineItem].Opportunity ID 
No criteria-- just update the 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 Opportunity Line"
Record: [OpportunityLineItem]
No criteria-- just update the records!

Set new field values for the records you update:
Fulfilment Created = True 
Fulfilment State = Created


** EVALUATE THE NEXT CRITERIA **


SECOND NODE:
Criteria for Executing Actions:
--> Conditions are met 

Set Conditions:
1. [OpportunityLineItem].Explorer_c   Is Null  = False
All of the conditions are met (AND)


IMMEDIATE ACTIONS 
"Create Task"  (record type: 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 - Double check explorer data


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}

NOTE: I have passed challenge 4 with this setup on 28-12-2016

Roger GriloRoger Grilo
And for those stuck on Challenge 6...

START

OBJECT: Fulfillment
--> when a record is created or edited

CRITERIA NAME: Fulfillment is cancelled
--> Conditions are met

1. [Fulfillment__c].Status__c   equals   cancelled
2. [Fulfillment__c].Schedule_Date__c  Greater than  Formula  TODAY()
--> All of the conditions are met (AND)


IMMEDIATE ACTIONS
Name: update sales price
Record: [Fulfillment__c].Opportunity.OpportunityLineItems
--> Updated records meet all conditions

Filter:
1. Line Item ID   Equals   Formula   [Fulfillment__c].AdventurePackageId__c

Set new field values for the records you update:
Sales Price    Reference    [Fulfillment__c].Deposit__c


ADDITIONAL SETUP
Customize -> Opportunities -> Opportunity Products --> Fields

Action: Edit  "Explorer" (Explorer__c)
---> set "Required" to blank
---> set "What to do..." to 'Clear the value of this field'


NOTE TO TRAILHEAD TEAM: please update the instructions for this superbadge, as the business requirements are not clear enough
DebadyutiDebadyuti
1. [OpportunityLineItem].Explorer_c   Is Null  = True should be 1. [OpportunityLineItem].Explorer_c   Is Null  = False 

 
Gregory HullGregory Hull
Hey there.  I'm getting an error In the Chatter Basics Trail: Creating Publisher Actions.  I can't get ID the fields that need correcting.  Please help.

Thank you.
Gregory HullGregory Hull
Sorry In the Leads and Opportunities Trail: Converting and Assigning Leads.
 
Amit Singh 1Amit Singh 1
Hi to All,

Whom those got stuck on the Challange 4. Today(Jan 21, 2017) I passed the challenge after 10 hours of hard work and surfing the net thanks @ Joel and @Farouk.

Follow the below steps:
I am referencing the Adventure Pakage Object to Start my process so it it is:

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
3. [OpportunityLineitem].Explorer__c IsNull 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 
Opportunity - Reference - [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 
// If Needs Insurance and Needs waiver fields are downloaded as Formula then
// rename these and create two new checkbox fields with the same name
Needs Insurance - Reference- [OpportunityLineItem].Product2.Needs_Insurance_c
Needs waiver - Reference -  [OpportunityLineItem].Product2.Needs_Waiver_c

4 - 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;
 
Below are Screenshots of my Process builder:

Complete Process Builder

User-added image
User-added image
User-added image
User-added image

I am not using second node and this works for me.

Hope this will help :)

Thanks,
Amit Singh
 
Shyam NairShyam Nair
I am unable to pass this challenge. Really need help here.
Amit Singh 1Amit Singh 1
Hi Shyam,

Refer my comment above. I passed this challenge 3 days ago.

Cheers :)

Thanks,
AMit 
Shyam NairShyam Nair
Hi Amit,

I checked your comments. But your solution is not matching with the screenshots. You mentioned you have not used 2nd node, but the screenshot clearly shows a 2nd node. Please check and let me know. 

Regards,
Shyam Nair
Amit Singh 1Amit Singh 1
Hi Shyam,

The second note is for nothing (I created earlier but was not working then I did all thing in First Node). Just add create a record for Task and Schedule Functionality in First Node.
 
This will do the trick.
Thanks,
Amit Singh
Shyam NairShyam Nair
Finally I cleared the challenge. Thanks Amit for your help.
Just a small update, for those who created Fulfillment object long ago, rename the Package__c field to Opportunity__c. Thanks.
Manish Mahajan 9Manish Mahajan 9
Getting below error on challenge #4.. Kindly suggest
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, The record couldn’t be saved because it failed to trigger a flow. A flow trigger failed to execute the flow with version ID 3016F000000U8Oq. Flow error messages: An unhandled fault has occurred in this flow
An unhandled fault has occurred while processing the flow. Please contact your system administrator for more information. Contact your administrator for help.:  
Adelchi PelizzoAdelchi Pelizzo
I only see two choices to start a process:
When A record Changes
It's invoked by another process

Where is The coice to start the process on record creation?
Asmita BishtAsmita Bisht
I am stumped at challenge 4 lightening superbadge tried everything but nothing works :( any suggestions ...
Roger GriloRoger Grilo
@Asmita: did you try the approach I posted above? (December 27, 2016)
Asmita BishtAsmita Bisht
@Roger Grilo Thanks but I tried one loop and it worked fine after I changed my org  thanks again :)
 
Ram SRam S
Hi Amit,

I have followed all the steps given by you to complete challenge #4, but still getting 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.
"

help me out on this. the code which you told to execute in console, should we use Anonymous window?
Harm de Graaf 22Harm de Graaf 22
Hi,

Actually you don't need the second node to pass this challenge. I think this challenge has been changed somewhere along the road. You should be able to solve this challenge by removing the second node and putting the task in the immediate actions of the first node. So you got 4 immediate actions:
  1. Creation of the fulfillment record (you should know how to do this by now)
  2. Update of the opportunity line item: Fulfillment Created = True
  3. Update of the related opportunity:
    1. Needs Insurance = [OpportunityLineItem].Product2.Needs_Insurance__c
    2. Needs Waiver = [OpportunityLineItem].Product2.Needs_Waiver__c
  4. Create task and don't forget to set the Related To ID
Last but not least, create the Post to Chatter as a time dependent action and you should be able to finish this challenge.

This worked for me, so please let me know if this works for you guys.

Greetings,
Harm
Francois ChemaliFrancois Chemali
Thanks to Amit i had this problem : 
"If Needs Insurance and Needs waiver fields are downloaded as Formula then, rename these and create two new checkbox fields with the same name"

After that i was able to use them into my Two Records Updates form Opportunity and OpportunityLineItem.

Thanks
 
Priya SPriya S
@Darrell
THANK YOU!! The criteria was set to True instead of False in Node 2 evaluation. I passed challenge # 4 now
krisney Lugokrisney Lugo
Hi there,

I'm still stuck on this step...

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 fulfillment was created with all of the proper field value specified in the requirements.


This is What I did...

---------------------------------------------------------------------------------------------------------------------------------------
Process Automation
Create the following three automation procedures for the sales and fulfillment teams.
Create a process named Fulfillment Creation to automatically create a fulfillment record in Salesforce whenever an adventure package is created.
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, you create a new fulfillment record, and automatically populate several fields from the opportunity, adventure, and adventure package data.

Object: Adventure Package

Criteria:
  • Conditions are met
[OpportunityLineItem].Opportunity.StageName > not equal > cancelled
[OpportunityLineItem].Fulfillment_created_ _c > equal > False

Inmediate Action: Create a Record
Type: Fulfillment

Note: All are "Reference" except for:
Fulfillment Name which is a "Formula"
Status is a "Picklist"


AdventurePackageId = [OpportunityLineItem].Id
Adventure Package cost = [OpportunityLineItem].TotalPrice 
Adventure =  [OpportunityLineItem].Product2Id
Expedition Leader = [OpportunityLineItem].Product2.Expedition_Leader_c
Explorer = [OpportunityLineItem].Explorer_C
Fulfillment Name = [OpportunityLineItem].Product2.Name + [OpportunityLineItem].Id
Schedule Date = [OpportunityLineItem].ServiceDate
Status = New 
Opportunity = [OpportunityLineItem].OpportunityId
---------------------------------------------------------------------------------------------------------------------------
 
Update the Adventure Package Fulfillment Creation field to true.
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.


Inmediate Action: Update Record
Record: [OpportunityLineItem].OpportunityID
No criteria - just update!

Needs Insurance = [OpportunityLineItem].Product2.Needs_Insurance_ _c
Needs Waver = [OpportunityLineItem].Product2.Needs_Waver_ _c
_________________________________________________
Inmediate Action: Update Record
Record: [OpportunityLineItem]
No criteria - just update!

Fulfillment Created = True

---------------------------------------------------------------------------------------------------------------------------
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.

Inmediate Action: Create a Record
Type: Task

Assigned to ID = [OpportunityLineItem].Opportunity.Owner.Id
Priority = Normal
Status = Not Started
Related to ID = [OpportunityLineItem].Opportunity.Id

---------------------------------------------------------------------------------------------------------------------------
As an extra precaution, you decide to create one more future action to remind reps to check the adventure package and fulfillment records.
Schedule a chatter post for the opportunity owner for 14 days from today.
Include the Adventure Name, Opportunity Name, and Adventure Package Id in the post.

Set time: 14 Days from now
Action: Post to Chatter
Post to: User / Select user from record / [OpportunityLineItem].Opportunity.Owner.Id

Message:
{![OpportunityLineItem].Opportunity.Name}
{![OpportunityLineItem].Product2.Name}
{![OpportunityLineItem].Id}

END!


I really appreciate your help to identify any mistake on the process.
Thanks
Angeles Meneses AvilézAngeles Meneses Aviléz
Hey... I've been trying to complete this challenge numer 4, but I can do the 3th step... I don't see how to make the "needs insurance" and "needs waiver" appear to match them as all you do it....
User-added image
User-added image
Angeles Meneses AvilézAngeles Meneses Aviléz
I forgot to say I've already create the 2 check box fields named them as "needs insurance" & "needs waiver" and rename the ones downloaded...
Crystal ZhuCrystal Zhu
Hi Team, I have tried different approaches to pass challenge 4, but have no luck. I wonder if the requirements were changed but they have not been updated in the instruction. BTW, is Upgrade LEX Superbadge Package visible in Installed Package? Many thanks for the advice! 
Crystal ZhuCrystal Zhu
Finally I passed challenge 4. Actually you don't need the second node to pass this challenge. 
Donald Rivard.ax1922Donald Rivard.ax1922
How does one actually pass challenge 4? I have spent 2 days with no luck. Created muiltple playgrounds and DE Orgs.
I have checked everything, written apex code to test. And still the same 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 fulfillment was created with all of the proper field value specified in the requirements.

The Fulfillment data is 100% correct. 

Does anybody have any ideas? Are there still people stuck on this one? 
Daniel DarugnaDaniel Darugna
The only way to solve challenge #4 is what @Joel Ramos sair. Move All the logic to one node.

Copied so many solutions and the only one wich passed was that one.

User-added image
Katie DaleKatie Dale
I was having issues for hours.. I was getting the error: "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 knew it had been setup correctly but was still getting the error so I deleted all inactive versions of the process, created some test data in Salesforce Classic and then checked the challenge again and it finally worked!
Anja BotićAnja Botić
I am stuck on challenge 4 for 2 days. Can anybody who recently completed the challenge have a look at this:

Object: Adventure Package
  • Only when the record is created
Criteria Name: Criteria
 
Criteria for Executing Actions*  Conditions are met
a) [OpportunityLineItem].Opportunity.StageName does not equal Cancelled
b) [OpportunityLineItem].Fulfillment_State__c does not equal Created
c)  [OpportunityLineItem].Explorer__c Is null False 
Conditions* All of the conditions are met (AND)
 
IMMEDIATE ACTIONS

1.
Update records

Action name: Update Adventure Package
Record* [OpportunityLineItem]
 
Criteria for Updating Records*
No criteria—just update the records!
Set new field values for the records you update
  1. Fulfillment Created Boolean True
  2. Fullmiment State Picklist Created
 
2. Update Records

Action Name* Insurance and Waiver update
Record* [OpportunityLineItem].Opportunity ID
 
Criteria for Updating Records*
No criteria—just update the records!
 
Set new field values for the records you update:
  1. Needs Insurance   [OpportunityLineItem].Product2.Needs_Insurance__c
  2. Needs Waiver  [OpportunityLineItem].Product2.Needs_Waiver__c
 
3. Create a Record

Action Name* Task
Record Type*Task
Set Field Values
  1. Assigned To ID [OpportunityLineItem].Opportunity.OwnerId
  2. Priority Normal
  3. Status Not Started
  4. Subject Get on this!
 
4. Create a Record 

Action Name*  Fulfillment Creation
Record Type* Fulfillment
 
  1. AdventurePackageId  [OpportunityLineItem].Id
  2. Adventure Package Cost  [OpportunityLineItem].TotalPrice
  3. Adventure [OpportunityLineItem].Product2.Id
  4. Expedition Leader  [OpportunityLineItem].Product2.Expedition_Leader__c
  5. Explorer  [OpportunityLineItem].Explorer__c
  6. Fulfillment Name   [OpportunityLineItem].Name + [OpportunityLineItem].Product2.Id
  7. Opportunity  [OpportunityLineItem].OpportunityId
  8. Schedule Date  [OpportunityLineItem].ServiceDate
  9. Status New
SCHEDULED ACTIONS
14 Days from now
 
Post to Chatter
Action Name* Chatter Reminder
Post to* User* [OpportunityLineItem].Opportunity.Owner.Id
 
Message*
{![OpportunityLineItem].Opportunity.Name}
{![OpportunityLineItem].Product2.Name}
{![OpportunityLineItem].Id}
 
User-added image
 
sai tharunsai tharun
Hi Guys,

I am stuck in challenge 4 I have selected Adventure Package as object and in the NODE 1 I am not getting Opportunity stage field to add as creteria. Please help me.

Thanks,
 Sai Tharun
Anja BotićAnja Botić

@sai tharun Does this help:
User-added image
sai tharunsai tharun
Yes Anja Thanks I have completed the task 4 
Anja BotićAnja Botić
@sai tharun

Great! Could you post your solution please or have a look at one of my failed tries written a few comments above? I haven't passed the 4th challenge yet.
sai tharunsai tharun
@Anja I have followed the steps given by farouk fakunle share me your screen shot I will help you to finish it.
Anja BotićAnja Botić
I used to have 2 nodes but it didn't work. Based on other people's suggestions I've changed it to one node, and still fail. Here are the screenshots:
User-added image
User-added image
User-added image
User-added image
User-added image

Or this copied from above: 
Object: Adventure Package
Only when the record is created
Criteria Name: Criteria
 
Criteria for Executing Actions*  Conditions are met
a) [OpportunityLineItem].Opportunity.StageName does not equal Cancelled
b) [OpportunityLineItem].Fulfillment_State__c does not equal Created
c)  [OpportunityLineItem].Explorer__c Is null False 
Conditions* All of the conditions are met (AND)
 
IMMEDIATE ACTIONS

1.Update records

Action name: Update Adventure Package
Record* [OpportunityLineItem]
 
Criteria for Updating Records*
No criteria—just update the records!
Set new field values for the records you update
Fulfillment Created Boolean True
Fullmiment State Picklist Created
 
2. Update Records

Action Name* Insurance and Waiver update
Record* [OpportunityLineItem].Opportunity ID
 
Criteria for Updating Records*
No criteria—just update the records!
 
Set new field values for the records you update:
Needs Insurance   [OpportunityLineItem].Product2.Needs_Insurance__c
Needs Waiver  [OpportunityLineItem].Product2.Needs_Waiver__c
 
3. Create a Record

Action Name* Task
Record Type*Task
Set Field Values
Assigned To ID [OpportunityLineItem].Opportunity.OwnerId
Priority Normal
Status Not Started
Subject Get on this!
 
4. Create a Record 

Action Name*  Fulfillment Creation
Record Type* Fulfillment
 
AdventurePackageId  [OpportunityLineItem].Id
Adventure Package Cost  [OpportunityLineItem].TotalPrice
Adventure [OpportunityLineItem].Product2.Id
Expedition Leader  [OpportunityLineItem].Product2.Expedition_Leader__c
Explorer  [OpportunityLineItem].Explorer__c
Fulfillment Name   [OpportunityLineItem].Name + [OpportunityLineItem].Product2.Id
Opportunity  [OpportunityLineItem].OpportunityId
Schedule Date  [OpportunityLineItem].ServiceDate
Status New
SCHEDULED ACTIONS
14 Days from now
 
Post to Chatter
Action Name* Chatter Reminder
Post to* User* [OpportunityLineItem].Opportunity.Owner.Id
 
Message*
{![OpportunityLineItem].Opportunity.Name}
{![OpportunityLineItem].Product2.Name}
{![OpportunityLineItem].Id}

All help appreciated. Thanx, Sai.
Anja BotićAnja Botić
Finally got it! My mistake was not activating "Evaluate next criteria"
Anja BotićAnja Botić
Could some please send the Opps with adventure and explorers csv file to me??
One that worked for them in Dataloader.io or Workbench.
All my conversions mess up the date field, hence I failed to import the data. Installing Jitterbit and Excel Connector failed, and I can't login to Apex Data Loader, so can someone please send a csv file that works with Dataloader.io or Workbench? 
 
Patrick McClellanPatrick McClellan
I'm stuck like everyone else seems to be... I've gone over my process again and again, matching the examples that passed; no luck. @Anja, can you be more specific about not activating "Evaluate next criteria"? I have everything in a single node, so I can't see anywhere to activate that. 

User-added image

Also, I would like to enter some test data, but I cannot figure out how to create a new Adventure Package. I can get to Adventures, Explorers, Opportunities, and Fulfillments, but I can't get a tab for Adventure Packages. Is that supposed to be showing up?

Thanks for any advice.
Anja BotićAnja Botić
@Patrick, one node did not work for me. Try 2 nodes like this:
User-added image
If you want to test the mechanism you don't need to create an Adventure Package. Instead create a new Opportunity and check if a fulfillment gets created for it. 
Patrick McClellanPatrick McClellan
I got it to pass, finally, using a single node. I found my mistake, which as caused by the confusing nested menus you have to navigate to select fields. 

I had used:
AdventurePackageId  [OpportunityLineItem].OpportunityId
when I needed to use:
AdventurePackageId  [OpportunityLineItem].Id.

And I made the same error in the formula for the name. Fixed those and it passed.

Thanks to all for your help and posts.
PrathishaPrathisha
Hi

Please help me on this. how to do these steps ?


And after that, run this script in your 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;

for creating test records.
Kevin_FleckKevin_Fleck
I can't figure out a way to create test data in an Adventure Package either? Can't find Adventure Package object anywhere besides setup
Kevin_FleckKevin_Fleck
Wooooww it worked, thank you @anja! My mistake was in the very first (and only) node I needed criteria of [OpportunityLineItem].Fulfillment_State__c - DOES NOT EQUAL - PICKLIST - CREATED. I originally had [OpportunityLineItem].Fulfillment_Created__c - DOES NOT EQUAL - TRUE (I also tried EQUALS FALSE)

Thanks for all the help and great posts guys, I am hoping to start my first (and hopefully only) Salesforce career in the next week and will need all the help I can get :)
Anja BotićAnja Botić
That is great, Kevin. Good luck!
May I ask how did you land your first SF job?
Kevin_FleckKevin_Fleck
Well I didn't officially land it yet *fingers crossed* but I have been getting very positive news from my contact at a CPQ-focused SF consulting firm and should hopefully know something in the very near future. It's been a very long ride thus far though, going on about two years of tryouts by to get hired. I'm hoping that by the grace of God this is finally my break.
Kevin_FleckKevin_Fleck
Trying to get hired***
Anja BotićAnja Botić
Good luck!!!
Clayton Thomas 6Clayton Thomas 6
While I was happy to learn because of reading this thread about the option to evaluate a second node in process builder, a second node is not necessary to pass step 4 in this challenge. 

User-added image
Kevin_FleckKevin_Fleck
I was able to get mine to work with just one node as well.
Mars Rover 697Mars Rover 697
hi, i am unable to find need waiver or need insurance in my record type of OpportunityLineItem..please help
User-added image
Abhay Shinde 7Abhay Shinde 7
Hi,
I am stuck at step #7 of Super badge Lightning Experience Specialist. Not clear on the requirement of Support process. Do we have to use the process builder or Object Specific Quick action. Can any one help me with the steps. 
Thanks in advance.
​Abhay
Kevin_FleckKevin_Fleck
I used process builder
Rosa PepeRosa Pepe
Hi all,

I'm stuck at step 6. This is my 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.QueryException: List has no rows for assignment to SObject

And this is the process:
START

OBJECT: Fulfillment
--> when a record is created or edited

CRITERIA NAME: Fulfillment is cancelled
--> Conditions are met

1. [Fulfillment__c].Status__c   equals   cancelled
2. [Fulfillment__c].Schedule_Date__c  Greater than  Formula  TODAY()
--> All of the conditions are met (AND)


IMMEDIATE ACTIONS
Name: update sales price
Record: [Fulfillment__c].Opportunity.OpportunityLineItems
--> Updated records meet all conditions

Filter:
1. Line Item ID   Equals   Formula   [Fulfillment__c].AdventurePackageId__c

Set new field values for the records you update:
Sales Price    Reference    [Fulfillment__c].Deposit__c


ADDITIONAL SETUP
Customize -> Opportunities -> Opportunity Products --> Fields

Action: Edit  "Explorer" (Explorer__c)
---> set "Required" to blank
---> set "What to do..." to 'Clear the value of this field'

Thanks for any advice.
Fabiano FernandesFabiano Fernandes
@Rosa Pepe, check if Start the process* [Object: Fulfillment] is this way:
[  ] only when a record is created
[x] when a record is created or edited
Rosa PepeRosa Pepe
@Fabiano Oliveira, Yes the process starts "when a record is created or edited".
Fabiano FernandesFabiano Fernandes
@Rosa assuming your Process is exactly as you reported, everything is looking right.
The name of the Process is "Fulfillment Cancellation Automation" ?
Could you provide some screenshots?
 
Rosa PepeRosa Pepe
Errorcriteriacriteria 2action
Fabiano FernandesFabiano Fernandes
CRITERIA NAME: Fulfillment is cancelled
--> Conditions are met

1. [Fulfillment__c].Status__c   equals   cancelled
2. [Fulfillment__c].Schedule_Date__c  Greater than  Formula  TODAY()
--> All of the conditions are met (AND)
Rosa PepeRosa Pepe
Same error.:
User-added imageUser-added image
Amit Singh 1Amit Singh 1
I believe that you need to use Opportunity Close Date For Fulfillment Schedule Date

1. [Fulfillment__c].Status__c   equals   cancelled
2. [Fulfillment__c].Schedule_Date__c  Greater than  Reference  [Fulfillment__c].Opportunity__r.CloseDate
--> All of the conditions are met (AND)
User-added image

Give it a Try.

Amit Singh,
GIRIKON LLC
https://sfdcpanther.wordpress.com (https://sfdcpanther.wordpress.com" target="_blank)
Rosa PepeRosa Pepe
Same error....really frustrating!
User-added imageUser-added image
Amit Singh 1Amit Singh 1
Have you tested the process builder
Fabiano FernandesFabiano Fernandes
We need to check all, so please don't mind these basic questions...

Do you still have the 3 processes Active ? Are the objects as follows?

User-added image

Are you validating the right org?

User-added image
Rosa PepeRosa Pepe
Yes 3 processes Active. I'm using TP 10, it is the right org....
User-added image
Fabiano FernandesFabiano Fernandes
Do this checklist carefully once more:

User-added image
User-added image
User-added image
User-added image
Rosa PepeRosa Pepe
My process is the same.
This is the log:
My process is the same

34.0 APEX_CODE,FINEST;APEX_PROFILING,INFO;CALLOUT,INFO;DB,INFO;SYSTEM,DEBUG;VALIDATION,INFO;VISUALFORCE,INFO;WAVE,INFO;WORKFLOW,INFO
Execute Anonymous: Contact sam = new Contact(firstname='Sam', lastname='the ninja');
Execute Anonymous: insert sam;
Execute Anonymous: Opportunity opp = new Opportunity(name='Make Kite to Fly', stagename='New', closedate=date.today());
Execute Anonymous: insert opp;
Execute Anonymous: // insert product
Execute Anonymous: Product2 product = new Product2(name='Butterfly Net', isActive=true);
Execute Anonymous: insert product;
Execute Anonymous: // insert the pricebookentry
Execute Anonymous: Pricebook2 stdPrice = [Select id from Pricebook2 where isStandard=true limit 1];
Execute Anonymous: PricebookEntry pbe = new PricebookEntry( IsActive = true, Product2Id = product.id, UnitPrice = 2.00, Pricebook2Id = stdPrice.Id);
Execute Anonymous: insert pbe;
Execute Anonymous: // create the opp line item
Execute Anonymous: OpportunityLineItem oli1 = new OpportunityLineItem(OpportunityId=opp.Id, UnitPrice=2, quantity=1,pricebookentryid=pbe.Id, servicedate = date.newInstance(2050, 1, 1), explorer__c = sam.id);
Execute Anonymous: OpportunityLineItem oli2 = new OpportunityLineItem(OpportunityId=opp.Id, UnitPrice=2, quantity=1,pricebookentryid=pbe.Id, servicedate = date.newInstance(2010, 1, 1), explorer__c = sam.id);
Execute Anonymous: insert oli1;
Execute Anonymous: insert oli2;
Execute Anonymous: // this will create a fulfillment record
Execute Anonymous: // find the fulfillment -- by AdventurePackageId__c which is the opp line item
Execute Anonymous: Fulfillment__c f1 = [select id, deposit__c from Fulfillment__c where AdventurePackageId__c = :oli1.Id];
Execute Anonymous: Fulfillment__c f2 = [select id, deposit__c from Fulfillment__c where AdventurePackageId__c = :oli2.Id];
Execute Anonymous: // update the fulfillment and set to cancelled
Execute Anonymous: f1.Status__c = 'Cancelled';
Execute Anonymous: update f1;
Execute Anonymous: f2.Status__c = 'Cancelled';
Execute Anonymous: update f2;
Execute Anonymous: // get the fulfillment again to check the values
Execute Anonymous: oli1 = [select id, unitprice from OpportunityLineItem where Id = :oli1.Id];
Execute Anonymous: oli2 = [select id, unitprice from OpportunityLineItem where Id = :oli2.Id];
Execute Anonymous: // make sure the deposit matches the unit price
Execute Anonymous: System.assertEquals(f1.deposit__c, oli1.unitprice); // one way in the future
Execute Anonymous: System.assertNotEquals(f2.deposit__c, oli2.unitprice); // one way in the past
Execute Anonymous: // clean up
Execute Anonymous: delete opp;
Execute Anonymous: delete f1;
Execute Anonymous: delete f2;
Execute Anonymous: delete product;
Execute Anonymous: delete sam;
16:32:37.1 (1361064)|USER_INFO|[EXTERNAL]|0050Y000002frbH|rosa.pepe@resourceful-badger-98087.com|Central European Time|GMT+02:00
16:32:37.1 (1389442)|EXECUTION_STARTED
16:32:37.1 (1394128)|CODE_UNIT_STARTED|[EXTERNAL]|execute_anonymous_apex
16:32:37.1 (1575601)|VARIABLE_SCOPE_BEGIN|[19]|f1|Fulfillment__c|true|false
16:32:37.1 (1591724)|VARIABLE_SCOPE_BEGIN|[20]|f2|Fulfillment__c|true|false
16:32:37.1 (1621319)|VARIABLE_SCOPE_BEGIN|[13]|oli1|OpportunityLineItem|true|false
16:32:37.1 (1633032)|VARIABLE_SCOPE_BEGIN|[14]|oli2|OpportunityLineItem|true|false
16:32:37.1 (1656486)|VARIABLE_SCOPE_BEGIN|[3]|opp|Opportunity|true|false
16:32:37.1 (1681232)|VARIABLE_SCOPE_BEGIN|[10]|pbe|PricebookEntry|true|false
16:32:37.1 (1704632)|VARIABLE_SCOPE_BEGIN|[6]|product|Product2|true|false
16:32:37.1 (1733025)|VARIABLE_SCOPE_BEGIN|[1]|sam|Contact|true|false
16:32:37.1 (1756612)|VARIABLE_SCOPE_BEGIN|[9]|stdPrice|Pricebook2|true|false
16:32:37.1 (1899994)|HEAP_ALLOCATE|[72]|Bytes:3
16:32:37.1 (1936821)|HEAP_ALLOCATE|[77]|Bytes:152
16:32:37.1 (1955831)|HEAP_ALLOCATE|[342]|Bytes:408
16:32:37.1 (1979741)|HEAP_ALLOCATE|[355]|Bytes:408
16:32:37.1 (2002897)|HEAP_ALLOCATE|[467]|Bytes:48
16:32:37.1 (2035681)|HEAP_ALLOCATE|[139]|Bytes:6
16:32:37.1 (2066966)|HEAP_ALLOCATE|[EXTERNAL]|Bytes:76
16:32:37.1 (2442388)|STATEMENT_EXECUTE|[1]
16:32:37.1 (2446044)|STATEMENT_EXECUTE|[1]
16:32:37.1 (2465290)|HEAP_ALLOCATE|[1]|Bytes:4
16:32:37.1 (2563833)|HEAP_ALLOCATE|[1]|Bytes:3
16:32:37.1 (2628629)|VARIABLE_ASSIGNMENT|[1]|this.FirstName|"Sam"|0x24fb3378
16:32:37.1 (2639452)|HEAP_ALLOCATE|[1]|Bytes:9
16:32:37.1 (2661099)|VARIABLE_ASSIGNMENT|[1]|this.LastName|"the ninja"|0x24fb3378
16:32:37.1 (2712314)|VARIABLE_ASSIGNMENT|[1]|sam|{"FirstName":"Sam","LastName":"the ninja"}|0x24fb3378
16:32:37.1 (2721315)|STATEMENT_EXECUTE|[2]
16:32:37.1 (2771021)|HEAP_ALLOCATE|[50]|Bytes:5
16:32:37.1 (2796821)|HEAP_ALLOCATE|[56]|Bytes:5
16:32:37.1 (2807129)|HEAP_ALLOCATE|[64]|Bytes:7
16:32:37.1 (2848121)|HEAP_ALLOCATE|[2]|Bytes:8
16:32:37.1 (2858168)|DML_BEGIN|[2]|Op:Insert|Type:Contact|Rows:1
16:32:37.1 (2893578)|HEAP_ALLOCATE|[EXTERNAL]|Bytes:8
16:32:37.1 (45912972)|DML_END|[2]
16:32:37.1 (45946579)|STATEMENT_EXECUTE|[3]
16:32:37.1 (45969466)|HEAP_ALLOCATE|[3]|Bytes:4
16:32:37.1 (46096292)|HEAP_ALLOCATE|[3]|Bytes:16
16:32:37.1 (46150111)|VARIABLE_ASSIGNMENT|[3]|this.Name|"Make Kite to Fly"|0x61b3f024
16:32:37.1 (46161537)|HEAP_ALLOCATE|[3]|Bytes:3
16:32:37.1 (46187402)|VARIABLE_ASSIGNMENT|[3]|this.StageName|"New"|0x61b3f024
16:32:37.1 (46280960)|HEAP_ALLOCATE|[3]|Bytes:4
16:32:37.1 (46331889)|VARIABLE_ASSIGNMENT|[3]|this.CloseDate|"2017-09-20T00:00:00.000Z"|0x61b3f024
16:32:37.1 (46401378)|VARIABLE_ASSIGNMENT|[3]|opp|{"Name":"Make Kite to Fly","StageName":"New","CloseDate":"2017-09-20T00:00:00.000Z"}|0x61b3f024
16:32:37.1 (46411550)|STATEMENT_EXECUTE|[4]
16:32:37.1 (46434457)|HEAP_ALLOCATE|[4]|Bytes:8
16:32:37.1 (46442340)|DML_BEGIN|[4]|Op:Insert|Type:Opportunity|Rows:1
16:32:37.1 (46470711)|HEAP_ALLOCATE|[EXTERNAL]|Bytes:8
16:32:37.1 (59413578)|CODE_UNIT_STARTED|[EXTERNAL]|Validation:Opportunity:new
16:32:37.1 (59441664)|VALIDATION_RULE|03d0Y000000F2bk|Approved_Field_Validation
16:32:37.1 (66955442)|VALIDATION_FORMULA|AND( 
ISCHANGED(Approved__c), 
OR( 
$Profile.Name <> 'System Administrator', 
$Profile.Name <> 'Custom: Sales Profile' 

)|$Profile.Name=Amministratore del sistema , Approved__c=0
16:32:37.1 (66985147)|VALIDATION_PASS
16:32:37.1 (66988640)|VALIDATION_RULE|03d0Y000000F2bp|High_Value_Opportunity_Validation
16:32:37.1 (67198642)|VALIDATION_FORMULA|AND(
    
    IsClosed = TRUE,
    Amount  > 100000,
    Approved__c  <> TRUE
    )|Amount=null , IsClosed=0 , Approved__c=0
16:32:37.1 (67206343)|VALIDATION_PASS
16:32:37.1 (67249515)|CODE_UNIT_FINISHED|Validation:Opportunity:new
16:32:37.1 (96975819)|CODE_UNIT_STARTED|[EXTERNAL]|Workflow:Opportunity
16:32:37.1 (113544166)|WF_RULE_EVAL_BEGIN|Workflow
16:32:37.1 (113606958)|WF_CRITERIA_BEGIN|[Opportunity: Make Kite to Fly 0060Y00000AodDC]|Sales_Automation3010Y0000005O3C|01Q0Y000000Q42M|ON_ALL_CHANGES|0
16:32:37.1 (113739257)|WF_FORMULA|Formula:ENCODED:[treatNullAsNull]true|Values:
16:32:37.1 (113751512)|WF_CRITERIA_END|true
16:32:37.1 (123804470)|WF_SPOOL_ACTION_BEGIN|Workflow
16:32:37.1 (123857841)|WF_ACTION| Flow Trigger: 1;
16:32:37.1 (123862115)|WF_RULE_EVAL_END
16:32:37.1 (128202906)|WF_FLOW_ACTION_BEGIN|09L0Y000000ctUq
16:32:37.128 (128340603)|FLOW_CREATE_INTERVIEW_BEGIN|00D0Y000001YA53|3000Y000000D35q|3010Y0000005O3C
16:32:37.128 (131464221)|FLOW_CREATE_INTERVIEW_END|682543129a493228ecba2e72de6715e9f9dffb0-68c6|Sales Automation
16:32:37.131 (131810349)|FLOW_START_INTERVIEWS_BEGIN|1
16:32:37.131 (131851940)|FLOW_START_INTERVIEW_BEGIN|682543129a493228ecba2e72de6715e9f9dffb0-68c6|Sales Automation
16:32:37.131 (133498250)|FLOW_START_INTERVIEW_END|682543129a493228ecba2e72de6715e9f9dffb0-68c6|Sales Automation
16:32:37.131 (133510533)|FLOW_START_INTERVIEWS_END|1
16:32:37.1 (134707715)|WF_FLOW_ACTION_END|09L0Y000000ctUq
16:32:37.1 (134783994)|WF_ACTIONS_END| Flow Trigger: 1;
16:32:37.1 (134792550)|CODE_UNIT_FINISHED|Workflow:Opportunity
16:32:37.1 (136066533)|DML_END|[4]
16:32:37.1 (136086439)|STATEMENT_EXECUTE|[6]
16:32:37.1 (136106250)|HEAP_ALLOCATE|[6]|Bytes:4
16:32:37.1 (136203751)|HEAP_ALLOCATE|[6]|Bytes:13
16:32:37.1 (136245722)|VARIABLE_ASSIGNMENT|[6]|this.Name|"Butterfly Net"|0x6e0b68d3
16:32:37.1 (136269128)|VARIABLE_ASSIGNMENT|[6]|this.IsActive|true|0x6e0b68d3
16:32:37.1 (136323048)|VARIABLE_ASSIGNMENT|[6]|product|{"Name":"Butterfly Net","IsActive":true}|0x6e0b68d3
16:32:37.1 (136329000)|STATEMENT_EXECUTE|[7]
16:32:37.1 (136349041)|HEAP_ALLOCATE|[7]|Bytes:8
16:32:37.1 (136355874)|DML_BEGIN|[7]|Op:Insert|Type:Product2|Rows:1
16:32:37.1 (136376593)|HEAP_ALLOCATE|[EXTERNAL]|Bytes:8
16:32:37.1 (157399251)|DML_END|[7]
16:32:37.1 (157435911)|STATEMENT_EXECUTE|[9]
16:32:37.1 (157445323)|HEAP_ALLOCATE|[9]|Bytes:57
16:32:37.1 (157476523)|HEAP_ALLOCATE|[9]|Bytes:4
16:32:37.1 (157795564)|SOQL_EXECUTE_BEGIN|[9]|Aggregations:0|SELECT id FROM Pricebook2 WHERE isStandard = TRUE LIMIT 1
16:32:37.1 (160991304)|SOQL_EXECUTE_END|[9]|Rows:1
16:32:37.1 (161022584)|HEAP_ALLOCATE|[9]|Bytes:8
16:32:37.1 (161039650)|HEAP_ALLOCATE|[9]|Bytes:29
16:32:37.1 (161164686)|HEAP_ALLOCATE|[9]|Bytes:8
16:32:37.1 (161181363)|HEAP_ALLOCATE|[9]|Bytes:36
16:32:37.1 (161247678)|HEAP_ALLOCATE|[9]|Bytes:8
16:32:37.1 (161286853)|VARIABLE_ASSIGNMENT|[9]|stdPrice|{"Id":"01s0Y000007IrcfQAC"}|0x52cab7ea
16:32:37.1 (161294629)|STATEMENT_EXECUTE|[10]
16:32:37.1 (161305151)|HEAP_ALLOCATE|[10]|Bytes:4
16:32:37.1 (161423018)|VARIABLE_ASSIGNMENT|[10]|this.IsActive|true|0x680df74e
16:32:37.1 (161466003)|VARIABLE_ASSIGNMENT|[10]|this.Product2Id|"01t0Y000003N1zOQAS"|0x680df74e
16:32:37.1 (161476829)|HEAP_ALLOCATE|[10]|Bytes:4
16:32:37.1 (161519888)|HEAP_ALLOCATE|[10]|Bytes:28
16:32:37.1 (161545276)|VARIABLE_ASSIGNMENT|[10]|this.UnitPrice|2.00|0x680df74e
16:32:37.1 (161572575)|VARIABLE_ASSIGNMENT|[10]|this.Pricebook2Id|"01s0Y000007IrcfQAC"|0x680df74e
16:32:37.1 (161615281)|VARIABLE_ASSIGNMENT|[10]|pbe|{"IsActive":true,"Product2Id":"01t0Y000003N1zOQAS","UnitPrice":2.00,"Pricebook2Id":"01s0Y000007IrcfQAC"}|0x680df74e
16:32:37.1 (161621267)|STATEMENT_EXECUTE|[11]
16:32:37.1 (161643779)|HEAP_ALLOCATE|[11]|Bytes:8
16:32:37.1 (161651387)|DML_BEGIN|[11]|Op:Insert|Type:PricebookEntry|Rows:1
16:32:37.1 (161682871)|HEAP_ALLOCATE|[EXTERNAL]|Bytes:8
16:32:37.1 (177767217)|DML_END|[11]
16:32:37.1 (177801297)|STATEMENT_EXECUTE|[13]
16:32:37.1 (177825103)|HEAP_ALLOCATE|[13]|Bytes:4
16:32:37.1 (178002703)|VARIABLE_ASSIGNMENT|[13]|this.OpportunityId|"0060Y00000AodDCQAZ"|0x5b4c52f3
16:32:37.1 (178045357)|HEAP_ALLOCATE|[13]|Bytes:28
16:32:37.1 (178049998)|HEAP_ALLOCATE|[13]|Bytes:28
16:32:37.1 (178074347)|VARIABLE_ASSIGNMENT|[13]|this.UnitPrice|2|0x5b4c52f3
16:32:37.1 (178084697)|HEAP_ALLOCATE|[13]|Bytes:28
16:32:37.1 (178087763)|HEAP_ALLOCATE|[13]|Bytes:28
16:32:37.1 (178102133)|VARIABLE_ASSIGNMENT|[13]|this.Quantity|1|0x5b4c52f3
16:32:37.1 (178132691)|VARIABLE_ASSIGNMENT|[13]|this.PricebookEntryId|"01u0Y000006RKcDQAW"|0x5b4c52f3
16:32:37.1 (178209571)|HEAP_ALLOCATE|[13]|Bytes:4
16:32:37.1 (178253600)|VARIABLE_ASSIGNMENT|[13]|this.ServiceDate|"2050-01-01T00:00:00.000Z"|0x5b4c52f3
16:32:37.1 (178350563)|VARIABLE_ASSIGNMENT|[13]|this.Explorer__c|"0030Y00000bopBrQAI"|0x5b4c52f3
16:32:37.1 (178414936)|VARIABLE_ASSIGNMENT|[13]|oli1|{"OpportunityId":"0060Y00000AodDCQAZ","UnitPrice":2,"Quantity":1,"PricebookEntryId":"01u0Y000006RKcDQAW","ServiceDate":"2050-01-01T00:00:00.000Z","Explorer__c":"0030Y00000bopBrQAI"}|0x5b4c52f3
16:32:37.1 (178422722)|STATEMENT_EXECUTE|[14]
16:32:37.1 (178429883)|HEAP_ALLOCATE|[14]|Bytes:4
16:32:37.1 (178454953)|VARIABLE_ASSIGNMENT|[14]|this.OpportunityId|"0060Y00000AodDCQAZ"|0x354281bd
16:32:37.1 (178467166)|HEAP_ALLOCATE|[14]|Bytes:28
16:32:37.1 (178470566)|HEAP_ALLOCATE|[14]|Bytes:28
16:32:37.1 (178483645)|VARIABLE_ASSIGNMENT|[14]|this.UnitPrice|2|0x354281bd
16:32:37.1 (178491368)|HEAP_ALLOCATE|[14]|Bytes:28
16:32:37.1 (178494011)|HEAP_ALLOCATE|[14]|Bytes:28
16:32:37.1 (178508216)|VARIABLE_ASSIGNMENT|[14]|this.Quantity|1|0x354281bd
16:32:37.1 (178527400)|VARIABLE_ASSIGNMENT|[14]|this.PricebookEntryId|"01u0Y000006RKcDQAW"|0x354281bd
16:32:37.1 (178562643)|HEAP_ALLOCATE|[14]|Bytes:4
16:32:37.1 (178587890)|VARIABLE_ASSIGNMENT|[14]|this.ServiceDate|"2010-01-01T00:00:00.000Z"|0x354281bd
16:32:37.1 (178610965)|VARIABLE_ASSIGNMENT|[14]|this.Explorer__c|"0030Y00000bopBrQAI"|0x354281bd
16:32:37.1 (178639282)|VARIABLE_ASSIGNMENT|[14]|oli2|{"OpportunityId":"0060Y00000AodDCQAZ","UnitPrice":2,"Quantity":1,"PricebookEntryId":"01u0Y000006RKcDQAW","ServiceDate":"2010-01-01T00:00:00.000Z","Explorer__c":"0030Y00000bopBrQAI"}|0x354281bd
16:32:37.1 (178646249)|STATEMENT_EXECUTE|[15]
16:32:37.1 (178665729)|HEAP_ALLOCATE|[15]|Bytes:8
16:32:37.1 (178672465)|DML_BEGIN|[15]|Op:Insert|Type:OpportunityLineItem|Rows:1
16:32:37.1 (178705539)|HEAP_ALLOCATE|[EXTERNAL]|Bytes:8
16:32:37.1 (219335009)|CODE_UNIT_STARTED|[EXTERNAL]|Workflow:OpportunityLineItem
16:32:37.1 (238438034)|WF_RULE_EVAL_BEGIN|Workflow
16:32:37.1 (238473564)|WF_CRITERIA_BEGIN|[Adventure Package:  00k0Y00000MAfZd]|Fulfillment_Creation3010Y0000005O2I|01Q0Y000000Q42q|ON_CREATE_ONLY|0
16:32:37.1 (238583592)|WF_FORMULA|Formula:ENCODED:[treatNullAsNull]true|Values:
16:32:37.1 (238590669)|WF_CRITERIA_END|true
16:32:37.1 (247830975)|WF_SPOOL_ACTION_BEGIN|Workflow
16:32:37.1 (247924846)|WF_ACTION| Flow Trigger: 1;
16:32:37.1 (247932126)|WF_RULE_EVAL_END
16:32:37.1 (247968478)|WF_FLOW_ACTION_BEGIN|09L0Y000000ctVK
16:32:37.248 (248067035)|FLOW_CREATE_INTERVIEW_BEGIN|00D0Y000001YA53|3000Y0000004iaB|3010Y0000005O2I
16:32:37.248 (251957630)|FLOW_CREATE_INTERVIEW_END|682643129a493228ecba2e72de6715e9f9dffb0-68c7|Fulfillment Creation
16:32:37.252 (252413773)|FLOW_START_INTERVIEWS_BEGIN|1
16:32:37.252 (252440374)|FLOW_START_INTERVIEW_BEGIN|682643129a493228ecba2e72de6715e9f9dffb0-68c7|Fulfillment Creation
16:32:37.252 (255587455)|FLOW_START_INTERVIEW_END|682643129a493228ecba2e72de6715e9f9dffb0-68c7|Fulfillment Creation
16:32:37.252 (255606325)|FLOW_START_INTERVIEWS_END|1
16:32:37.1 (256344087)|WF_FLOW_ACTION_END|09L0Y000000ctVK
16:32:37.1 (256379436)|WF_TIME_TRIGGERS_BEGIN
16:32:37.1 (274036287)|WF_ACTIONS_END| Flow Trigger: 1;
16:32:37.1 (274059803)|CODE_UNIT_FINISHED|Workflow:OpportunityLineItem
16:32:37.1 (281180737)|CODE_UNIT_STARTED|[EXTERNAL]|Validation:Opportunity:0060Y00000AodDC
16:32:37.1 (281203369)|VALIDATION_RULE|03d0Y000000F2bk|Approved_Field_Validation
16:32:37.1 (281489273)|VALIDATION_FORMULA|AND( 
ISCHANGED(Approved__c), 
OR( 
$Profile.Name <> 'System Administrator', 
$Profile.Name <> 'Custom: Sales Profile' 

)|$Profile.Name=Amministratore del sistema , Approved__c=0
16:32:37.1 (281499675)|VALIDATION_PASS
16:32:37.1 (281501586)|VALIDATION_RULE|03d0Y000000F2bp|High_Value_Opportunity_Validation
16:32:37.1 (281618705)|VALIDATION_FORMULA|AND(
    
    IsClosed = TRUE,
    Amount  > 100000,
    Approved__c  <> TRUE
    )|Amount=2 , IsClosed=0 , Approved__c=0
16:32:37.1 (281625630)|VALIDATION_PASS
16:32:37.1 (281677312)|CODE_UNIT_FINISHED|Validation:Opportunity:0060Y00000AodDC
16:32:37.1 (304030905)|CODE_UNIT_STARTED|[EXTERNAL]|Workflow:Opportunity
16:32:37.1 (312029237)|WF_RULE_EVAL_BEGIN|Workflow
16:32:37.1 (312067136)|WF_CRITERIA_BEGIN|[Opportunity: Make Kite to Fly 0060Y00000AodDC]|Sales_Automation3010Y0000005O3C|01Q0Y000000Q42M|ON_ALL_CHANGES|0
16:32:37.1 (312107050)|WF_FORMULA|Formula:ENCODED:[treatNullAsNull]true|Values:
16:32:37.1 (312113386)|WF_CRITERIA_END|true
16:32:37.1 (312130698)|WF_SPOOL_ACTION_BEGIN|Workflow
16:32:37.1 (312151325)|WF_ACTION| Flow Trigger: 1;
16:32:37.1 (312154960)|WF_RULE_EVAL_END
16:32:37.1 (312177347)|WF_FLOW_ACTION_BEGIN|09L0Y000000ctUq
16:32:37.312 (312243722)|FLOW_CREATE_INTERVIEW_BEGIN|00D0Y000001YA53|3000Y000000D35q|3010Y0000005O3C
16:32:37.312 (312295909)|FLOW_CREATE_INTERVIEW_END|682743129a493228ecba2e72de6715e9f9dffb0-68c8|Sales Automation
16:32:37.312 (312595077)|FLOW_START_INTERVIEWS_BEGIN|1
16:32:37.312 (312619584)|FLOW_START_INTERVIEW_BEGIN|682743129a493228ecba2e72de6715e9f9dffb0-68c8|Sales Automation
16:32:37.312 (313930693)|FLOW_START_INTERVIEW_END|682743129a493228ecba2e72de6715e9f9dffb0-68c8|Sales Automation
16:32:37.312 (313948816)|FLOW_START_INTERVIEWS_END|1
16:32:37.1 (314858672)|WF_FLOW_ACTION_END|09L0Y000000ctUq
16:32:37.1 (314951188)|WF_ACTIONS_END| Flow Trigger: 1;
16:32:37.1 (314959592)|CODE_UNIT_FINISHED|Workflow:Opportunity
16:32:37.1 (315634641)|DML_END|[15]
16:32:37.1 (315665358)|STATEMENT_EXECUTE|[16]
16:32:37.1 (315706196)|HEAP_ALLOCATE|[16]|Bytes:8
16:32:37.1 (315716848)|DML_BEGIN|[16]|Op:Insert|Type:OpportunityLineItem|Rows:1
16:32:37.1 (315750490)|HEAP_ALLOCATE|[EXTERNAL]|Bytes:8
16:32:37.1 (334900342)|CODE_UNIT_STARTED|[EXTERNAL]|Workflow:OpportunityLineItem
16:32:37.1 (345287429)|WF_RULE_EVAL_BEGIN|Workflow
16:32:37.1 (345316980)|WF_CRITERIA_BEGIN|[Adventure Package:  00k0Y00000MAfZe]|Fulfillment_Creation3010Y0000005O2I|01Q0Y000000Q42q|ON_CREATE_ONLY|0
16:32:37.1 (345360347)|WF_FORMULA|Formula:ENCODED:[treatNullAsNull]true|Values:
16:32:37.1 (345366882)|WF_CRITERIA_END|true
16:32:37.1 (345384832)|WF_SPOOL_ACTION_BEGIN|Workflow
16:32:37.1 (345406163)|WF_ACTION| Flow Trigger: 1;
16:32:37.1 (345409971)|WF_RULE_EVAL_END
16:32:37.1 (345433129)|WF_FLOW_ACTION_BEGIN|09L0Y000000ctVK
16:32:37.345 (345496467)|FLOW_CREATE_INTERVIEW_BEGIN|00D0Y000001YA53|3000Y0000004iaB|3010Y0000005O2I
16:32:37.345 (345547857)|FLOW_CREATE_INTERVIEW_END|682843129a493228ecba2e72de6715e9f9dffb0-68c9|Fulfillment Creation
16:32:37.345 (345835991)|FLOW_START_INTERVIEWS_BEGIN|1
16:32:37.345 (345852579)|FLOW_START_INTERVIEW_BEGIN|682843129a493228ecba2e72de6715e9f9dffb0-68c9|Fulfillment Creation
16:32:37.345 (347989741)|FLOW_START_INTERVIEW_END|682843129a493228ecba2e72de6715e9f9dffb0-68c9|Fulfillment Creation
16:32:37.345 (348004018)|FLOW_START_INTERVIEWS_END|1
16:32:37.1 (348670517)|WF_FLOW_ACTION_END|09L0Y000000ctVK
16:32:37.1 (348698059)|WF_TIME_TRIGGERS_BEGIN
16:32:37.1 (351760773)|WF_ACTIONS_END| Flow Trigger: 1;
16:32:37.1 (351779199)|CODE_UNIT_FINISHED|Workflow:OpportunityLineItem
16:32:37.1 (359154051)|CODE_UNIT_STARTED|[EXTERNAL]|Validation:Opportunity:0060Y00000AodDC
16:32:37.1 (359180729)|VALIDATION_RULE|03d0Y000000F2bk|Approved_Field_Validation
16:32:37.1 (359511049)|VALIDATION_FORMULA|AND( 
ISCHANGED(Approved__c), 
OR( 
$Profile.Name <> 'System Administrator', 
$Profile.Name <> 'Custom: Sales Profile' 

)|$Profile.Name=Amministratore del sistema , Approved__c=0
16:32:37.1 (359526816)|VALIDATION_PASS
16:32:37.1 (359529371)|VALIDATION_RULE|03d0Y000000F2bp|High_Value_Opportunity_Validation
16:32:37.1 (359677775)|VALIDATION_FORMULA|AND(
    
    IsClosed = TRUE,
    Amount  > 100000,
    Approved__c  <> TRUE
    )|Amount=4 , IsClosed=0 , Approved__c=0
16:32:37.1 (359687523)|VALIDATION_PASS
16:32:37.1 (359733226)|CODE_UNIT_FINISHED|Validation:Opportunity:0060Y00000AodDC
16:32:37.1 (373829446)|CODE_UNIT_STARTED|[EXTERNAL]|Workflow:Opportunity
16:32:37.1 (379365215)|WF_RULE_EVAL_BEGIN|Workflow
16:32:37.1 (379397648)|WF_CRITERIA_BEGIN|[Opportunity: Make Kite to Fly 0060Y00000AodDC]|Sales_Automation3010Y0000005O3C|01Q0Y000000Q42M|ON_ALL_CHANGES|0
16:32:37.1 (379437534)|WF_FORMULA|Formula:ENCODED:[treatNullAsNull]true|Values:
16:32:37.1 (379443410)|WF_CRITERIA_END|true
16:32:37.1 (379459676)|WF_SPOOL_ACTION_BEGIN|Workflow
16:32:37.1 (379478056)|WF_ACTION| Flow Trigger: 1;
16:32:37.1 (379481596)|WF_RULE_EVAL_END
16:32:37.1 (379505605)|WF_FLOW_ACTION_BEGIN|09L0Y000000ctUq
16:32:37.379 (379566666)|FLOW_CREATE_INTERVIEW_BEGIN|00D0Y000001YA53|3000Y000000D35q|3010Y0000005O3C
16:32:37.379 (379615913)|FLOW_CREATE_INTERVIEW_END|682943129a493228ecba2e72de6715e9f9dffb0-68ca|Sales Automation
16:32:37.635 (635138813)|FLOW_START_INTERVIEWS_BEGIN|1
16:32:37.635 (635176755)|FLOW_START_INTERVIEW_BEGIN|682943129a493228ecba2e72de6715e9f9dffb0-68ca|Sales Automation
16:32:37.635 (636249182)|FLOW_START_INTERVIEW_END|682943129a493228ecba2e72de6715e9f9dffb0-68ca|Sales Automation
16:32:37.635 (636264627)|FLOW_START_INTERVIEWS_END|1
16:32:37.1 (637106756)|WF_FLOW_ACTION_END|09L0Y000000ctUq
16:32:37.1 (637222251)|WF_ACTIONS_END| Flow Trigger: 1;
16:32:37.1 (637234729)|CODE_UNIT_FINISHED|Workflow:Opportunity
16:32:37.1 (638183513)|DML_END|[16]
16:32:37.1 (638418602)|STATEMENT_EXECUTE|[19]
16:32:37.1 (638430840)|HEAP_ALLOCATE|[19]|Bytes:80
16:32:37.1 (638514233)|HEAP_ALLOCATE|[19]|Bytes:4
16:32:37.1 (638536933)|HEAP_ALLOCATE|[19]|Bytes:7
16:32:37.1 (639192322)|SOQL_EXECUTE_BEGIN|[19]|Aggregations:0|SELECT id, deposit__c FROM Fulfillment__c WHERE AdventurePackageId__c = :tmpVar1
16:32:37.1 (647647385)|SOQL_EXECUTE_END|[19]|Rows:0
16:32:37.1 (647703970)|HEAP_ALLOCATE|[19]|Bytes:4
16:32:37.1 (647724335)|HEAP_ALLOCATE|[19]|Bytes:0
16:32:37.1 (647952331)|HEAP_ALLOCATE|[19]|Bytes:4
16:32:37.1 (647981168)|HEAP_ALLOCATE|[19]|Bytes:40
16:32:37.1 (648148541)|HEAP_ALLOCATE|[19]|Bytes:46
16:32:37.1 (648314950)|FATAL_ERROR|System.QueryException: List has no rows for assignment to SObject

AnonymousBlock: line 19, column 1
16:32:37.648 (648381821)|CUMULATIVE_LIMIT_USAGE
16:32:37.648 (648381821)|LIMIT_USAGE_FOR_NS|(default)|
  Number of SOQL queries: 2 out of 100
  Number of query rows: 1 out of 50000
  Number of SOSL queries: 0 out of 20
  Number of DML statements: 6 out of 150
  Number of DML rows: 6 out of 10000
  Maximum CPU time: 0 out of 10000
  Maximum heap size: 0 out of 6000000
  Number of callouts: 0 out of 100
  Number of Email Invocations: 0 out of 10
  Number of future calls: 0 out of 50
  Number of queueable jobs added to the queue: 0 out of 50
  Number of Mobile Apex push calls: 0 out of 10

16:32:37.648 (648381821)|CUMULATIVE_LIMIT_USAGE_END

16:32:37.1 (648434558)|CODE_UNIT_FINISHED|execute_anonymous_apex
16:32:37.1 (649537852)|EXECUTION_FINISHED
 
Satyendra RawatSatyendra Rawat
Before starting "SECOND NODE"
Click on "Stop" Button and check "Evaluate the Next Criteria"
In the second node [OpportunityLineItem].Explorer_c   Is Null  = False(True is not fulfill the requirement) .


Thanks
Satya
Shahed MiahShahed Miah
I am referencing the Adventure Pakage Object to Start my process so it it is:

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 


4. Create 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}



DO NOT CREATE A SECOND NODE! IT IS NOT REQUIRED!
Marc-Antoine ClaustreMarc-Antoine Claustre
The current "Best answer" provide a wrong information: The 2nd node condition is mentionned as "1. [OpportunityLineItem].Explorer_c   Is Null  = True "

While it should need it is "False".

Changing that helped me to finally solve this challenge !!!!

Thank you all for the help
Avdiel_CanóAvdiel_Canó

Hi All!

Having issues with this step, please help :-)

Based on the solution from @Shahed Miah and @Farouk Fakunle I see the last "Set Field Value" as:
Package -  [OpportunityLineItem].OpportunityId

I dont have Package from my options.

I did get all the other ones and mapped them but I don't have "Package" in order to map it to the OpportunityId.

Please help.
Thanks

Marc-Antoine ClaustreMarc-Antoine Claustre
Hi Avdiel, this "Package" is the Opportunity field of the Fulfilment record in course of creation. Maybe in previous version of this superbadge instructions, the "Opportunity" was renammed "Package"!?
Avdiel_CanóAvdiel_Canó
Hi Marc-Antoine,
Thanks a bunch for your help, I finally got it.
All the best.
Avdiel_CanóAvdiel_Canó

Hi All!
I'm suck on challenge #6 now :-(
I am getting an error, but I belive my set-up is solid, please help me out by looking at the below images and sharing any insights.

Thanks
User-added image
Criteria

User-added image
Immediate Actions
User-added image

Aswin Vijayan 16Aswin Vijayan 16
Lightning Specialist super badge- Challenge 7.

I have issue because of namespace created. What to do?

​There was an unhandled exception. Please reference ID: KEUZUFXS. Error: Faraday::ResourceNotFound. Message: NOT_FOUND: Invalid Action Name: Fulfillment__c.New_Expedition_Leader_Case

Completed the challenge. But test validation written by Salesforce is throwing an error.
Syam Reddy 11Syam Reddy 11
Thanks a million Shahed,it worked for me!!.
I struggled one month with this issue, You saved me Yar!!!!
Dinesh Kumar 326Dinesh Kumar 326
hi all,
I passed this challenge..step 4:Automate the creation of fulfillments -lightning experience specialist
Over all image -
User-added image
step 1 :creation of fulfillment record with autopopulated values -
User-added image
step 2:update adventure package fulfillment created to true -
User-added image
step 3: Update the related Opportunity to reflect the waiver and insurance needs on the Adventure
User-added image
step 4: Create a task for the sales rep to review the fulfillment - 
User-added image
step 5: Schedule a chatter post -
Please let me know for any issues.

 
Delubio de PaulaDelubio de Paula

Amit Singh 1, Thank you man.....I was stuck with this one, just for a tiny bit. 
Set Conditions: 
[OpportunityLineItem].Oppotunity.StageName Does not equal Cancelled
[OpportunityLineitem].Fulfillment_Created_c Equals False
[OpportunityLineitem].Explorer__c IsNull false

I was using True. Somehow I was unable to see my mistake.....As soon as a change to False...>B O O O M M M M.....

Thanks a million!
Karyna Woods 18Karyna Woods 18
I got the same error. "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." 

When I try to test and manually create Fulfillment record, get the task created. What I'm struggling with - is Fulfillment creation

I'm trying to check for

Oppty Stage "does not equal" cancelled 
AND
 Fulfillment_CreateD__c equals FALSE 

Seems like two simple criteria to kick off the creation of the fulfillment record, but it's not firing. Anyone else has the same issue? 
LorenzoLorenzo
I can't find this field, can you help me please? User-added image
YvonneWYvonneW
@Lorenzo instead of package field should be--> opportunity field reference [opportunity.lineitem].opportunityIdUser-added image
Todd BowersoxTodd Bowersox
For this error folks,  "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." , I found you have to be very detailed when reading the instructions. I got this error because I did not relate my new task for the owner back to the opportunity where the adventure package was created. I had originally just created a task for the owner. Here is my task configuration that worked with the "Related To ID" set.
User-added image

As they say in the instructions make sure your process works first, although, this does not mean you will pass the challenge. But, at least if it is working you can go back to the records created and verify what information you may be missing to pass the challenge. Good luck, I beat my head a few times but eventually got it.
 
Sandeep Kumar 2195Sandeep Kumar 2195
Right Steps are- 

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;
 
maakni rabahmaakni rabah
Hello 
that's what i do in my challenge, but i still don't clear my challenge for the step 4:User-added imageUser-added imageUser-added imageUser-added imageUser-added image
Can you help me please!!
sfdc_beginner7sfdc_beginner7

@faroukfakunle Thanks for wonderful solution
 your solution is working perfectly fine for me 
the only change i made is 
1. [OpportunityLineItem].Explorer_c   Is Null  = True  to 1. [OpportunityLineItem].Explorer_c   Is Null  = False




I am referencing the Adventure Pakage Object to Start my process so it it is:

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 
Needs Insurance - Reference- [OpportunityLineItem].Product2.Needs_Insurance_c
Needs waiver - Reference -  [OpportunityLineItem].Product2.Needs_Waiver_c


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  = False

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;
 
Akshay Jain 109Akshay Jain 109
Finally.. able to solve challenge 8 after sitting whole night. But, it is a task of only 10 minutes. provided you arrange your data and map it according to the way mentioned by some people on this post. If you are getting errors just delete the whole data and try again using the online dataloader.io site. DO NOT use the desktop data loader app. it does not have the options for Lookups. If help is needed please reach out, I have recently completed the same and can guide you further. 
Quentin HQuentin H
Hello guys,
I'm also stuck on the last challenge of this superbadge, with the same old "Challenge Not yet complete... here's what's wrong:
The 'Opp Stage by Adventure' report does not appear to be configured correctly. Make sure it has the correct report type, groupings, filters and chart type.", so frustrating.
I've described my case and tried solutions in a new post, any help would be more than welcome!
https://developer.salesforce.com/forums/ForumsMain?id=9060G0000005n5fQAA
Thanks, Quentin
Jordan Laugeni 20Jordan Laugeni 20
@farouk fakunle

"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"

I am having trouble locating Product 2 in the process builder field lookup. Do i need to create product 2? If so, what exactly does product 2 represent?

Thank you in advance,

Jordan
Aditya Mishra 14Aditya Mishra 14

Hi ,
Can anyone help me I am stuck in Stage 4, getting the following 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.

My Fulfilment Record Creation, Oppertunity Record Update and Adventure Package Update is working Fine. But when I am switching to Node-2 and Creating the Task, I am getting this Error.

2nd Criteria Node = [OpportunityLineItem].Explorer_c   Is Null  = True

I have following Value in my Task. 

Related to ID - reference -[OpportunityLineItem].Opportunity.Id
Priority - Normal 
Status - Not started 
Subject- String - Please Review

Prrocess


task

Vinay BothraVinay Bothra
Here's what I did, it worked for me:

Process Builder : Fulfillment Creation - A record changes
Object : Adventure Package is created
>Criteria : First Node
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) 

>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 - Reference - [OpportunityLineItem].OpportunityId
Schedule Date -Reference - [OpportunityLineItem].ServiceDate
Status- Picklist - New 

>Update Records 
Record - [OpportunityLineItem]
Updated records meet all conditions
Fulfilment Created = False 
Set new field values for the records you update :

Fulfilment Created = True 

>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

>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].OpportunityId
Subject- String - Review the fulfillment, and double check the explorer data is properly mapped to the fulfillment record.

>SCHEDULED ACTIONS 

14 Days from now 
Add Action : Post to Chatter
Name: Remind reps to check the adventure package and fulfillment records.
Post to:- User, User-Select a user from a record :- [OpportunityLineItem].Opportunity.Owner.Id

Message:
Please review!

{![OpportunityLineItem].Opportunity.Name}
{![OpportunityLineItem].Product2.Name}
{![OpportunityLineItem].Id}
 
Smita HodiggeriSmita Hodiggeri
@Vinay Thank you. This worked me as well. 
raymond wangraymond wang
Just post a picture of my process here for your reference.

User-added image
Dhanik L SahniDhanik L Sahni
Worked for me as well. Thank you Vinay Bothra.
Francis CrumpFrancis Crump
Vinay is my hero, none of the others worked (though it was part of the solution at times)
Francis CrumpFrancis Crump
Thanks to Roger for #6 and Vinay for #4 both work.
Vinay BothraVinay Bothra
You're welcome, buddy. Happy to know that I could be of some help. :)
Sarah HartmanSarah Hartman
Few key changes from best answer above that I just passed with:

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 
Needs Insurance - Reference- [OpportunityLineItem].Product2.Needs_Insurance_c
Needs waiver - Reference -  [OpportunityLineItem].Product2.Needs_Waiver_c


Change from STOP to 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  = FALSE!!!! (NOT 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}
Leigh LeachLeigh Leach
I followed this step by step, three times, and it is still saying that it is wrong. I cannot for the life of me figure it out.
Shabista Zaidi 5Shabista Zaidi 5
I cleared the challenge after these updates, also use one node it works fine:

1. If you are not able to see Package field ,  Use 'Opportunity' field instead of Package .
    Opportunity-Field Reference-[OpportunityLineItem].Opportunity.
   It works for me after adding this to Create Fulfillment Step. 
2. Also , its ok if you dont see 'needs waiver and needs insurance' on OpportunityLineItem, go ahead with just Fulfilment Created = True.
3. Lastly, under task creation step check this reference onec again for Related Id. It should be Related to ID - reference -[OpportunityLineItem].Opportunity.Id 
Iftekhar UddinIftekhar Uddin
Trailhead SOQL checks the following:

SELECT TotalPrice, Explorer__c, ServiceDate, Product2Id, Product2.Expedition_Leader__c, Product2.Needs_Insurance__c, Product2.Needs_Waiver__c, Fulfillment_Created__c FROM OpportunityLineItem WHERE Id = :tmpVar1


OpportunityLineItem is APIName of AdventurePackage. It's vey confusing unless you check all the properties including lookup fields pointing to.

 
Iftekhar UddinIftekhar Uddin
Product2 object is APIName of Adventure. Good luck.
George Mwaura 17George Mwaura 17
Like most people I had a hard time completing challege 4 Fullfillment Creation. After many days I noticed when you map Adventure Package cost - to [OpportunityLineItem].TotalPrice, the API name is actually  [OpportunityLineItem].Total-Price. This is causing and error. Removing the - between Total and Price (TotalPrice) solves the problem. Is this a error with the unmanaged package or the field name and the API name are 2 different animals?
Andrey GrischenkoAndrey Grischenko
Hi! Best answer have a mistake.
That's right: (False! - not true)
User-added image
Challenge completed!
MA JURNALYN BOMMADEVARAMA JURNALYN BOMMADEVARA
Hi everyone One Node is sufficient to pass challenge 4. Please let me know if you guys need help..Challenge completed!
MUKUL SHARMA 60MUKUL SHARMA 60
Hi Everyone, I am still getting this 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 fulfillment was created with all of the proper field value specified in the requirements.

But the fulfillment record is created successfully.
Close errors)User-added image

Can someone help me with this?
Argenis PerezArgenis Perez

Hi Guy

I try all the suggestions here but Still I am receiving the 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 fulfillment was created with all of the proper field value specified in the requirements.

May be I am overwhelmed with this after trying to fix for several hours and I am not able to get it  Any help will be appreciated

 

Process

1st Node:

Criteria Name. Adventure Pack is created
Criteria for Executing Actions: Conditions are met
User-added image

User-added image


AdventurePackageId -  Reference -[OpportunityLineItem].Id
Adventure Package cost - Reference - [OpportunityLineItem].TotalPrice 
Adventure - Reference -  [OpportunityLineItem].Product2.Id
Expedition Leader - Reference -[OpportunityLineItem].Product2.Expedition_Leader__c
Explorer - Reference - [OpportunityLineItem].Explorer_C
Fulfillment Name - Formula -[OpportunityLineItem].Product2.Name + [OpportunityLineItem].Id
Opportunity - Reference - [OpportunityLineItem].OpportunityId
Schedule Date -Reference - [OpportunityLineItem].ServiceDate
Status- Picklist - New 

2nd Node:

User-added image

User-added image
Related to ID. Field reference  [OpportunityLineItem].Opportunity.Id

POST TO CHATTER

Post to: user 
Select a user from a Record
[OpportunityLineItem].Opportunity.Owner.Id

Message:
{![OpportunityLineItem].Opportunity.Name}
{![OpportunityLineItem].Product2.Name}
{![OpportunityLineItem].Id}

Any help I really appreciate it

Joanna Knott 44Joanna Knott 44
User-added image
I am still stuck on #7. Any help would be appreciated. Here is what I have:

User-added image

Thanks in advance!
 
Fahad Rahat 10Fahad Rahat 10
Joanna - I configured a simple quick action and it worked for me. A couple of things I noticed different in your Quick Action than mine, may be that's the problem. 
  1. You don't need to set a predefine value for Fullfilment. The relationship field should take care of that
  2. Not sure why you're specifying record type and namespace prefix? Is it not your playground org? 
P.S. I did set Case Reason as a predefined value to 'Fullfilment Issue', however, not sure if that makes a difference. 

Attaching screen for your reference. Hope it helps! 

User-added image
Suchita Juneja 3Suchita Juneja 3
Hello Can anybody guide me in challenge 4 what should I select in (Select a record related to the OpportunityLineItem) as I cant see the Fulfilment Created = True. Please guide and help?
Joanna Knott 35Joanna Knott 35
@fahad I removed a predefined value for Fulfillment, and Record Type, and it did not work. I think the issue is with the namespace prefix but I don't know how to remove it. I have used this org for other trailheads so it is probably from another badge. Any ideas on how to fix it? Is it even possible to remove a namespace prefix? 
All of the fields in the Manage Package's Object Fulfillment start with Myfirstapp_19__, so when I created the Action, the Namespace prefix was added as well:
User-added image
Any thoughts? 
Rajasekhar ValluruRajasekhar Valluru
In the best answer selected, I hope there's small modification in second node criteria. Boolean value should be false.
"[OpportunityLineItem].Explorer_c   Is Null  = False" It worked forme when the boolean is set as Fasle.

Can someone explain me why this is takig only "False". 

Thank you!
 
matt harrison 1matt harrison 1
I can confirm Sarah Hartman's answer worked for me, I went through this entire thread and tried most of the suggestions for the process builder but only her process allowed me to pass. Thanks Sarah. 
anupreishaanupreisha
Hi everyone !
I am just stuck on Lightning Experience specialist challenge 4 ,getting 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: FIELD_CUSTOM_VALIDATION_EXCEPTION, please enter other address too: [OtherStreet]
can anyone help to find the solution :)
Amadeo Aguado AlmandozAmadeo Aguado Almandoz
Hi !!

I've followed all the steps but I get the same error message ... During this step:

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 
Needs Insurance - Reference- [OpportunityLineItem].Product2.Needs_Insurance_c
Needs waiver - Reference -  [OpportunityLineItem].Product2.Needs_Waiver_c

I can not select the needs fields as they are formula fields and I can not update. Any help ? Thank you
Amadeo Aguado AlmandozAmadeo Aguado Almandoz
Hi!

FInally, I got it. When it's all done I did the step 7 that @Sandeep Kumar 2195 said. It works!! You need to be really careful with all the configuration, I used all the steps provided by @Sarah Hartman

Good luck
 
Sourav Bhadra 13Sourav Bhadra 13
Finally I got my error...

In second node of @farouk fakunle best answer,

The criteria will be:
Set Conditions:

1. [OpportunityLineItem].Explorer_c   Is Null  = false

It should be false and it worked for me.
Kavthami MuthuramalingamKavthami Muthuramalingam
Completed challenge 4! Vinay's solution helped me to figure out my error.
Arti ChoudhraiArti Choudhrai
@Roger Grilo Thanks, I completed challenge 4! your solution worked it fine..please follow the exact proccess given by @Roger Grilo. 
Kati Koenig 12Kati Koenig 12
I thought I had it ;)!  Tested my process and it seemed to work fine, no error messages.  So I checked the Challenge Step and received this error message:

​​​​​​
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: REQUIRED_FIELD_MISSING, Required fields are missing: [Discount__c]: [Discount__c]
Close errors

Not sure why Discount is being mentioned as an error.  I made it required in the previous step which passed, otherwise I would not have been able to move on to this one.  Any thoughts??  Thanks in advance!
 
Alexandre Delgado GabrielaAlexandre Delgado Gabriela
@Kati Koenig 12 Did you sent discount default value to 0 on a previous step? it testing using an existing opportunity, you have to populate discount is its null
Alexandre Delgado GabrielaAlexandre Delgado Gabriela
Finally completed step 4. I did everything using one single node. My process was failing because I forgot to populate the Subject on Task
User-added image
Nikki BrittNikki Britt
I am stuck on the "Manage Chatter" challenge with a error # of QFVQAXGM, can someone please help me?!?!
 
Hindi MindHindi Mind
Really Nice Post.
Thanks For Posting This Post.
Love Quotes in Hindi (https://hindimind.co.in/love-quotes-in-hindi/), Love Shayari (https://hindimind.co.in/love-shayari-hindi/), Love Status (https://hindimind.co.in/love-status-in-hindi/), Good Morning Shayari (https://hindimind.co.in/good-morning-shayari-in-hindi/)
Piyush SahniPiyush Sahni
This is very interesting, I'm really enjoying the design and layout of your website.
You've posted very well The information given in this post has proved to be very useful for us
Thank you very much for sharing.
shayari status wishes quote (http://kindstatus.com/) marathi shayari (http://kindstatus.com/marathi-shayari/) sad shayari (http://kindstatus.com/sad-shayari-in-marathi/);  love shayari (http://kindstatus.com/love-shayari-in-marathi/):  dosti shayari (http://kindstatus.com/dosti-shayari/)
Ed Li 2Ed Li 2
I'm trying to work on challenge #3, but I'm having an issue the Adventure Package is missing -  [OpportunityLineItem].Oppotunity.StageName this field doesn't populate for me when I try and select it. I've created a new play ground as well its still missing the stageName field. 

Am i suppose to link the data as per the entity diagram in the schema builder?
Hamza Shahid 6Hamza Shahid 6
Hello everyone i am at step 2 of the lightning experience specialist superbadge and while creating the opportunity path i am not able to see some fields to highlight for stages for example Application Submitted,Adventure Cost,Needs Insurance, Needs Waiver, any leads on this would be appreciated 
Subhan PothakamuriSubhan Pothakamuri
@Hamza, You need to add those values as pick list values for opportunity stage fied. 

Check the below screen shots

User-added image

NOTE: Make sure that you have only the required picklist values to be active on stage values
Gs Kumar 1Gs Kumar 1
Marathi JournalMarathi Journal
I am getting the same error even though my process appears to be working perfectly fine when I add an adventure package to the Opportunity. By marathijournal (https://www.marathijournal.in)
Hindi BazaarHindi Bazaar
I liked this information very much, I will also share similar information on my website Hindi Bazaar (https://hindibazaar.xyz/) so that other people also like it.
Sachin RainaSachin Raina
I am getting the same error even though my process appears to be working perfectly fine when I add an adventure package to the Opportunity. By Gaming Nation (https://gamingnation.in)
Hindi BazaarHindi Bazaar
My popular post bacchon ke kapde (https://hindibazaar.xyz/5-sal-ke-bacchon-ke-kapade/)
sanjay jangam 3sanjay jangam 3
I see a possible way to create an Apex Class which checks for explorer and then create a Good Morning Images (https://www.sanjayjangam.com/english/good-morning-images/) quick action like create record of type task with defaulted values.
sanjay jangam 3sanjay jangam 3
Now This thred should be stopped for comment here you can check all answers on my web Good Night Images (https://www.sanjayjangam.com/english/good-night-images/) , Good Morning Messages (https://www.sanjayjangam.com/english/good-morning-messages/), Dosti Status in Hindi (https://www.sanjayjangam.com/hindi/dosti-status-in-hindi/)
Shubham Bhardwaj 80Shubham Bhardwaj 80
There are so many ways to create content without revealing yourself and ialready covered faceless YouTube channel ideas (https://bhardwajzone.com/youtube-channel-ideas-without-showing-face/)! on my personal blog so that you can use them and combine with high paying url Shortener sites (https://bhardwajzone.com/highest-paying-url-shortener/) to double your revenue. It's pretty simple and easy to understand how to create a moving text or an animation video yourself.
 
anas Aroraanas Arora
Really appreciate the answers and will share them on Techbuying (https://techbuying.in)(www.techbuying.in)
sushil joshi 25sushil joshi 25
I am getting the same error even though my process appears to be working perfectly fine when 
<a href="https://hindiquoteson.com/boys-attitude-shayari/">Attitude Shayari</a>
sushil joshi 25sushil joshi 25
<a href="https://hindiquoteson.com/boys-attitude-shayari/">Attitude Shayari</a>

 
sushil joshi 25sushil joshi 25
I am getting the same error even though my process appears to be working perfectly fine when attitude shayari (https://hindiquoteson.com/boys-attitude-shayari/)
Farukh AliFarukh Ali
It was really helpful for me and this page 7 Wonders Of The World Names In Hindi (https://apkaguru.com/7-wonders-of-the-world-names-hindi/) got helped with it.
Angrezee.ComAngrezee.Com
Thank you so much for sharing this crazy post
<a href="https://angrezee.com/"> Angrezee.com </a>
 
Rajeev Singh 121Rajeev Singh 121
Thanks for sharing. Explore the best Good morning images (https://befunky.in/good-morning-images/) , good night images (https://befunky.in/good-night-images/) , birthday wishes for daughter (https://befunky.in/birthday-wishes-for-daughter/) , love shayari (https://befunky.in/love-shayari/) , good night quotes (https://befunky.in/good-night-quotes/)
anirudh sahni 8anirudh sahni 8
I liked this information very much, check out the love shayari( shayari (https://kindstatus.com/love-shayari/) ), sad shayari ( Sad shayari (https://kindstatus.com/sad-shayari/) ), dosti shayari ( Dosti Shayari (https://kindstatus.com/dosti-shayari/) )
anirudh sahni 8anirudh sahni 8
Thanks for sharing. Explore the motivational quotes in hindi motivational quotes in hindi (https://kindstatus.com/motivational-quotes-hindi/), life quotes in hindi quotes in hindi (https://kindstatus.com/life-quotes-in-hindi/), attitude shayari Attitude shayari (https://kindstatus.com/attitude-shayari/)
pappu sahnipappu sahni
This is very interesting, I'm really enjoying the design and layout of your website.
motivational quotes in hindi  motivational quotes in hindi (https://quoteshindi.net/motivational-quotes-hindi/) good morning quotes in hindi good morning quotes in hindi (https://quoteshindi.net/good-morning-quotes-in-hindi/) good morning images good morning images (https://quoteshindi.net/good-morning-images/) good night images good night images (https://quoteshindi.net/good-night-images/)
Angrezee.ComAngrezee.Com
Thank you so much for sharing this amazing post. my website name Angrezee.Com (https://angrezee.com/)
Raj ji 8Raj ji 8
Your article is detailed, thanks to it I solved the problem adiyogi wallpapers (https://www.bhagwanimage.com/2022/08/adiyogi-wallpaper.html) I am entangled. I will regularly follow your writers and visit this site 
shivudu photos (https://www.bhagwanimage.com/2022/03/shivudu-photos-new.html) daily. 
tanuja danimatanuja danima
Thank you so much for the useful information.
Quotesmaze (https://quotesmaze.com)
Happy Birthday Brother Images (https://quotesmaze.com/happy-birthday-brother-images/)
Happy New Year 2023 (https://quotesmaze.com/happy-new-year-2023/)
Good Night Images (https://quotesmaze.com/good-night-images/)
 
Raj Malhotra 22Raj Malhotra 22
Thank you so much for the useful information. Good morning images (https://www.goodmorningimg.com/2019/11/beautiful-good-morning-images.html) Reliance quotes (http://www.quotesopia.com/2022/08/resilience-quotes.html)
Only englishOnly english
best good morning images good morning images (https://onlymyenglish.com/good-morning-images/) and good night images (https://onlymyenglish.com/good-night-images/)
LordVishnu VishnuLordVishnu Vishnu
Nice post, your post is really useful for me. Today we came with the pure and best communication application which is a famous Whatsapp MOD FM Whatsapp (https://gbplusmod.com/download-fm-whatsapp/) APK.
Anky KolaAnky Kola
Adroit Information. Thank You So Much.
Read marathi shayari (https://lovequotes.co.in/marathi-shayari/) and best love shayari (https://lovequotes.co.in/love-shayari/) in hindi.
Nice shayari hindi (https://lovequotes.co.in/shayari/) with pics.
Shayari FeedShayari Feed

Shayarifeed (https://shayarifeed.com/) is the largest collection of Shayari, Status & Quotes.

Love Shayari (https://shayarifeed.com/love-shayari/)
Attitude Status (https://shayarifeed.com/attitude-status/)
Motivational Quotes in Hindi (https://shayarifeed.com/motivational-quotes-hindi/)

neeraj kumar 268neeraj kumar 268
Thank you for your important information
also read Joker Quotes Dark Knight (https://shareimagezone.com/joker-quotes-dark-knight-share-on-instagram-and-whatsapp/)
Smile Captions For Instagram (https://shareimagezone.com/smile-captions-instagram-whatsapp/)
Usama AsgharUsama Asghar
It is no doubt of this that engdic is doing a great job in teaching English to lads.
Here are some glimpses.
https://engdic.org/inspirational-moral-stories-for-adults/
https://engdic.org/20-other-ways-to-say-have-a-good-day/
Usama AsgharUsama Asghar
And there are a lot of other organizations too.
https://www.crunchbase.com/organization/engdic-org
ASHISH MEGHWALASHISH MEGHWAL

Thanks for Information to touch with me 

here some links for 

shayari and wishes with images

For 100 all time best : https://shayariwishes.in/ (https://shayariwishes.in/top-100-heart-touching-sad-shayari/)

Thoughtful Wishes for sister in english : https://shayariwishes.in/happy-birthday-sister (https://shayariwishes.in/happy-birthday-sister-100-thoughtful-wishes-to-make-her-day-extra-special/)

Attitude shayari collection looking then click here (https://shayariwishes.in/category/shayari/attitude-shayari/)
 

Vivek MoreVivek More
I'm trying to work on challenge but I'm having an issue some trriger is missing

trigger OppoStageUpdate on Account (after update){
Set<Id> accountIds = new Set<Id>();
for(Account a:Trigger.new){
accountIds.add(a.Id);
}
//day30 is the date which is 30 days less than today
DateTime day30=system.now()-30;
List<Opportunity> oppListToUpdate=new List<Opportunity>();
//getting the opportunities whose account has been updated
List<Opportunity> oppList = [Select Id, AccountId, StageName, CreatedDate, CloseDate from Opportunity where AccountId in :accountIds];
if(oppList.size()>0){
for(Opportunity opp : oppList){
//checking for condition if created date is greater than 30 days from today and stage not equal to close won
if(opp.CreatedDate<day30 && opp.StageName!='Closed Won'){
opp.StageName='Closed Lost';    //This is a mandatory field when we update the CloseDate
opp.CloseDate=system.today();
oppListToUpdate.add(opp);  //putting the changed opportunity to separate list to update later
}
}
}
//checking if the opportunity list which has changed is having records or not
if(oppListToUpdate.size()>0){
update oppListToUpdate;
}
}

Challenge Not yet complete... here's what's wrong:
Thanks For Hindiwebquotes (https://hindiwebquotes.com/)
 
English ANEnglish AN

Hope the issue you had been facing is resolved now, if not please let me know how can I assist you. or you may find it useful

https://englishan.com/category/synonyms/

Good MorningGood Morning

Looking for All types of Quotes with images. and you can use these quotes to Motivate yourself and also your friends and family.
AzQuotation  (https://azquotation.com)

Quotes From Authors (https://azquotation.com/authors/)
Quote Topics (https://azquotation.com/topics)
Quotes From Movies (https://azquotation.com/movies)
Quotes From Books (https://azquotation.com/books)