# Generate Random Numer

![](https://476758574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVctm8W2AAd8SbIYUaj27%2Fuploads%2FLVBr2WwuCEvz6fxFlXOF%2Fimage.png?alt=media\&token=3cb238b1-cdab-4457-a6ed-8c7d7dca61b7)

{% tabs %}
{% tab title="Entry Vars" %}
**max number :**  You must enter a numeric type value from which a maximum reference will be taken to generate the random number.

**min number :** A numeric type value must be entered from which the initial reference will be taken to generate the random number.

**Step by Step :**

<figure><img src="https://476758574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVctm8W2AAd8SbIYUaj27%2Fuploads%2FC2KP1jMcuYu4n6VdHm9I%2FGenerate%20Random%20Numer.gif?alt=media&#x26;token=eeed2b10-312f-4fc5-be31-41ed7b627d49" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Callbacks & Outvar" %}
**successfully generated :** It is executed when the generated random number is returned.

OutVars&#x20;

`Null`

**onError :** It is executed when one of the entered values ​​contradicts the function, that is, if the maximum number is less than the minimum or they are not of a numerical type.

OutVars&#x20;

`Null`
{% endtab %}

{% tab title="Features" %}

{% endtab %}

{% tab title="examples" %}

{% endtab %}
{% endtabs %}
