RANDOM_ITEM

Description

Returns a random item from the given set of items.

Syntax

RANDOM_ITEM(...item) -> Object

Parameters

ParameterData TypeRequiredDescription
...itemObjectYesSet of items.

Example

RANDOM_ITEM("New", "In Progress", "Escalated", "Closed")
-- Possible output: "In Progress".

Tips

  • This function is only allowed for actions targeting sandboxes, to prevent accidental masking of production data.