Skip to main content

Notifications

Copilot Studio - Calling Actions from Copilot S...
Unanswered

PVA Call to Action - Date Input: "BindingIncorrectTypeError"

(0) ShareShare
ReportReport
Posted on by 16

Hi,

I have a PVA which asks for a Start and End Date. 

stanswell84_1-1685465615303.png

 

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.

 

stanswell84_0-1685465539807.png

 

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.

stanswell84_0-1685465909941.png

 

How can I solve this?

 

TIA!

 

Categories:
  • Zakaria123123 Profile Picture
    Zakaria123123 18 on at
    Re: PVA Call to Action - Date Input: "BindingIncorrectTypeError"

    @HenryJammesI've just sorted out what was wrong, thank you very much for your patience.

  • HenryJammes Profile Picture
    HenryJammes on at
    Re: PVA Call to Action - Date Input: "BindingIncorrectTypeError"

    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.

  • Zakaria123123 Profile Picture
    Zakaria123123 18 on at
    Re: PVA Call to Action - Date Input: "BindingIncorrectTypeError"

    @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

  • HenryJammes Profile Picture
    HenryJammes on at
    Re: PVA Call to Action - Date Input: "BindingIncorrectTypeError"

    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_0-1686140412869.png

     

     

  • Zakaria123123 Profile Picture
    Zakaria123123 18 on at
    Re: PVA Call to Action - Date Input: "BindingIncorrectTypeError"

    @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

  • HenryJammes Profile Picture
    HenryJammes on at
    Re: PVA Call to Action - Date Input: "BindingIncorrectTypeError"

    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

  • Zakaria123123 Profile Picture
    Zakaria123123 18 on at
    Re: PVA Call to Action - Date Input: "BindingIncorrectTypeError"

    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

     

     

     

  • HenryJammes Profile Picture
    HenryJammes on at
    Re: PVA Call to Action - Date Input: "BindingIncorrectTypeError"

    @Zakaria123123 @arii21 


    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)

     

    HenryJammes_0-1686130709626.png

     

    Or, you can directly do that when you pass the input to the Power Automate cloud flow:

     

    HenryJammes_1-1686130881195.png

     

  • Zakaria123123 Profile Picture
    Zakaria123123 18 on at
    Re: PVA Call to Action - Date Input: "BindingIncorrectTypeError"

    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 

  • arii21 Profile Picture
    arii21 18 on at
    Re: PVA Call to Action - Date Input: "BindingIncorrectTypeError"

    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. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,580

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,909

Leaderboard

Featured topics