Random Screen Selection

Hi all,

Looking for some help with ‘reward screens’.

I’m building an educational app that has a selection of x3 reward screens after completing an activity. (Think Duolingo - the XP/reward screens!)

I’d like the user to see a different reward screen each time they complete an activity - or for the three screens to cycle so the user is served 1 of the 3 each time.

Any ideas on how I can make this happen?

Welcome to Adalo!

Try this:

When the activity is completed, have the action that completes the activity update a property on the User profile with a random number between 1 and 3 (use a New Function and the RAND function). Then have 3 actions to Link to 1 of the 3 screens but have it use the When Does this Happen box under Advanced to define which screen goes with which number. Hope that helps. Fun idea.

This has done the trick - thank you very much!

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.