
Hi,
My flow worked well testing, but then suddenly stopped and fails on the same point.
When trying to add an apply to each trigger after a condition has been met, I get the follwing error.
ExpressionEvaluationFailed. The execution of template action 'Apply_to_each_3' failed: the result of the evaluation of 'foreach' expression '@outputs('Create_item')?['body/TotalValue']' is of type 'Float'. The result must be a valid array.
On my form, I have 2 checkbox options for a customer to choose from. £50-£250 is one option and £250 or above is the other, therfore my condition asks if the feild is equal to £50-£250 is true.
In the apply to each triggers I will initiate a start approval and wait for response workflow. But failing before I get to that point.
Please help.
Hi @Greenybfc,
An apply to each action is normally used to loop through a collection of values/array. In this case you used a float (decimal number) for the loop instead of an array.
What is the reason you have added the apply to each 3 and apply to each 4 actions to your setup? For the Total Value column those actions would not be needed.