How to generate a random number in a JSON's field
<p>Here is my JSON. In field of Corelation Id, I want to generate a random number, how can I do that? I am using this function ->  <strong>${__Random(1, 10000)}</strong> but its not working, any suggestion please.</p>

<pre><code>"LoginRequest": {
                 "Header": {
                  "CMMHeader": {
                    "CorrelationId":  ${__Random(1, 10000)},
                  }
                },
                     "ClientContext": {"UserName": "user102@domain503.com"},
                     "UserName": theUsername,
                      "UserPassword": thePassword

                    }
                  }
</code></pre>