cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
javierz
Level: Powered On

pop up by time condition

Hi all

 

Is it possible to show a pop up, according to the time of day?

the goal is to show a pop up only between 17:00 and 7:00

 

thanks for the possible help

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: pop up by time condition

@javierz 

Sure... design your PopUp and then set its components' visible property to:

   !(curHour>=7 && curHour<=17)

 

EDIT: (Last post excluded the timer, which you need)

Also, add a Timer control and set its properties to AutoRepeat and Autostart every Minute (duration).  In the OnTimerEnd action:

   UpdateContext({curHour:Hour(Now())})

 

Hope that helps you some.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.

View solution in original post

2 REPLIES 2
Super User
Super User

Re: pop up by time condition

@javierz 

Sure... design your PopUp and then set its components' visible property to:

   !(curHour>=7 && curHour<=17)

 

EDIT: (Last post excluded the timer, which you need)

Also, add a Timer control and set its properties to AutoRepeat and Autostart every Minute (duration).  In the OnTimerEnd action:

   UpdateContext({curHour:Hour(Now())})

 

Hope that helps you some.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.

View solution in original post

Highlighted
javierz
Level: Powered On

Re: pop up by time condition

works

Thank you

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (4,548)