I'm building a flow to parse an email and use portions of the content to generate a new email. It starts with a "When new email arrives trigger" which I then use the "HTML to Text" conversion on. This works and I see the plain text output of the email. The next step is a Compose which uses this expression:
length(body('Html_to_text'))
When the flow runs I get the same thing as an output
length(body('Html_to_text'))
That isn't what I expected. Is this right?
Solved! Go to Solution.
If you typed the expression properly in the Expressions tab, the Compose Output should be a number. Please make sure the expression in your Compose action is exactly as the screenshot below.
Please do not hesitate to reach out if you have any questions.
If you typed the expression properly in the Expressions tab, the Compose Output should be a number. Please make sure the expression in your Compose action is exactly as the screenshot below.
Please do not hesitate to reach out if you have any questions.
The key was "If you typed the expression properly in the Expressions tab...". I don't know how or when the expression got mangled but when I looked back at it today I found that it was not the same as what I posted. Fixed the expression and it ran like a champ. Thank you!
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 |
---|---|
39 | |
37 | |
37 | |
32 | |
28 |
User | Count |
---|---|
39 | |
37 | |
31 | |
28 | |
23 |