Forum Academy Marketplace Showcase Pricing Features

Random number series

I am using the Airdev plugin to generate random numbers in a workflow for showing 4 random items from the database in an email.

Can’t use “random item” as it always picks the same one in the same step.

So I generate 4 random numbers, but they can duplicate on occasion.

What I did think was to generate a random number between 1 and count of the “items” -2.

And then use number +1 - number + 2 etc to have them in series.

But I can’t quite get the workflow to add 1 to an item number.

Other than maybe storing a number on the user … any other smart way to do this?

This topic was automatically closed after 70 days. New replies are no longer allowed.