[ATL] condition in source pattern [message #94345] |
Mon, 03 November 2008 10:05 |
Miguel Llàcer San Fernando Messages: 63 Registered: July 2009 |
Member |
|
|
Hi,
I'm using a list in condition of called rules that contains elements which
type is like the source pattern, that is:
rule SomeGateways2UseCase {
from
i:BPMN!Activity (thisModule.gatewayList.includes(i) = false)
but when transformation is executed, it seems like list is empty !!!
...
INFO: Execute rule: SomeGateways2UseCase IN!Gateway6
INFO: gatewayList: Sequence {}
INFO: gatewayList: Sequence {IN!Gateway6, IN!Gateway7}
INFO: Execute rule: SomeGateways2UseCase IN!Gateway7
INFO: gatewayList: Sequence {IN!Gateway6, IN!Gateway7}
INFO: gatewayList: Sequence {IN!Gateway6, IN!Gateway7, IN!Gateway7}
...
As we can see, list has values when second time SomeGateways2UseCase rule
is executed but it seems as list was empty !!!
The problem is that i can't use a list in condition of atl rule ?¿?
|
|
|
Powered by
FUDForum. Page generated in 0.03345 seconds