Thanks. It works!
On May 21, 2013, at 7:20 PM, Wolfgang Laun wrote:

> On 21/05/2013, Aleksandar Toshovski <[email protected]> wrote:
> 
>> Also I get an error when I try to use something like this:
>> 
>> rule "AttributeChange EAttribute id"
>>    when
>>        diff: IDiff( operationType == OperationType.ADD, differenceType ==
>> DiffType.ATTRIBUTE, parameter=="id", !oldValue.equals(newValue) )
>>    then
>> end
>> 
>> 
>> Error: Rule Compilation error : [Rule name='ReferenceChange EClass add
>> Attribute/Reference']
> 
> The rule name in the error message does not match the one you have posted 
> above.
> 
> 
>> 
>> 
>> Can you give me an example?
>> 
> 
> rule x
> when
> then
> end
> 
> -W
> 
> 
>> On May 21, 2013, at 7:07 PM, Wolfgang Laun wrote:
>> 
>>> On 21/05/2013, Aleksandar Toshovski <[email protected]> wrote:
>>>> Hello,
>>>> 
>>>> I have many rules, which have exactly the same "then" block. Is it
>>>> possible
>>>> to leave the then cause empty?
>>> 
>>> Yes.
>>> -W
>>> 
>>>> I only need to know is if a rule was
>>>> activated or not and for this reason I'm using
>>>> WorkingMemoryConsoleLogger.activationCreated().
>>>> 
>>>> Best Regards,
>>>> Aleksandar Toshovski
>>>> 
>>>> 
>>> _______________________________________________
>>> rules-users mailing list
>>> [email protected]
>>> https://lists.jboss.org/mailman/listinfo/rules-users
>> 
>> 
> _______________________________________________
> rules-users mailing list
> [email protected]
> https://lists.jboss.org/mailman/listinfo/rules-users


_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to