Random Number Generator

Reference documentation for using the Random Number Generator action

Written By Support Channel

Last updated 8 months ago

Overview of the Random Number Generator action

The Random Number Generator action generates a random number within a specified range. The action supports both whole numbers (integers) and decimal values. You can also configure the number of decimal places to control the precision of the output.

Purpose

Generates a random Number

Parameters

1 Minimum Value, 1 Maximum Value, 1 Decimal Place Value

Output

Generated random number

Understand the Random Number Generator action

To use the Random Number Generator action, you must configure its settings to define how the number will be generated. These settings are explained below:

Minimum Value

The lowest possible number that can be generated. This can be an integer or a decimal.

Maximum Value

The highest possible number that can be generated. Must be greater than or equal to the minimum value and can also be a decimal.

Decimal Places

Specify the number of decimal places to include in the generated result. For example:

  • 0 = whole number only, 7

  • 2 = two decimal places, 7.53

Create and manage Random Number Generator actions

Add a Random Number Generator action

Add the action

Use the following steps to add the action to a workflow.

Configure the action

Use the following steps to configure the action.

  1. While the action slide over is shown, fill out the required settings.

  2. Click β€˜OK’, Click back in the main view to hide the slide-over.

Delete a Random Number Generator action

Use the following steps to remove the action from your workflow:

Take care when deleting an action to also remove any logic using its outputs: workflow steps may function incorrectly or break if they attempt to evaluate an output of a deleted action.

Use a Random Number Generator action

After using the Random Number Generator action, you will be able to use / to call on and utilise the output value under the Random Number Generator category.