Hi @MaxZHou,
I see several options here.
- You can add a DateTime property to Users collection, call it “survey popup time”. Set it on the 1st app screen, for example to Current time + (86400/24/60)*5 (this will put a value of current time + 5 minutes).
Then on each screen of the app you add a conditional action linking to a Survey screen. This action should execute only Logged-in User → survey popup time is before Current time.
Don’t forget to set “survey popup time” to some far date in future after the survey is completed - otherwise your users will see it each time.
With this approach, users will get to a survey eventually - though only after they perform an action in the app (it won’t pop up automatically).
- You can use timers. Add timer on each screen, store the remaining seconds (as usual in Logged-in User, calculate them each time you navigate through the screens) and initialise them upon screen enter. This thread may be useful (how to store remaining time for timer: Getting most recent value from countdown timer).
With this approach, you will get pop-up roughly after 5 minutes (or the time you’ve set).
Unfortunately, the approach of one timer which acts “independently” on a separate screen no longer works.
As a side note - unwanted pop-ups are not the best UX practice and users may not be happy with them.
Best,
Victor.