I have some internal variables witch are stored to mapdb persistence, if i load then whtout the rule everything works fine, but if i load the rule:
when
System started
then
if (SET_WECKER_1_ZeitStunde.state == Uninitialized || SET_WECKER_1_ZeitStunde.state == Undefined) {
postUpdate(SET_WECKER_1_ZeitStunde, 8)
}
if (SET_WECKER_1_ZeitMinute.state == Uninitialized || SET_WECKER_1_ZeitMinute.state == Undefined) {
postUpdate(SET_WECKER_1_ZeitMinute, 15)
}
end
it doesent work, i need to load the persistence before the rule loads.