Random Values
UUID
The UUID method generates a universally unique identifier (UUID) that can be used for reliably identifying records, correlation IDs, or any object that requires a unique reference.
This method uses Java 21’st built-in UUID.randomUUID() function, which generates a type 4 (random) UUID.
- A UUID is a 128-bit value, typically represented as a 36-character string (including hyphens), e.g.,
550e8400-e29b-41d4-a716-446655440000. - In Java 21,
UUID.randomUUID()relies on a cryptographically strong pseudo-random number generator (SecureRandom) to create 122 bits of randomness. The remaining 6 bits are reserved for version (4) and variant fields, ensuring compliance with RFC 4122. - This guarantees both uniqueness and standard compatibility across systems.
Result Mapping
The generated UUID is stored in the Execution State at the location specified by the provided JSON Path expression.
Password
The Password method generates a secure random password based on configurable options. This allows you to tailor password complexity to meet security requirements or specific application needs.
By default, the generated password includes uppercase and lowercase letters, digits, and special characters. You can disable or enable any of these character groups and specify the desired password length.
Input Parameters:
| Name | Description |
|---|---|
| Uppercase Letters | Include English uppercase letters (A–Z). Default: Yes |
| Lowercase Letters | Include English lowercase letters (a–z). Default: Yes |
| Digits | Include digits (0–9). Default: Yes |
| Special Characters | Include special characters from the set !@#$%^&*()-_+=?. Default: Yes |
| Length | The total length of the generated password. Default: 0 (must be set to a positive value to generate a password) |
Result Mapping
The generated password is stored in the Execution State at the location specified by the provided JSON Path expression.
Random Integer
The Random Integer method generates a random integer within a specified range. It uses Java 21’st SecureRandom for generation, ensuring strong randomness suitable for secure and reliable workflows.
By default, the range spans from 0 (inclusive) up to 2,147,483,647 (exclusive), which covers the maximum positive integer range. You can customize both the lower and upper bounds to fit your use case.
Input Parameters:
| Name | Description |
|---|---|
| From (inclusive) | The lower bound of the interval. Default: 0 |
| To (exclusive) | The upper bound of the interval (not included in the result). Default: 2147483647 |
Result Mapping
The generated random integer is stored in the Execution State at the location defined by the provided JSON Path expression.