Hi,
In my email body, I want to build a flow with a condition to look for email body with this string
<span style=\\"background:red\\">Fail</span>
So I tried but it does not work. Can you please tell me what am I missing?
@or(contains(triggerBody()?['Body'], '<span style=\\"background:red\\">Fail</span>'), contains(triggerBody()?['Body'], '"background:red\\'))
Hi @scheu,
Please try to add an action Convert HTML to text before the Condition.
I have made the following test and it just works fine.
The condition is configured likes below:
@or(contains(body('Html_to_text'), '<span style=\\"background:red\\">Fail</span>'),contains(body('Html_to_text'),'background:red\\'))
Image for your reference.
Best regards,
Mabel
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
User | Count |
---|---|
41 | |
40 | |
37 | |
32 | |
31 |
User | Count |
---|---|
52 | |
40 | |
35 | |
33 | |
24 |