How to handle references? [message #724498] |
Mon, 12 September 2011 13:30 |
fafanellu Messages: 37 Registered: July 2011 |
Member |
|
|
Hi again, I have a relationship linked to a class, which must be unique. Once it is created in a rule, I'd like to access this instance from other rules...I thought thisModule.resolveTemp() could do the trick, but it doesn't.
For instance, I have this configuration :
rule anyrule2anything {
transf:Target!ClassA
is_linked_to <- inst
inst:Target!ClassB (
something <- source.something
}
inst is called just once, ClassB is unique. How can I call this class later from another rule ? Target!ClassB doesn't seem to work...
besides...on every matched rule, I can specify a condition, it works. As soon I try to do so in a lazy rule, the condition is not taken into account. Is this normal or is this a bug ?
I don't know if I expressed my proble in the right terms...thanks for your advices and your help
[Updated on: Mon, 12 September 2011 14:45] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02389 seconds