cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
leyburn19
Memorable Member
Memorable Member

Find a return key character (Char(10) or Char(13)

I have an issue where users poulate a text box in a SharePoint column with multiple emails.  When they do this they sometimes put a comma instead of a dot or the move the email to the next line with the enter key.  This generates an error in my flows as the emails are now invalid.  Emails need to be seperated by a semi colon.  I cannot use a people field as emails can be outside the company domain.

 

try as I might I cannot contain the user to get it right so must look at a correction process on data entry.  I can capture the comma but how would I capture a return key entry in a flow?

 

I want to create a condition that checks the text box,  if those characters exist I at least get a warning email.  Ideally I will look at a replace.  But if I use condition how would I find the return key? 

1 ACCEPTED SOLUTION

Accepted Solutions
yashag2255
Dual Super User II
Dual Super User II

Hi @leyburn19 

 

You can initialise a string variable and in the value part, hit an enter. Now, get the column from your sharepoint and add a condition to check if that column contains the variable. Please see the screenshto below:

enters.PNG

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

2 REPLIES 2
yashag2255
Dual Super User II
Dual Super User II

Hi @leyburn19 

 

You can initialise a string variable and in the value part, hit an enter. Now, get the column from your sharepoint and add a condition to check if that column contains the variable. Please see the screenshto below:

enters.PNG

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

Brilliant.  Thank you

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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.

Users online (2,416)