Example with fields: in a rule you need to check first whether an entity has a field before you can do a data comparison on that field. So there is a dependency between those two conditions, is that a problem in the way you optimize conditions now in the decision tree?

Comments

Saubhagya’s picture

Yes, I didn't look at that for event sets now and it's a problem. What can be the possible way to check that?

klausi’s picture

integrityCheck() should tell you whether the configuration is ok or not.

s0s’s picture

Hi there! I have a similar setup, but a different approachto check the states, it works just fine:

Check a truth value: $node->_workflow == 5;
[Omit the php tags!] '5' is my live work flow state (you'll find it in your work flow overview). I hope that helps.

s0s’s picture

Sry, idiot post. Can't delete.