<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16587" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>> I would like to introduce if\while statements
into the action node</FONT></DIV>
<DIV><FONT face=Arial size=2>The use of if/while statements in the MVEL dialect
is disabled, as it usually leads to less declarative rules. <FONT
face=Arial size=2>For simple if-statements, you can still use (x == null ? x :
y). More complex if/while constructs can usually be defined more
declaratively using extra conditions in the lhs of a
rule.</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I must admit that in the context of action nodes,
it might be valuable to enable them again in this context. But our latest
code on the svn repository already extended the action node so that you can use
the java dialect as well, without limitations.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>For now, I would suggest using rules to express you
actions in complex cases, as they offer more flexibility. And expect to
see some usability improvements to most of the ruleflow nodes in
the future, as the 4.0.x part was still more like a proof-of-concept
implementation for some of the node types.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Kris</FONT></DIV></BODY></HTML>