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 / Trim and Sanitize user...
Power Automate
Answered

Trim and Sanitize user input

(0) ShareShare
ReportReport
Posted on by 2

We're collecting input from an MS Form, then using it to create planner tasks and shared folders. Problem is if someone uses a special character or double spaces at the end of an entry being used to make the folders, it breaks that part of the process and the task is left empty and no folders are created.  Bottom line - i need to take their input in two different fields, trim up the additional spaces and replace the special characters. The resulting outputs would then be used to create a folder structure and task in Planner.

 

Everything works great until I attempt to trim or sanitize.  I realize the flow in my screenshot is probably set up wrong and that I may be making rudimentary mistakes. Looking for any guidance you're willing to give.   This is immediately following the flow trigger and initializing of variables.

 

Screen Shot 2020-01-15 at 2.58.41 PM.png

 

Categories:
I have the same question (0)
  • ellomrt Profile Picture
    2 on at

    Hi @v-bacao-msft ,

     

    Thanks for the reply. I will fire it back up today and gather the error messages I am getting. 

     

    Thanks!

  • Verified answer
    v-bacao-msft Profile Picture
    on at

     

    Hi @ellomrt ,

     

    Are there any error messages that will allow us to determine what the issue is? Please provide it with us.

     

    Best Regards,

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
David_MA Profile Picture

David_MA 245 Super User 2025 Season 2

#2
Expiscornovus Profile Picture

Expiscornovus 207 Most Valuable Professional

#3
trice602 Profile Picture

trice602 185 Super User 2025 Season 2

Last 30 days Overall leaderboard