Hey all,
I'm making a power automate.
The automate is about assigning an email to someone and making a task in planner about this.
Everything is working exactly like I would want it to only the body of the email.
I converted the HTML to normal text but is still show some elements.( /r/n )
I added some pictures of the part from my flow wich has an impact on this.
I also tried to add a delay between create and update task but this didn't help 😞
Hey I testes with compose a both but I still have the same result.
The replace is as follows: replace(variables('EmailText'),'\r','')
I added a screenshot of the part from my flow, still using the same email as a testI looked around on other post and looks like they do the same.
Thnx again for the fast answer 🙂
So replace function, replaces any word or letter that you give with another letter/word you provide.
So, in the above case, you can use it like this:
take a compose:
replace(variables('EmailText'),'\r','')
By this we are replacing \r with no space.
Then you can do this again for '\n'
This can be done in 1 compose too, but I am really bad with expressions. Hehe.
Hey,
I have never heard of the replace operation.
Wich one should I use and why?
Thnx in advance 🙂
Hey I added a screenshot of the body.
It is a test mail I made to test is the subject and start date and sutch works.
@YaBooyyy If you want to remove new lines code please use replace() before assigning to variable.
Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.
Hey @YaBooyyy
Can you give an example or test data how your data looks like in the body that you are entering in html to text action?
Then I might be able to give you some solution.