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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / closing app if no acti...
Power Apps
Answered

closing app if no activity

(0) ShareShare
ReportReport
Posted on by 997

Hello,

Is there a way i can manage to close the app when no activity has picked up like say 1hour
So, the app will exit?

When the user does something on the app, it may not exit it.

Any idea?

 

Thank you

-TimmyBoy

Categories:
  • Verified answer
    WarrenBelz Profile Picture
    156,520 Most Valuable Professional on at

    Hi @TimmyBoy 

    You could have a Timer for 60 minutes with Exit() on the OnTimeEnd property, but you need to trigger to start it - maybe OnVisible of each screen or when a record is saved.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • TimmyBoy Profile Picture
    997 on at

    Hello @WarrenBelz,

    So, what happens when we use this timer, and the user does some activity

    Will this automatically restart the timer again? or keeps the timer continues till 60min

  • WarrenBelz Profile Picture
    156,520 Most Valuable Professional on at

    Hi @TimmyBoy ,

    I cannot see your model - all I am saying is that you need to restart the timer at whatever "activity" point you have available (change of a control value, saving of a Form, navigating to a screen etc). There is no "automatic" answer here - you would need to reset the Variable that starts the time and this can only be done when the user interacts with a control in some way.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • TimmyBoy Profile Picture
    997 on at

    @WarrenBelz 

    Okay, i think i understand what you are saying,

    I will just reset the timer once the user does some activity and restart the timer again.

    Thank you

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 394 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 324 Most Valuable Professional

Last 30 days Overall leaderboard