Hello All,
I am new to UI Path and learning everyday with baby steps. Can someone help me to solve a problem in App
I am trying to develop an app using UI Path apps category & designed the layout with few textbox & label controls. I am trying to add event when one of the button is clicked, a random number should be generated and fetched in other textbox but i couldn’t find solution for it
Hello @Shanmuga_Chidambaram ,
you can use GUID() function to generate random Unique identifier.
Thanks,
AK
@Arvind_Kumar1 Thanks! but it generates 15 digit alphanumber unique identifier but i need 4 digit (only number) to generate randomly. Is it possible?
Please check this link:
In this case you can create a process and call process to get 4 digit number.
you can develop your logic in process and store in out Argument.
Thanks,
AK
@Arvind_Kumar1 Thanks but need your support on this as it is my first time in UI Path Apps. I tried but not able to fetch, Can you pls guide what to be done in new process?
Are u able to execute the process from orchestrator?
Please run first manually.
Thanks,
AK
@Shanmuga_Chidambaram
Use this CShort(new Random().Next(0, 9999)) to set value for random