Question
3
Replies
14135
Views
Posted: March 2, 2017
Last activity: February 27, 2018
Closed
Solved
How to generate 10 digit unique ID in sequential order
Hi All,
I have a requirement to generate unique ID with 10 digits, please let me know if any one has any idea on doing it. GenerateID activity create unique ID but we cannot define the ID length.
Regards,
Vinay
***Moderator Edit: Vidyaranjan | Updated Categories***
You need to write utility for achieving this.write java code for generating 10 digit unique random number.
Long unique=(long) Math.floor(Math.random() * 9000000000L) ;
thanks..