Is there a built-in function in KRL for generating a GUID of UUID (or something similar)?
Asked
Active
Viewed 66 times
1 Answers
4
I've created a module that wraps a webservice that might hold you over: UUID Module
Use like so:
ruleset a8x165 {
meta {
name "UUID Module Example"
description <<
Example use of the UUID Module
>>
author "Sam Curren"
logging off
use module a8x164 alias uuid
}
dispatch {}
global {}
rule first_rule {
select when pageview ".*" setting ()
pre {
testuuid = uuid:new_uuid();
}
notify("Hello World", "This is a UUID: #{testuuid}");
}
}

TelegramSam
- 2,770
- 1
- 17
- 22