web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Can't send datetime to...
Copilot Studio
Unanswered

Can't send datetime to flow.

(0) ShareShare
ReportReport
Posted on by 3

Hi,

I'm building a chatbot, that asks the user for a date, using the Date and Time entity. This value is stored with data type of datetime.

 

I would like to pass this value to an action, but it won't let pick the variable from the list of options. The action itself asks for a PVA input with datatype text. 

 

How can I pass the datetime to my action? 

 

Thanks

Jan

 

I have the same question (0)
  • Expiscornovus Profile Picture
    33,189 Most Valuable Professional on at

    Hi @janszett,


    As far as I am aware the Power Automate PVA trigger action currently only supports text, number and boolean input data types.

     

    I was running into the same issue when I came across this post. If I can find a workaround I will post it over here.

  • janszett Profile Picture
    3 on at

    Thank you. 

  • spencey11 Profile Picture
    22 on at

    Is this the same for passing choice values to Flow? Any steers on how you would achieve this as a workaround?

  • HenryJammes Profile Picture
    on at

    Hi everyone,

     

    I'm not sure I understand the issue here.

    I'm able to pass a date and time variable to Power Automate, and in Power Automate be able to handle it as a date, for example to format it differently:

     

    HenryJammes_0-1679571641435.png

     

    E.g.

    formatDateTime(triggerBody()['text'], 'f')

    HenryJammes_1-1679571671836.png

     

  • Expiscornovus Profile Picture
    33,189 Most Valuable Professional on at

    Hi @HenryJammes,

     

    This is a thread of 2 years ago. Shouldn't be an issue in the current version like you already demonstrated 😁

  • spencey11 Profile Picture
    22 on at

    I think i jumped on the back of an old post, only just started with PVA. I have a choice (choices-P-S-U)menu Pending, Successful and Unsuccessful options. My flow (FlowPVA) has a text field to capture the users response from a variable which I then want to email to someone else in the firm. The problem I have is that the selected choice is not allowing me to pass to Flow as i am getting incorrect type:EmbeddedOptionSet. How can i ensure the selected choice variable is converted to text so that i can pass it to Flow?

  • HenryJammes Profile Picture
    on at

    I see @spencey11. This looks similar to this thread: Solved: Re: Passing a Multi Choice Question response to a ... - Power Platform Community (microsoft.com)

    Let me know if that helps

  • spencey11 Profile Picture
    22 on at

    Thank you! @HenryJammes it worked a treat. 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 255 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 205 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 101 Moderator

Last 30 days Overall leaderboard