cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Super User III
Super User III

@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
Super User III
Super User III

@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

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
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (8,508)