Morning
I've inherited a Approval Flow which runs fine, except if it time outs. It should send out an email informing the user that it's failed due to time out - the approvers haven't actioned - and update a SharePoint list.
However when it gets to the Apply to Each action below it fails with this error:
ExpressionEvaluationFailed. The execution of template action 'Apply_to_each_2' failed: the result of the evaluation of 'foreach' expression '@outputs('Start_and_wait_for_an_approval_HR')?['body/responses']' is of type 'Null'. The result must be a valid array.
This is the variable:


These are the error details:
The execution of template action 'Apply_to_each_2' failed: the result of the evaluation of 'foreach' expression '@outputs('Start_and_wait_for_an_approval_HR')?['body/responses']' is of type 'Null'. The result must be a valid array.
Any idea? All help appreciated