Skip to content

Random Choice Node

Utils/Random

Picks elements out of an array at random

random_choicestd
Inputs4
Outputs3
Security exposure10/10
Packagestd

Ratings

Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.

SecurityAttack surface and exposure impact.
10/10High
PrivacyPotential sensitivity of processed data.
10/10High
PerformanceRuntime or resource pressure.
10/10High
GovernancePolicy, audit, or compliance impact.
10/10High
ReliabilityOperational stability considerations.
10/10High
CostExternal or compute cost impact.
10/10High

Input Pins

4

In

Execution
exec_in

Trigger Pin

Array

Generic Array
array_in

Your Array

Generic type enforced

Count

Integer
count

How many elements to draw

Default 1

Allow Repeats

Boolean
allow_repeats

Draw with replacement, so the same element can come up twice

Default false

Output Pins

3

Out

Execution
exec_out

Element

Generic
element

The first drawn element

Elements

Generic Array
elements

Every drawn element

Generic type enforced

Node Info

Internal name
random_choice
Category
Utils/Random