SCRAMBLE

Description

Shuffle the items in the current batch and select one at random.

Syntax

SCRAMBLE(value) -> same data type as value

Parameters

ParameterData TypeRequiredDescription
valueObjectYesValue whose content will be scrambled.

Example

SCRAMBLE(FirstName) 
-- Returns the FirstName from a randomly selected record in the execution batch.

Tips

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