I have an approval flow that requires a minimum number of approvals.
I have a condition that checks the outcome of each approval if it = "Endorse". The condition is met when I have 1 approver, but when I add a 2nd approver the condition is not met. I've asked CoPilot and it's given me these 2 expressions and neither of them work. Any ideas how to resolve this?
{ "and": [ { "equals": [ "@items('Apply_to_each')?['response']", "Endorse" ] } ] }
{ "equals": [ "@items('Apply_to_each')?['approverResponse']", "Endorse" ] }