I'm creating a flow that when an e mail arrives it posts the details (from, date, subject, body) into a teams channel, i want to exclude mails with certain words in subject like gone fishing, automatic reply and Out of office.
i've tried with this set up but so far not working is there a better way?
Solved! Go to Solution.
Without the post a message step expanded we can't offer really much insight, as that is likely where the issues lie. From your screenshot, all we can see is that when an email arrives you have a double-and condition, so if the Subject doesn't contains Holiday and Gone Fishing, you'll post a message.
Are you sure you wouldn't want the condition to be an or condition instead of and? Also, you want to likely rethink your logic. You want your action to be in the Yes step when possible, so if the subject Does not contain Holiday, then Yes, post to teams.
The following documentation is recommended for figuring out the best way to handle your conditions, their logic and expressions:
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Without the post a message step expanded we can't offer really much insight, as that is likely where the issues lie. From your screenshot, all we can see is that when an email arrives you have a double-and condition, so if the Subject doesn't contains Holiday and Gone Fishing, you'll post a message.
Are you sure you wouldn't want the condition to be an or condition instead of and? Also, you want to likely rethink your logic. You want your action to be in the Yes step when possible, so if the subject Does not contain Holiday, then Yes, post to teams.
The following documentation is recommended for figuring out the best way to handle your conditions, their logic and expressions:
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Thanks for the reply
Are you sure you wouldn't want the condition to be an or condition instead of and?
and there it was - i was using and instead of or tbh i hadn't even spotted the drop down 🙂 thank you so much.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Did you know that you could restore a deleted flow? Check out this helpful article.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
33 | |
32 | |
25 | |
24 | |
21 |
User | Count |
---|---|
64 | |
56 | |
44 | |
37 | |
29 |