Hi all,
I'm attempting to build a flow for any file uploaded into a list, which then requires two separate approval stages (in sequence, from different users). The first stage is a review and the second the approval, but the review function does not exist as far as Im aware, so I'm trying to utilise a staggered approval setup.
I have managed to get to the second approval stage successfully (with caveats to this statement). However the second approval condition of "Yes/Approve" or "No/Reject" is throwing up an error which I'm struggling to reconcile and could do with some direction with.
The error thrown in testing: "ExpressionEvaluationFailed. The execution of template action 'Apply_to_each_-_SIS_Approval' failed: the result of the evaluation of 'foreach' expression '@outputs('Approval_-_Send_Email_to_SIS_to_Approve')?['body/outcome']' is of type 'String'. The result must be a valid array."
The below screenshots show the flow overview and the specific second stage approval condition at which the flow fails with the aforementioned error.
P.S. To add to the caveat statement above, my intent was to have the approval's be done directly from Inboxes via emails, but I am not getting emails being delivered to the Approval 1 or Approval 2 recipients, yet when I navigate to each user's Action Items>>>Approvals>>>Received, the tasks are delivered there and are actionable with associated objects in content, so the Email delivery objective is currently a fail, but I thought I should focus on the logic first.
Any viewpoints or direction to a infrequent dabbler in Flow will be appreciated.
Thanks