cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JamesMitchell
Frequent Visitor

Email subject contains

Hello,

 

Please can someone help me to find if an email suject contains a certain word?

 

My flow is working as it gets the email and the subject but when using condition it returns false. 

Condition.jpg

I have tested it and the email subject is returned and does contain this text but it is saying false. How do i do this? Once it is true i then want to extract a certain segment of the subject.

 

Any help greatly appreciated!

1 ACCEPTED SOLUTION

Accepted Solutions
ScottShearer
Super User
Super User

@JamesMitchell 

Remove the single quotes around Task ID in the condition and it will work as you have intended.  The single quotes are required around a string in an expression but not in a condition when entered directly into the expression window.

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

2 REPLIES 2
ScottShearer
Super User
Super User

@JamesMitchell 

Remove the single quotes around Task ID in the condition and it will work as you have intended.  The single quotes are required around a string in an expression but not in a condition when entered directly into the expression window.

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

Thank you. That worked. I tried that before and I failed but it failed on the next step but I thought it was this part failing!

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Users online (2,351)