Skip to main content
Generate a random number
Wrk Product avatar
Written by Wrk Product
Updated over a week ago

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)

Name

Description

Data Type

Required?

Example

Lowest value

The lowest possible integer that can be generated

Number

Yes

1

Highest value

The highest possible integer that can be generated

Number

Yes

5

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)

Name

Description

Data Type

Required?

Example

Random number

A randomly generated integer between the lowest and highest values

Number

Yes

3

Random number with decimals

A randomly generated number between the lowest and highest values

Number with Decimals

Yes

3.75

Outcomes

Name

Description

Success

This status is selected when the random number is successfully created

Requirements

  • N/A

Did this answer your question?