TiKiLa Random Generator Functions
An overview of the TiKiLa functions you can use to generate random data
When you’re building complex automations, you often come to a point where you need random data, i.e. for unique ids, naming etc.
TiKiLa provides a set of functions to generate random data:
TiKiLa Random Generator Functions
randomInteger(lower_limit, upper_limit)
This function generates a random integer between the provided limits. The upper_limit and lower_limit will be included in the set of possible outcomes.
Example:
randomInteger(1,100) —> 73 / randomInteger(1,3) —> 1 or 2 or 3
randomString(string_length)
This function generates a random string of the specified length.
Example:
randomString(8) —> aB3fG7hK
randomWord()
This function generates a random English word.
Example:
randomWord() —> house
randomUuid()
This function generates a random UUID (Universally Unique Identifier) which is a 128-bit value.
Example:
randomUuid() —> 550e8400-e29b-41d4-a716-446655440000
Video Example
Last updated on June 21, 2023