Skip to main content Salesforce and Tableau exam registrations are now closed through July 21st. Learn more about the new Salesforce certification experience coming soon.

Feed

Connect with fellow Trailblazers. Ask and answer questions to build your skills and network.

I have an in issue in a Summer 25 full sandbox and production on Service Cloud.

I get the following error when I try to create a new Complaint. I click on the reservation item lookup and enter an existing reservation number (ex. case : 009258614 Reservation item : 008478062)

I have to fill the case number and the order item which are lookup fields.

Once i search for it, it gives me the following error:

[Cannot destructure property 'dataType' of 'undefined' as it is undefined.] new Ce()@https://transat--preprod.sandbox.lightning.force.com/components/lightning/recordPickerCommon.js:1:11852 je.getFieldInfo()@https://transat--preprod.sandbox.lightning.force.com/components/lightning/recordPickerCommon.js:1:12909 $A.componentService.initModuleDefs.co.$A.componentService.addModule.t.ObjectInfos.getFieldInfo()@https://transat--preprod.sandbox.lightning.force.com/components/lightning/recordPickerCommon.js:1:21494 {anonymous}()@https://transat--preprod.sandbox.lightning.force.com/components/lightning/recordPickerAdvanced.js:1:8206 ee.handleObjectInfosLoaded()@https://transat--preprod.sandbox.lightning.force.com/components/lightning/recordPickerAdvanced.js:1:8157

I have verified the levels of security for every field referenced in the picker ( making them visible/invisible) I have verified the layouts/filters.

I would like to know that apart from those two, what other factors could cause lightning-record-picker to receive objectInfo.fields[] = undefined for a manages standard object (Reservation item object, the Complaint object is a custom object)? How can i isolate the exact field or metadata that the picker still expects so i can resolve this error? Also, everything was working on Friday 13th 2025. The error appeared yesterday, Monday 16th 2025. There have been no modifications since friday.

 

@* Salesforce Developers * 

0/9000

I’ve created a DocuSign Gen Template and added the "Generate Document" button on the Quote object.

  • When I click the button manually, it works as expected and generates the document correctly.
  • However, I want to automate this process. Specifically, when the Quote status is changed to "Approved"
  • I want the document to be generated automatically, without requiring the user to click the button.

Is there a recommended way to trigger the DocuSign Gen template automatically based on a field update like this? Can it be done using a Flow, Apex, or any other method?

 

Thanks in advance for your help! 

 

#Docusign Gen

 

#Salesforce Developer

 

#Trailhead Challenges

 

 

#Docusign Gen  #Flow  #Trailhead

1 answer
  1. Today, 2:54 PM

    Hi Navin, 

    I did automate the document generation (Invoice) - I created an apex trigger to call the Docusign API that generates the PDF and send the email (simulating the user when hitting the button in the Invoice manually). This is the technical detail for the trigger to call: 

    https://support.docusign.com/s/articles/DAL-DocuSign-Gen-for-Salesforce?language=en_US

     

     

    In your case, the object SBQQ__Quote__c is involved. You can use an invocable action in Flow Builder:

    Hi Navin, I did automate the document generation (Invoice) - I created an apex trigger to call the Docusign API that generates the PDF and send the email (simulating the user when hitting the button i

     

    Or you can call the Docusign Doc Gen API directly or from a flow: 

    https://www.youtube.com/watch?v=cjOFo_j1PS0

     

     

    Instead of Docusign, alternatively for the standard Salesforce CPQ's Quote Document generation, you can call the Quote Document API: 

    https://developer.salesforce.com/docs/atlas.en-us.cpq_dev_api.meta/cpq_dev_api/cpq_api_generate_proposal.htm

     

     

    Hope it helps, 

    David

0/9000

Hello,    I have a object called discounts the records get pumped in from a different system to make Discount records.  When the records come in our users submit them for approval from their managers however there are situations sometimes where a discount gets submitted for approval but someone in the other system cancels the discount for some reason and that gets pushed moving the record status to canceled.      This causes there to be an approval request still in the system waiting for approval or denial but the record is effectively in a canceled status which makes it denied.  Is there a way I can make the status update cancel any existing approval requests?    Currently we use the old approval process but we are working on moving to the new orchestration method which I would like to know if its possible to do it in both ways.   

2 answers
  1. Today, 2:53 PM

    @Abhishek R Thank you for this I will test and play with it, one other question do you know if this same method would work with the new approval process that runs through flow orchestration? (I believe they use different objects for the approval portions).

0/9000

I have a flow sending a survey email from the case when it is solved. The mail recipient list in the send Email action is a flow variable filled by the most recent From email address. The flow also collects the contact record from the case and logs the activity there. 

 

Problem: The Send Email action faults when the contact record has a null value in email, showing the error "The target object's email address "null" is not valid." 

 

This makes sense if the action were pulling the email address from the contact, but the recipeint list is set for that variable, and the variable has an email value. 

 

Does anyone know why the error would say the target object is null, when that contact is not the recipient? 

 

Receiving Flow error for target object email address, but recipient list is not null

 

 

 

#Flow

1 answer
0/9000

I am trying to add a tooltip visualization on a matrix chart to show a detailed list (table). The matrix chart is based on 2 datasets and the tooltip table is based on a completely different dataset.  

 

The Matrix chart: 

How to filter tooltip visualization based on a different dataset that the orginal chart?

The step SAQL of the matrix chart, which uses two datasets - APS_GR_Full & Survey_Full

q = load "APS_GR_Full";

q = filter q by 'Participant.Account.AccountParents' like "%{{cell(Selected_portal_account.result, 0, "PortalAccount").asString()}}%" or 'OurCompany' == "{{cell(Selected_portal_account.result, 0, "CompanyName").asString()}}";

texts = load "Survey_Full";

q = filter q by 'Participant.Programme__c' == "{{cell(participation_filter_1.result, 0, "Current").asString()}}";

q = filter q by 'Survey.QuestionOptionType' != "NA";

q1 = group q by ('Id_Participation','Participant.Alignment_Name');

q1 = foreach q1 generate 'Id_Participation' as 'Id_Participation', 'Participant.Alignment_Name' as 'Subsidiary', "1" as 'key';

q1 = group q1 by ('Id_Participation','key','Subsidiary');

texts = filter texts by 'Domain_Text' == "A. Steer";

texts = filter texts by 'QuestionOptionType' != "NA";

texts = filter texts by 'Q.Question_Type__c' in ["Selection","Multi Selection"];

texts = group texts by ('qoqid_core','Q.Question_Number__c','Question_Text', 'QuestionOption_Text', 'Q.Question_Type__c');

texts = foreach texts generate 'qoqid_core', "1" as 'key','Q.Question_Number__c' as 'QuestionCode',

case when 'Q.Question_Type__c' == "Multi Selection" then 'Question_Text' + " - " + 'QuestionOption_Text' else 'Question_Text' end as 'Question_Text',

avg('Order') as 'Order', 'Q.Question_Type__c' as 'qtype';

texts = group texts by ('qoqid_core', 'QuestionCode', 'Question_Text', 'Order', 'key', 'qtype');

carti = cogroup texts by 'key' full, q1 by 'key';

carti = foreach carti generate texts.'qoqid_core' + "|" + q1.'Id_Participation' as 'real_key', texts.'QuestionCode' + " " + texts.'Question_Text' as 'Question', texts.'Order' as 'Order', q1.'Subsidiary' as 'Subsidiary', texts.'qtype' as 'qtype';

carti = group carti by ('real_key','Question','Subsidiary','Order','qtype');

q = filter q by 'Survey.Domain_Text' == "A. Steer";

q = filter q by 'Survey.Q.Question_Type__c' in ["Selection","Multi Selection"];

q = group q by ('qoqid_core', 'Id_Participation', 'Survey.Q.Question_Number__c', 'Survey.QuestionOption_Text');

q = foreach q generate 'qoqid_core' + "|" + 'Id_Participation' as 'real_key', max(q.'UltimateAnswer_Align_NUM') as 'Answer', max('Id_Answer') as 'Id_Answer';

q = group q by ('real_key', 'Answer', 'Id_Answer');

result = cogroup carti by 'real_key' left, q by 'real_key';

result = foreach result generate carti.'Subsidiary' as 'Subsidiary', case when carti.'qtype' == "Multi Selection" then coalesce(q.'Answer',5) else coalesce(q.'Answer',9) end as 'Answer', carti.'Question' as 'Question', avg(carti.'Order') as 'Order', q.'Id_Answer' as 'Id_Answer';

result = group result by ('Subsidiary', 'Question');

result = foreach result generate 'Subsidiary', 'Question', min('Answer') as 'Answer', avg('Order') as 'Order', max('Id_Answer') as 'Id_Answer';

result = foreach result generate 'Subsidiary', 'Question', 'Answer' as 'Answer NUM', replace(replace(replace(replace(replace(replace(replace(number_to_string('Answer',"#"),"1","Not done"),"2","Inconsistently done"),"3","Consistently done"),"9","No answer given"),"7","No answer given"),"4","Yes"),"5","No") as 'Answer','Order', 'Id_Answer';

result = filter result by Answer in ["Not done", "Inconsistently done", "Consistently done", "No answer given"];

result = order result by ('Order' asc,'Subsidiary' asc);

result = foreach result generate 'Question', 'Subsidiary', 'Answer NUM', 'Answer', 'Id_Answer';

result = limit result 10000;

 

Then, I configured a tooltip visualization based on a third dataset - Documents. It should be filtered by the 'Id_Answer' of the hovered-over data point on the matrix chart. I trying to do this by applying a selection binding filter on the SAQL of the tooltip viz table. 

 

SAql of tooltip viz table: 

 

q = load "Documents";

q = filter q by 'Id_Answer' == "{{cell(lens_1.selection, 0, "Id_Answer").asString()}}";

q = foreach q generate q.'Id_Answer' as 'Id_Answer', q.'Content.ContentDocumentId' as 'Content.ContentDocumentId', 'Participant.Alignment_Name' as Subsidiary;

q = limit q 100;

 

With this approach, the filtering doesn't work properly with hovering over. It works only with a selection.  

 

Tooltip Viz with just hover over: 

tooltip viz with just hover over.png

 

Tooltip viz with a selection: 

 

 

Tooltip viz with a selection.png

 

How can I overcome this and make the detailed table on the tooltip appear with just hover over a data point on the matrix chart? 

 

Thanks in advance. 

 

 

0/9000
1 answer
  1. Ajaypreet Singh Saini (Grantbook) Forum Ambassador
    Today, 2:51 PM

    Hey @RAM PRASHANTH V, are you sure you have at least read access to Fitness object?

0/9000
1 answer
  1. Ajaypreet Singh Saini (Grantbook) Forum Ambassador
    Today, 2:50 PM

    Hey @Lahari K. Click Gear Icon --> Setup --> in the search field, type 'Einstein for sales' and activate toggle: Turn on Sales Emails

0/9000

Using the Salesforce API, is there a way to log a task to a cadence step so that exit automations and branching logic apply? We are programmatically completing the cadence step and then creating a new task, but nowhere in the documentation did we find the ability to associate that task to the cadence step, so that that task can trigger cadence exit automations.   

 

@* Salesforce Developers * 

0/9000

Hi everyone — I’m actively working toward my Salesforce Administrator Certification and looking to complete Superbadges as part of my hands-on learning path.

However, I’ve deleted multiple playgrounds over time, and now I’m unsure which modules or trails I’ve already completed vs. which are still required for the next step (especially things like Data Security or modules tied to specific Superbadges).

Is there:

  • A checklist or pathway for each Superbadge with direct links to all required modules?
  • A way to track which modules I’ve finished when the playground is gone?
  • A recommended way to rebuild access to past modules if I completed them in a now-deleted org?

I want to ensure I’m on the best path to certification and learning without skipping anything.

Thanks in advance for your help!  

0/9000

I am currently preparing for the Salesforce Certified Administrator exam and am seeking trusted and up-to-date question and answer resources to support my study efforts. I am particularly interested in reliable practice exams and Q&A sets that closely reflect the current exam format. If you have experience with reputable websites, study platforms, or specific materials that helped you succeed, I would greatly appreciate your recommendations.

My goal is to prepare ethically and effectively using only verified and authorized resources that align with Salesforce’s certification standards. If you have recently taken the exam or can offer any insights into high-quality preparation tools, your guidance would be incredibly helpful. Thank you in advance for your support. 

 

#Certifications

1 answer
  1. Ajaypreet Singh Saini (Grantbook) Forum Ambassador
    Today, 2:25 PM
0/9000