
I am working on a Power App that allows the user to enter how often they wish to receive push notifications.
Currently, the reminder push notifications are sent every hour, on the hour to all users. But i would like for this to be dynamic. So, an admin of the powerapp could go into the powerapp and set the recurrence frequency to every 10 mins, and upon saving this would let the power automate push notification flow know that it should be every 10 mins, not every 60. Once the admin makes this change it effects all users of the app.
I would do a native formula.
Most of my C# timers and triggers use MOD() as an argument and I count seconds/minutes.
MOD in programming is essentially the remainder of a division equation. So A 60 second timer in c# would be as follows. I'm sure you do the same value with the Timer input value does the same thing. Just MOD value of 60000 for 60 seconds.
do{
timecountSeconds = 0
timecountSeconds++
if(timecountSeconds % 60 == 0){console.writeline(timecountSeconds)}
}while(!cancel)
In power apps you could create a custom timer that takes a value from a form and you can have users or admins modify this value to dynamically change the timer value. I don't usually work with PowerApps but I know you can achieve a similar result.