web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / how to resolve \n in p...
Power Automate
Unanswered

how to resolve \n in power automate generated automatically in inputs

(2) ShareShare
ReportReport
Posted on by 4

There is \n at the begnning of messageId i already tried trim,replace decode uri with %0A and also replace with \n But none of this is removing the \n from the begnning
Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,488 Super User 2025 Season 2 on at
     
    Can you please share your flow, and please share where you tried to decode it out please. I'd like to review the expression and the outcome.
     
    Did you assign the message id to a compose and then decode it?
     
    Seeing will help
  • Chriddle Profile Picture
    8,443 Super User 2025 Season 2 on at
    I see no reason why decodeUriComponent('%0A') should not work
     
     
    replace(
    	outputs('Compose').parameters.messageId,
    	decodeUriComponent('%0A'),
    	''
    )
     
     
  • Michael E. Gernaey Profile Picture
    53,488 Super User 2025 Season 2 on at
     
    Agree thats why I asked them to show their code
  • Michael E. Gernaey Profile Picture
    53,488 Super User 2025 Season 2 on at
     
    Any update on this at all?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard