it seems that current released version of drools, supporting only MVEL code
The action node allows you to simply execute a piece of code. While Drools 4.0.7 only allows you to use mvel fragments, the upcoming Drools 5.x release also allows you to use the Java dialect. It will also allow you to access globals or workingMemory etc.

How can i read the incoming connection of my action ? using MVEL code.
An action node currently does not have direct access to information about the previous node that triggered the action. Could you clarify why you would need this? In Drools5, sharing of information between nodes using globals or the working memory will be possible. But if you could provide a good use case on why you would need access to this information, I could see whether it would be possible to expose this kind of information in the action code as well.

Kris


for example:

Start-->RuleGroup --> Split --> Action --> End

in above example i need to read the name of "Split" in Action using MVEL
code.

in Action.  If it is possible through the JAVA, plz let me know how i can
write java code in Action( any configurations?).


Thanks,
Ravi Thalupula
--
View this message in context: http://www.nabble.com/Reading-incoming-connection-in-Action---Rule-flow-tp17800998p17800998.html
Sent from the drools - user mailing list archive at Nabble.com.

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to