Random Helper
The Random Helper allows you to generate random values.
Categories: Helpers
Type: randomHelper/v1
Actions
Random Float
Name: randomFloat
Generates a random float value.
Properties
Name | Label | Type | Description | Required |
---|---|---|---|---|
startInclusive | Start Inclusive | INTEGER | The minimum possible generated value. | true |
endInclusive | End Inclusive | INTEGER | The maximum possible generated value. | true |
Example JSON Structure
{ "label" : "Random Float", "name" : "randomFloat", "parameters" : { "startInclusive" : 1, "endInclusive" : 1 }, "type" : "randomHelper/v1/randomFloat"}
Output
Type: NUMBER
Random Hex
Name: randomHex
Generates a random Hex.
Properties
Name | Label | Type | Description | Required |
---|---|---|---|---|
length | Hex Byte Length | INTEGER | Hex byte length must be a positive integer smaller than or equal to 32. | true |
Example JSON Structure
{ "label" : "Random Hex", "name" : "randomHex", "parameters" : { "length" : 1 }, "type" : "randomHelper/v1/randomHex"}
Output
Type: STRING
Random Integer
Name: randomInt
Generates a random integer value.
Properties
Name | Label | Type | Description | Required |
---|---|---|---|---|
startInclusive | Start Inclusive | INTEGER | The minimum possible generated value. | true |
endInclusive | End Inclusive | INTEGER | The maximum possible generated value. | true |
Example JSON Structure
{ "label" : "Random Integer", "name" : "randomInt", "parameters" : { "startInclusive" : 1, "endInclusive" : 1 }, "type" : "randomHelper/v1/randomInt"}
Output
Type: INTEGER
Random String
Name: randomString
Generates a random string value.
Properties
Name | Label | Type | Description | Required |
---|---|---|---|---|
length | Length | INTEGER | The length of the generated string. | true |
characterSet | Character Set | STRING OptionsABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789, ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789~`!@#$%^&*()-_=+[{]}|;:’”,<.>/? | The character set to be used for generating string. | true |
Example JSON Structure
{ "label" : "Random String", "name" : "randomString", "parameters" : { "length" : 1, "characterSet" : "" }, "type" : "randomHelper/v1/randomString"}
Output
Type: STRING
Random UUID
Name: randomUuid
Generates a random UUID.
Example JSON Structure
{ "label" : "Random UUID", "name" : "randomUuid", "type" : "randomHelper/v1/randomUuid"}
Output
Type: STRING