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 / Remove line breaks in ...
Power Automate
Unanswered

Remove line breaks in Variables from SQL Database in Desktop Flow

(0) ShareShare
ReportReport
Posted on by 4

Hello all,

I am currently having the problem that when I create variables out of my MySQL database they have line breaks later in the desktop flow. The line break is only visible in the input details of the desktop flow activity.
This does not allow me to determine the distinguished name in AD.
Does anyone have a fix or workaround for this problem?

 

chrome_aVues9sh1f.png

 

Many greetings



I have the same question (0)
  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    If you want to fix this in the desktop flow, try using Replace text with regular expressions enabled and replace \r\n with %""% (indicates that it will replace it with nothing - an empty string). 

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

  • Cloudadm Profile Picture
    4 on at

    Unfortunately, no.
    \r\n is not replaced. Can you possibly send a screenshot of exactly how you filled in the "Replace text"?

  • Verified answer
    Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Make sure that you enable regular expressions: 

    Agnius_0-1694524991665.png

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard