Hi all,
First time posting here. Recently started working with the Virtual Agent and I'm trying to add an action (Flow) that I have in Power Automate. I believe I have done everything correctly - but clearly I'm missing something as the Flow is no provided for selection.
I created a Flow in My Flows, I subsequently created a new Solution (within the same Environment as the Bot) and added the existing Flow from My Flows. Following these guidelines as suggested: https://docs.microsoft.com/en-us/power-virtual-agents/advanced-flow#move-a-flow-to-the-solutions-tab-on-the-microsoft-automate-portal
However, I still cannot see the Flow when trying to add an action within the authoring canvas. I then found another article suggesting that the Flow should be in the CDS Solution but that doesn't work either. Does anyone have any suggestions to help resolve?
Thanks,
Josh
Chatted w/ kianlutu and it was a JSON issue
So far, every time I have seen this it has been due to the JSON being incorrect or the flow not being in the 'solutions' areas. I'd say dig up the articles on those two things and I bet you will find they show up.
Hi MarKol,
I'm receiving the same issue as JoshT14. The solution you provided did not resolve this issue. I have a pretty simple flow that takes in two string types to query a sql table.
Do you have any other ideas on what may be causing this issue?
Thank you,
Kian
Nevermind, it was a malformed JSON schema on the end node. Might be worth to noting you can append items from an array to string to output though
Hi @MarKol ,
I was wondering If I use an array list within a flow, but the trigger and outputs of the flow are all strings, should that work?
I've created a flow that appends all entities of the array to a string before outputting, but it isn't listed in 'call an action'. I'm trying to rule out if it's my error or not.
Thanks
Nicky
There is a new feature inside call an action to Create a Flow which will spin up a template with a sample input and output string. From there you should be able to easily modify it and insert your custom flow steps in the space just after the initialize variables steps provided.
@D365Goddess- Nice article! Keep em coming!
Hi Josh,
There are several common reasons why you would not see a flow in Action picker in Power VA.
Note that Arrays (Lists) are currently not supported in Power Virtual Agents. If unsupported variables types like Arrays (Lists) are used in a flow,it will not show up in Action picker.