How do i use NewGuid
1 Like
When you run Guid.NewGuid() → the statement returns of type Guid.
Use Assign Activity
g should be datatype of Guid
g = Guid.NewGuid
In the WrtieLine you can use g.ToString
Regards,
Karthik Byggari
6 Likes
@KarthikByggari Mentioned it right your variable should be of type Guid, see this sample
Main.xaml (5.3 KB)
Thanks,
Prankur
2 Likes
Hi,
This function generates a 15 characters of unique key is there a way to get a shorter one like 5 characters only. I don’t want to use split() function here.
Thanks in Advance
Thanks, works great!