Skip to main content
Core Actions

Random Number Generator

Reference documentation for using the Random Number Generator action

Written By Support Channel

Last updated Over 1 year 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.

  1. Click the ‘plus’ symbol on the workflow path at the point you want to insert the action. This opens the action menu slide-over.

  2. Either:

    • Search for the action using the Search field above the actions in the menu.

    • Locate a Recently Used action in the top section of the menu.

    • Navigate to the action within menu: Core actions are listed under Actions, while Plugin actions are contained within their associated integration.

  3. Select the desired action to insert it. This reveals the action’s configuration panel.

  4. Use the Name field to name the action. This can help users to understand your workflow at a glance. (optional)

  5. Use the Description field to add information describing the action. This can help users wanting to understand how your workflow functions (optional).

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:

  1. Access the workflow in draft mode to edit it.

  2. Either:

    • hover your mouse cursor over the action, and then click the red cross that appears over the top-right corner of the action to delete it. Or:

    • click on the action to open the action slide-over. Click the red 'Delete Step’ button to remove the action from your workflow.

  3. Click Publish in the top-right to commit your changes.

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.

Was this helpful?

Still need help? Share an idea