Hello
I have created a Form that has a mulit-select choice response where the end-user can choose which software they would like installed on your workstation. I would like to parsing this field and extract the selected items into an email that will get sent to the helpdesk for processing.
I have looked at the other content in this forum where yes/no answers are being pulled but not sure if that applies to me but I am a novice Forms and Flow/power automate user so maybe this is a simple solution that I may have over-looked.
Thank you for your assistance!
Satnam
This doesn't complete everything, though. It gets to the Split, but from the Split, if you want to put the values into a multi-select Choice field on a list you need a Select, where you use the output of the Split as the "From", and you map it with "Value" (no quotes) in one box, and the current item (item()) in the other.
Then, in the "Create item" for the list, there's this little toggle on the field, itself, that changes it from receiving a textual input into an array, and you need it set to accept an array. Then you can set that field to the Output (body) of the Select: body('Select')
There's also a better way to get the input into that Split:
Initialize variable: TestMultiCheck
Type: String
Value: outputs('Get_response_details')?['body/r24aeca27c28e44a09dc8c9ec71873d18']
Compose TestMultiCheck JSON
Inputs: json(variables('TestMultiCheck'))
Join TestMultiCheck
From: outputs('Compose_TestMultiCheck_JSON')
Join with: ,
Split TestMultiCheck
Inputs: split(body('Join_TestMultiCheck'),',')
Select TestMultiCheck
From: outputs('Split_TestMultiCheck')
Map: Value
item()
Then set the list item field equal to body('Select_TestMultiCheck')
thank you
It's a Compose, I just edited the name 🙂
Hello
Just curious which Office 365 license you have as I don't see those eventhough I have an E5 license for my profile.
Thanks
I think these expressions could be useful to you
replace(replace(replace(body('Get_response_details')?['r24aeca27c28e44a09dc8c9ec71873d18'],']',''),'[',''),'"','')
split(outputs('Remove_characters'),',')
Hope this helps.
Kind regards.
Thank you, I will have to do some more research on how to parse the output of the response data so its a bulleted List within the email body.
Hi @satnam-1
There is no problem extracting the answer, the only thing that you need to be keep in mind is that the answer from multi-choice option will be extracted as a string with all the responses.
For example, if you select PowerPoint and Excel the response is going to look like this ["PowerPoint","Excel"]
Here is an example.
Hope this helps.
Cheers.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Michael E. Gernaey
497
Super User 2025 Season 2
David_MA
436
Super User 2025 Season 2
Riyaz_riz11
244
Super User 2025 Season 2