ran a flow and got this error: The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@{variables('Item Count')}@{variables('Start Date')}' is of type 'String'. The result must be a valid array.


Anybody know a solution? See Attached. What i want to accomplish is once 30 people have signed up for the same class for the same class date they will no longer be able to sign up for that class for that date and they will be forced to sign up for a different class date. I want that to happen for every 30 sign ups per class and class date if that makes sense. I hope that helps. Any help would be greatly appreciated. Thank You.