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 / Get record count of Dy...
Power Automate
Answered

Get record count of Dynamics "List Records"

(0) ShareShare
ReportReport
Posted on by 12

How can I get the record count of the Dynamics "List Records" call?

 

2019-06-20_14h17_44.png

Categories:
  • ScottShearer Profile Picture
    25,331 Most Valuable Professional on at

    @JayAvondoglio 

    I am not a Dynamics guy, but you should be able to use the Length expression against the collection returned by Dynamics.

     

     

  • v-zhos-msft Profile Picture
    Microsoft Employee on at

    Hi @JayAvondoglio ,

    You can set a variable here.

    Then append a value from each record to the array.

    Finally, use the length() function to get the count of the records.

    I have made a test on my side, please take a try with the following workaround:

    Expression reference:

    length(variables('Users'))

    Capture9.PNG

    Best Regards,

    Community Support Team _ Zhongys

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Verified answer
    JAvondoglio Profile Picture
    12 on at

    For anyone who finds this seems the easiest way is what scott recommended:

     

     

    length(body('List_Orders_Under_Navigator_Appointment_records')?['value'])
     
    condition.png

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
11manish Profile Picture

11manish 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 244

#3
Henil Profile Picture

Henil 102

Last 30 days Overall leaderboard