rule "Clock tick"
when
Time cron "0 0/1 * * * ?" // each minute
then
if(triggeringItem===null) {
logInfo("testit","Surprise")
}
end
Error during the execution of rule 'Clock tick': The name 'triggeringItem' cannot be resolved to an item or type; line 12, column 5, length 14
For completeness,
if(triggeringItem===null && triggeringItem.name=="blah")
throws the identical error (nothing about name)
triggeringItem is working as designed, as described here
I think there has been some mixup about what code provoked which failure.