cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JayAvondoglio
Frequent Visitor

Get record count of Dynamics "List Records"

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

 

2019-06-20_14h17_44.png

1 ACCEPTED SOLUTION

Accepted Solutions
JayAvondoglio
Frequent Visitor

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

 

 

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

View solution in original post

3 REPLIES 3
ScottShearer
Super User
Super User

@JayAvondoglio 

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

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott
v-zhos-msft
Solution Sage
Solution Sage

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.

JayAvondoglio
Frequent Visitor

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

 

 

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

Helpful resources

Announcements
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (4,465)