Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
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'))

 

 

  • Verified answer
    ManishSolanki Profile Picture
    15,085 Super User 2025 Season 1 on at
    Re: When Email arrives Create planner task... but want to create filter array to includ "RE:" "FW:"

    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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492