Skip to main content

Generate a random number

Generate a random integer between a specified lowest and highest value. Lowest and highest values are included in the generated numbers.

Application

  • Calculate

Inputs (what you have)

NameDescriptionData TypeRequired?Example
Lowest valueThe lowest possible integer that can be generatedNumberYes1
Highest valueThe highest possible integer that can be generatedNumberYes5

Note: the value of inputs can either be a set value in the configuration of the Wrk Action within the Wrkflow, or a variable from the Data library section. These variables in the Data library section are the outputs of previous Wrk Actions in the Wrkflow.

Outputs (what you get)

NameDescriptionData TypeRequired?Example
Random numberA randomly generated integer between the lowest and highest valuesNumberYes3
Random number with decimalsA randomly generated number between the lowest and highest valuesNumber with DecimalsYes3.75

Outcomes

NameDescription
SuccessThis status is selected when the random number is successfully created

Requirements

  • N/A