Skip to main content

Notifications

Power Automate - Using Connectors
Unanswered

Salesforce connector not returning full object

(0) ShareShare
ReportReport
Posted on by

I am using the Salesforce "when a record is modified" connector.  Goal is to replicate the behaviour of salesforce outbound messages.  I notice that not all fields on the object are coming into the flow.  I have tried specifying the columns I want in the "select query" under advanced options, the flow runs successfully but the fields are not all there.

 

One thing I did notice in the headers of the incoming message is under Content Type it shows as below:

 

"Content-Type": "application/json; odata.metadata=minimal; odata.streaming=true"

Not sure but I assume the "odata.metadata=minimal" is where my problem lies, however I don't seem to be able to manipulate the value.

 

Any ideas? 

  • Re: Salesforce connector not returning full object

    Hi,

    Thanks.  This seems like a suitable workaround.  However, when I put this into practice, I still don't see all of the fields i would expect.  I am starting to think it could be some sort of configuration on the Salesforce side.

    Regards,

    Dom

  • eric-cheng Profile Picture
    eric-cheng 5,171 on at
    Re: Salesforce connector not returning full object

    Hi @Anonymous ,

     

    Found a thread from 2019 here with the same issue but doesnt appear to be a resolution.

     

    This may be by design to improve performance.  I know some of the SP triggers also dont have all the fields.  

     

    Not ideal but can you use Get Record and pass in the record id to get all the fields?

     

    --------------------------------------------------------------------------
    If I have answered your question, please mark my post as a solution
    If you have found my response helpful, please give it a thumbs up

    Connect on LinkedIn

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,691

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 65,019

Leaderboard

Featured topics