New Guid
Verb: newGuid
Generates a new guid randomly.
A Guid is a universally unique identifier used for identifying information on systems.distributed without central coordination.
Syntax
newGuid (String)=value
Outputs
Script | Designer | AcceptedTypes | Description |
---|---|---|---|
value | Guid | Text | Returns a new generated guid. |
Example
The New Guid command is used to randomly generate a new guid. The Log Message command displays this output in the IBM RPA Studio console.
defVar --name randomGuid --type String
newGuid randomGuid=value
logMessage --message "${randomGuid}" --type "Info"
// Returns the following output:
//"e6369318-fadf-4535-8f51-4cbe5c924e34"
Output can be changed according to command execution.