Random numbers in blue prism

Sachin_Kharmale

Active Member
Hello ,
You can generate random number using code stage in blue prism and store generated random number in Data Item.
View attachment 1557488610318.png

In Object initialization page of the Object in object studio select programming language as C#.Net
Use the following code to generate random number

C# Code-
Random random = new Random();
Random_Number=random.Next(0,1000);
View attachment 1557488679186.png

The above code stage will generate random number and it will store in output data item.

Best Regards,
Sachin
 

jacksson787

New Member
Sachin_Kharmale, nice, thanks for sharing. I like to read articles about random numbers and other trusted astrology news, which can affect on human being and predict some things before you've made any movements every single day. It helps a lot when you know something about your future.
 
Last edited:

Shezi

New Member
Hello ,
You can generate random number using code stage in blue prism and store generated random number in Data Item.
View attachment 3771

In Object initialization page of the Object in object studio select programming language as C#.Net
Use the following code to generate random number

C# Code-
Random random = new Random();
Random_Number=random.Next(0,1000);
View attachment 3772

The above code stage will generate random number and it will store in output data item.

Best Regards,
Sachin
Thank you so much Sachin, this is really helpful.
 
Top