web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / When Email arrives Cre...
Power Automate
Unanswered

When Email arrives Create planner task... but want to create filter array to includ "RE:" "FW:"

(0) ShareShare
ReportReport
Posted on by 40

Hey there Microsoft Community - currently I have a flow that creates a planner task when an email arrives.

But im noticing that if I respond to the email, my filter array doesn't account for "RE:" or "FW:" when an email is responded to, and creates a second planner task.

At first my filter array was 'equals to' and then i changed it to 'contains' so that it does not create another planner task. 

Can someone help me modify my flow to account for RE: and FW: in the subject and prevent a second planner task being created?

Here is my flow:

msedge_v2TLQktT4g.png

 

Count all tasks

 

length(body('List_Tasks')?['value'])

 


Count filtered tasks

 

length(body('Filter_array'))

 

 

Categories:
I have the same question (0)
  • Verified answer
    ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at

    Hi @SimonB2020 

     

    To avoid getting task created for reply & forward emails, you need to swap the operand used with contains operator as shown below. The condition should say "Subject contains Task title":

    ManishSolanki_0-1700303122394.png

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard