cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Display Selected Microsoft Forms Select Choises

Hello there,

 

My Microsoft Form contains this select question

jgsag_0-1628061519907.png

It allows multiple answers.

 

I want to post all selected answers in an Adaptive Card to MS Teams, seperated by ", ".

 

Here is my flow:

jgsag_1-1628061620496.png

 

My Adaptive Card looks like this:

jgsag_2-1628061660537.png

The first two text elements are filled when I remove the third one, so I know the connection is correct. The errors I get when trying to display the answers from the select question are the following:

  1. When using the "Data Action / Compose" block: Unable to process template language expressions in action 'Betroffene_Bereiche' inputs at line '1' and column '24563': 'The template language expression 'string('Antwortdetails_abrufen')?['body/r5fba7dbdf345434b8f2c6e28c6d64ecc']' cannot be evaluated because property 'body/r5fba7dbdf345434b8f2c6e28c6d64ecc' cannot be selected. Property selection is not supported on values of type 'String'. Please see https://aka.ms/logicexpressions for usage details.'.
  2. When trying to access the field directly in the adaptive card: The request failed. Error code: 'InvalidJsonInBotAdaptiveCard'. Error Message: 'Microsoft.Azure.ProcessSimple.Data.Entities.Exceptions.ProcessSimpleDataException: The specified Teams flowbot adaptive card request is missing or invalid. The tracking Id is '{0}'. ---> Newtonsoft.Json.JsonReaderException: After parsing a value an unexpected character was encountered: W. Path 'body[2].text', line 1, position 260.

I believe the error has to do with the form's answer's data type, but I tried so many things and I can't get it working. Would greatly appreciate any help or hints!

 

0 REPLIES 0

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

New Process Advisor Capabilities carousel.png

Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (2,512)