Hi,
you can wrap ootb method with your own, so you'll be able to pass uuid as string to your method which will handle it and pass furthur as uuid.
example:
OBJECT api {
FACTORY {
METHODS {
z_att_evt(string obj_id, string evt, int delay, string cnt);
};
};
};
api::z_att_evt(string obj_id, string evt, int delay, string cnt) {
<...>
}
ps: I dont see any factory defined in your example;
ps2: if you're attaching an event better to use SPEL EVENT methods instead of plain insert object;
Regards,
Timur