Generating a Unique Mobile Number

How to generate a 10 digit random mobile number ?

@KudikalaC0004
There is an OOTB function random(double,double) which can be used. In your scenario if it is not generating 10 digit number then you can generate 2 random numbers and concatenate it. For example you can generate 2 different 5-digit random number convert them to string concatenate them if you are not going to do any operation on this number then even in string format is should be fine.

Hopefully this approach might help.

Also to make sure that the random numbers generated are integers you can use round function. For example round(random(100000,99999)).

@KudikalaC0004 Hi, try this to get the required random 10 digit number

replaceAll(generateSystemNodeRandomNumber(tools,@String.length(pxProcess.pxSystemNodeID)+10),pxProcess.pxSystemNodeID,“”)

@AkshithReddyT

Thanks it helps.