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 :
Copilot Studio
Unanswered

If condition

(0) ShareShare
ReportReport
Posted on by 391

Hi everyone

 

Can PVA checks if the choice "Local Computer" has been selected in the last 5 minutes by the user by using one of the system variables? 

 

nicklim_0-1687257687167.png

 

 

Thanks.

Categories:
I have the same question (0)
  • MattJimison Profile Picture
    577 Most Valuable Professional on at

    Can you provide a little more context on what you're looking to do? You can switch conditions to advanced where you can use Power Fx to create more complex scenarios, including looking at the current time, but I'm not sure I understand your use case. Ultimately, you'd need to track the time of the selection, though, in another variable, so you have something to compare the current time to.

  • nicklim Profile Picture
    391 on at

    Hi @MattJimison 

     

    For example, the "Question" card has two choices, let's call it "Red" and "Blue". Whenever a user selects "Red", I want PVA to check if "Red" has been clicked in the last 5 minutes by the same user.

     

    If yes, tell the user to try again after 5 minutes.

     

    If no, continue to run the next topic.

     

    I hope that makes sense.

     

    Thanks.

  • nicklim Profile Picture
    391 on at

    Hi @MattJimison 

     

    Further update.

     

    I set a variable and called it ChoiceSelectTimestamp, I left the value column blank as I want the default value to be null. Not sure if that's the way to do it?

    nicklim_9-1687293733501.png

     

     

    Originally, this chatbot will trigger a flow from PA > PAD for unlocking user's AD account. Now I want PVA to check if the choice "Local Computer" has been selected by the user in the last 5 minutes.

     

    nicklim_7-1687293457152.png

     

    nicklim_8-1687293472107.png

     

     

     

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
Valantis Profile Picture

Valantis 325

#2
Romain The Low-Code Bearded Bear Profile Picture

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

#3
chiaraalina Profile Picture

chiaraalina 119

Last 30 days Overall leaderboard