cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper III
Helper III

Formatting Issue in email

Hi,newbie....i use MS Forms and have a simple flow. it generates an email as noted below, i am not sure why but the selections that the res ponder provides(me in the test) always puts a parenthesis around the response. I am using drop down lists in the form, any idea how to fix? 

I highlighted the issue in red.....

Geoff.

 

'Please review the proposed contract framework for
Client Name: Geoff's Cookie Co
Start Date:2020-07-31
Services:["C-Store","Drug"]
Commission Rate["Net Sales"]
Performance Bonus:-'

1 ACCEPTED SOLUTION

Accepted Solutions

There are several ways to remove [], for example using 'replace' function like below.

 

replace(replace(outputs('Get_response_details')?['the output of dropdown list'], '[', ''),']', '')
You need to input dynamic content of the response in bolded place.
 
This function replaces '[' with blank, then replace ']' with blank.
 
Sorry that I couldn't paste screenshots in this comment due to my system trouble.
Hopefully my comment make sense to you.

View solution in original post

3 REPLIES 3
Microsoft
Microsoft

That is because  the response type is array.

if you want to remove [], you need to process the response from Microsoft Forms in your Flow.

Hi Remi, thank you for your reply, im lost....

 

"if you want to remove [], you need to process the response from Microsoft Forms in your Flow.'

 

can you advise the steps so i can attempt to make the change

geoff

There are several ways to remove [], for example using 'replace' function like below.

 

replace(replace(outputs('Get_response_details')?['the output of dropdown list'], '[', ''),']', '')
You need to input dynamic content of the response in bolded place.
 
This function replaces '[' with blank, then replace ']' with blank.
 
Sorry that I couldn't paste screenshots in this comment due to my system trouble.
Hopefully my comment make sense to you.

View solution in original post

Helpful resources

Announcements
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Users online (9,428)