Hi,
I have a PVA which asks for a Start and End Date.
I have a Call to Action Flow that take that information and sends it out as a Teams Message. In Flow, I can only put the Date Input as Text.
The flow is fine, but PVA comes up with a "BindingIncorrectTypeError" on the action as the Input in PVA is Date but the input in Flow is Text.
How can I solve this?
TIA!
@HenryJammesI've just sorted out what was wrong, thank you very much for your patience.
From PVA, when you click on the cloud flow name and go to Power Automate, what do you see in the execution history? This is where you can see what happened on the Power Automate side and this is where you can understand why your email was or wasn't sent.
@HenryJammes I'm not getting any error messages, everything seems to be working but I'm not getting any emails... am I missing something?
I'm putting up the image you asked for:
Thanks
Can you check the details of the cloud flow executions for the ones triggered from Power Virtual Agents?
What PVA sent, was Power Automate did, etc.?
Also, in PVA, you can use the variable pane to see what is captured and passed to Power Automate when you do your tests:
@HenryJammes I don't understand because when I run the test on power automate, the flow ran successfully, but I don't receive an email on the email I mentioned when I run the chatbot.
I put my realization in the pictures, it's only a topic to test the mail sending, can you have a look and tell me what I forgot or why I don't receive the mail?
Thank you very much
I don't see any error message @Zakaria123123
Can you check the flow execution on the Power Automate side, what variables were passed, etc.?
Troubleshooting a cloud flow - Power Automate | Microsoft Learn
Thank you @HenryJammes but i have an other problem please :
in the same topic, I wanted to try the automatic mail sending feature with power automate by creating a flow, however I don't see any errors but I don't receive the mail.
Can you please have a look? I'm putting the images below.
Thanks
OK got it - yes, to set the value of a variable of type Choice you can't directly use a formula on the same variable.
If the goal is to use it later in a Power Automate cloud flow, it indeed needs to be converted to String.
You can do that by using the Set variable value node and creating a new variable:
Text(Topic.SelectedOption)
Or, you can directly do that when you pass the input to the Power Automate cloud flow:
Yes, I only have the list of exhibitions displayed because I put my exhibition variable in the "set variable" section. Maybe I need to create a new variable in "set variable"? @HenryJammes
I was not able to solve the problem on my part.
In any case I find this workflow very cumbersome, Microsoft should think about fixing this variable Type issue on their part, modifying variables to use them in the flow doesn't seem ideal.