Hi there!
I am writing a topic to handle escalations that take user input and pass them to a flow that sends the query via email to the relevant team member. The PVA asks for Name, contact email, related industry, and the query. For the industry, I am using a Multi choice "ask a question" to list industries my company is involved in:
Ideally the variable 'industry' would be type 'string' rather than type 'choice' so I can pass the variable to my power automate flow.
I realize I can set a string variable under the conditional options generated as a result of this question, and then have another conditional to send the flow the variable that has been populated as a result of the user selecting an option:
However this feels clunky and overly complex. Is there a simple way I can store the result of the user selection directly into a string variable so I don't have to mess around with multiple conditionals that essentially all do the same thing?
it would be amazing if I could just use something like industry.toString()
Thanks in advance!
Ben
@HenryJammes - I am looking to collect multiple stattionery request via adaptive card in power virtual agent and trying to send it to power automate flow for creating an entry in sharepoint list
when i select Multiselect value, I am unable to save the adpative card.
I am not sure if multiselect values are being considered as an array when i rtry sending to power automate
how do i convert it to a string
The above command is not not working for. I am getting message text is not recognized
Hiya Henry,
Fantastic solution! It actually seems like I can simply use the string() function:
Here is the PVA passing the values:
And the Conditions themselves:
Using functions seem to be the best way of handling this, much more elegant than how I was previously passing the details.
Many thanks for your prompt reply and effective solution!
Ben
Hi @BioGroBen,
Have you tried with a Power Fx formula when you pass the variable to your cloud flow?
Text(Topic.industry)
Henry
Pablo Roldan
33
Romain The Low-Code...
25
stampcoin
10