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

Notifications

Announcements

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:
I have the same question (0)
  • ScottShearer Profile Picture
    25,277 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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 378 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 305 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 155 Most Valuable Professional

Last 30 days Overall leaderboard