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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

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
    Manish Solanki Profile Picture
    15,169 Moderator 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 470

#2
Haque Profile Picture

Haque 416

#3
David_MA Profile Picture

David_MA 344 Super User 2026 Season 1

Last 30 days Overall leaderboard