Skip to content

Random items

  • Type data.random
  • Group Data
  • Role action
  • Risk reads only
  • Side effect none
  • Runs once per execution

Picks N random items, repeatable with a seed

count

Count · integer · required · default 1 · range 1 – …

How many items to pick.

allowRepeats

Allow repeats · boolean · optional · default false

The same item may be picked more than once.

seed

Randomness · object · optional · default {"mode":"random"}

Random choices repeat for the same seed: the same account gets the same variant every run. Empty = new each run.

Fields:

  • mode (string) Mode
  • value (integer) Value
  • main

← All nodes