Random number generation

How to create a random integer generator function in declare expression pega?

Hi @KavinrajT-150407, you can use the random function and round it to the nearest integer value: round(random(1,10000)).

For eg, .FirstName + round(random(0,10000))

@KavinrajT-150407

You could make use of @CreateUniqueID() function to generate unique identifier.

Attached screenshot for reference.

@Gunasekaran_Baskaran Thank you so much! This Helped a lot!