When creating a Cron or Channel Trigger, using Javascript, it is assigned an ID as shown in this extract from the example in the helper libary:
sRule.setTriggers([
TriggerBuilder.create()
.withId("aTimerTrigger")
.withTypeUID("timer.GenericCronTrigger")
.withConfiguration(
new Configuration({
"cronExpression": "0/10 * * * * ?"
})).build()
]);
my question is how does one access this ID from within the triggered rule?