Hi Team,
I am building a flow, such that when an email (external mail) got received, it triggers the flow, by sending the approval mail to the Recipient (internal user). And there exists a condition, if the To address from the external mail got more than one internal user, it should pick up only one internal user for the approval.
What I do is, for Audit purpose, I am creating an item in Sharepoint (which stores Message Id, Recipients Outcome,etc). Below is the screen shot of my flow.
Splitting the Recipients address -

Checks the splitted Recipients address that contains internal domain address?

If yes, it is checking for the condition, if the sharepoint item has update - that if the title is equal to unique message id and (response is either approved/rejected) the flow should not continue to send email to the second internal user.
Meaning, here the approval mail should go to only one user, that's why i am checking the condition from SharePoint. but it is not working.

Why the condition fails?
Is there any other way to run the the approval mail only once? Since it is placed inside the Apply to each i am unable to terminate the flow as well.
Thanks for your help.
Thanks,
Harisha