Hello again @v-bacao-msft Sorry for the bump!
I had a new feature I wanted to add to this same flow:
To recap I have put some pics of the flow which is the same quoted in this thread and works perfectly so far
And the condition says '@or(contains(triggerBody()?['To'], 'email1'), contains(triggerBody()?['To'], 'email2'), contains(triggerBody()?['To'], 'email3'), contains(triggerBody()?['To'], 'email4'))'
Is there any way to add a condition/checker that says if the 'To' field in the email contains only ONE of the above emails, then assign the task to only them? If it contains all of them then do nothing for now? I saw in the create a task field it said assigned user ids - i could add in the 'To' field from the email there? but is there a way to filter it to only do this if there is one persin in the 'To' field on the email? Im thinking near the start after condition 2, add another conditon that should check if the email has more than one 'To' in it? (Not sure how to do this) if yes do everything below if no then create a task and assign it to the 'To' person?
Thanks!
