Skip to main content

Notifications

Community site session details

Community site session details

Session Id : vvRmF1jazlIBDcoKECQRbJ
Copilot Studio - General
Unanswered

How to get last user input in preview version of PVA?

Like (0) ShareShare
ReportReport
Posted on 31 Jan 2023 17:36:50 by Microsoft Employee

I want to get the last user input from chat box.

Using System variable "Activity.Text" in Production version of PVA, able to get last user input. But how to achieve this same in preview version of PVA?

  • Robulane Profile Picture
    on 10 Feb 2023 at 11:04:51
    Re: How to get last user input in preview version of PVA?

    You can enable it in "AI capabilities" page

    Robulane_0-1676027083068.png

     

  • arun01 Profile Picture
    Microsoft Employee on 01 Feb 2023 at 02:51:20
    Re: How to get last user input in preview version of PVA?

    Hi @Robulane ,

     

    Thanks for the reply.

    LastMessage.Text and Activity.Text is available in preview version of PVA. But it's not available in production version of PVA.

     

    Is there a way to use system variable in production version of PVA??

  • Robulane Profile Picture
    on 31 Jan 2023 at 18:09:22
    Re: How to get last user input in preview version of PVA?

    Hi @arun01 ,

    You can also use system variable. You have two system variables for this purpose: LastMessage.Text and Activity.Text.

    Activity.Text gives you the text of the current incoming activity. LastMessage.Text gives you the text of the last message activity. Activity.Text can be null if user's incoming activity doesn't have text.

    Here is an example:

        - kind: SendMessage
          id: sendMessage_2Zj3mx
          message: "{System.LastMessage.Text}"

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,520 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,869 Most Valuable Professional

Leaderboard
Loading started