Generating UUID


I don’t know about the ‘com.wm.util.text.UUID.generate()’.

But I do know that Java has a class for this:


You can use it to generate a UUID.

I hope this helps.


I would like to generate a UUID within Natural batch process.
Is there a functionality within Natural, or do I have to use a Unix shell command like uuidgen, and how do I get back the generated UUID in my Natural program provided that the shell command has been executed successfully?

In both cases, if anybody could anybody provide an example that would be great.