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
Vijay Kalyan 6Vijay Kalyan 6 

Superbadge: Lightning Experience Specialist Step 4

Hi All,

I have added all the Field References in the process builder, but I don't get the reference to [OpportunityLineItem].Id in the picklist.

Field not appearing in the picklist

Can anyone help me regarding this?

Thanks and Regards
Vijay
NagendraNagendra (Salesforce Developers) 
Hi Vijay,

Sorry for this issue you are encountering.

May I suggest you please check with below link from the success community with a similar discussion which might help you further. Please let us know if this helps.

Thanks,
Nagendra
Vijay Kalyan 6Vijay Kalyan 6
Hi Nagendra

Thanks for the prompt reply. However, the issue I've encountered is different from the ones discussed in the thread you provided.

To elaborate on the issue I'm facing:
I have created the process, and added the action to create the Fulfillment record. 
I have also provided all the field references to the Fulfillment object, except for AdventurePackageID, which is supposed to be referenced to [OpportunityLineItem].Id

User-added image

The issue is that, the field [OpportunityLineItem].Id is not available in the picklist to be referenced. Hence, I'm unable to proceed further.
Please refer to the above image in the question for the screenshot.

Any help on this would be much appreciated.

Thanks and Regards
Vijay Kalyan
Nisha GodeNisha Gode
Do you get this screen? This is the first drop down menu all the way at the bottom. 
User-added image
HEMPRASANTH KARUNAKARANHEMPRASANTH KARUNAKARAN
[OpportunityLineItem].Id is labeled as Line Item Id in OpportunityLineItem dropdown
Aditya Mishra 14Aditya Mishra 14
Hi,
Well I am getting a differnt error on Total Proce of Opportunity Line Items. Can anyone help me out.

Challenge Not yet complete... here's what's wrong: 
There was an unexpected error in your org which is preventing this assessment check from completing: System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_EXECUTE_FLOW_TRIGGER, We can't save this record because the “Fulfillment Creation” process failed. Give your Salesforce admin these details. This error occurred when the flow tried to create records: FIELD_INTEGRITY_EXCEPTION: field integrity exception: TotalPrice (total price must be specified). You can look up ExceptionCode values in the SOAP API Developer Guide. Error ID: 912264637-104360 (-1749599120): []

Here is the Criteria I have
Criteria

and Field Values

Field values
Aditya Mishra 14Aditya Mishra 14
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 -  [OpportunityLineItem].OpportunityId