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
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

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!

Users online (29,919)