web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Dataverse Search Rows ...
Power Automate
Answered

Dataverse Search Rows Action results

(0) ShareShare
ReportReport
Posted on by 53

With the search rows action can one use a compose step after to get the ID out of the Json? Specifically if you limit the row count to 1? I know I perform this compose action with a list rows action and it works great. For the List rows i'm using the following expression in a compose step to get the ID of the record found. 

 

body('List_Cases')['Value'][0]['incidentid']

 

Any help on what the expression might be to get the objectid out of the search rows results would be appreciated.  

Categories:
  • Verified answer
    Expiscornovus Profile Picture
    34,005 Most Valuable Professional on at

    Hi @cholst,

     

    As far as I know the search results has the objectid property.

     

    In an expression that would be something like:

    body('Search_rows_(preview)')['Value'][0]['objectid']

     

  • cholst Profile Picture
    53 on at

    Thanks for that advice. Only change i needed to make was the attribute. Below is what worked for me. 

    body('Search_rows_(preview)')['Value'][0]['@search.objectid']

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 299

#2
11manish Profile Picture

11manish 274 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 119

Last 30 days Overall leaderboard