Hello!
I’m not sure if this approach would make a conflict, so, I was wondering if someone knows if it’s possible. I would like to make two rules, but both rules would use the same trigger item, with different state changes. For example:
rule "Rule #1"
when
Item1 changed
then
some code
end
rule "Rule #2"
when
Item1 changed from 1 to 0
then
some code
end
I know there is previousState, but, since I’m using MapDB as a persistence service, I can’t use it. I need this, because I need to handle one specific case differently then all the others. Thank you in advance.
Best regards,
Davor