ordering matters, it’s not inconsistent.
The from is applied in the alpha network, it stops reactive of pattern modify.
The insert joins with the ‘from’ in the beta network and propagates - @PR is not applied
at that level.
When ‘insert’ is first, there is nothing for it to join with; so the insert does nothing.
The later modify is ignored during @PR.
When the insert is after, while the @PR is ignored for the modify the insert will now join
with MyClass and propagate.
This is the expected behaviour.
Mark
On 16 Jan 2014, at 00:08, Sonata <plz.write.to(a)gmail.com> wrote:
Mark Proctor wrote
> property reactive will not work with ‘from’.
>
> Mark
Yes I am aware of that and I stated that on my post already.
But this "will not work with ‘from’" is not consistence, making the result
unpredictable.
--
View this message in context:
http://drools.46999.n3.nabble.com/Inconsistent-output-when-PropertyReacti...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users