Hi
I'm using fetchxml in flow in order to calculate how many records exist when I list. - The idea being if something matches the criteria and the count is above 0, then no new record is added.
However I'm getting all sorts of errors when I do this, and even if I get something working, I can't run a condition on the value of the count - as I can't identify the count field.
Can anybody give me any ideas how to achieve this?
Thanks
Lee
Solved! Go to Solution.
Hey there. So, the "List Records" action should be giving an array, ya? If so, then you should be able to use Length() to give you a count of how many 'elements' are in that array.
Check it out and keep us posted.
-Ed
If you liked this reply, please give it a thumbs up! If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.
Hey there. So, the "List Records" action should be giving an array, ya? If so, then you should be able to use Length() to give you a count of how many 'elements' are in that array.
Check it out and keep us posted.
-Ed
If you liked this reply, please give it a thumbs up! If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.
Check out new user group experience and if you are a leader please create your group
See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.
User | Count |
---|---|
45 | |
41 | |
38 | |
38 | |
34 |
User | Count |
---|---|
87 | |
85 | |
52 | |
48 | |
40 |