cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Necdet
Frequent Visitor

Power Automate variable

 Hi,

when I define variable and query on the List record the variable gets "\n" newline end of the value and Power Automate not working.

How can I remove/handle this issue? why it is happening?

Capture.PNG

 

1 ACCEPTED SOLUTION

Accepted Solutions
Mira_Ghaly
Dual Super User II
Dual Super User II

@Necdet 

To remove the new line from your variable please use a compose data operation and use the below expression:

replace(variables('Frage_Untertitel'),decodeUriComponent('%0A'),'')
If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

View solution in original post

2 REPLIES 2
Mira_Ghaly
Dual Super User II
Dual Super User II

@Necdet 

To remove the new line from your variable please use a compose data operation and use the below expression:

replace(variables('Frage_Untertitel'),decodeUriComponent('%0A'),'')
If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

View solution in original post

Hi Mira,

Thanks for the answer. I already use your advice. It is helpful but why it is happening? I just define a variable as a string and only for this variable getting new line end of the variable value. Is it a known issue for the Power Autimate

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,692)