hi,the "expression" attribute for "decision" tag is very nice :
<decision name="decision1" expression="#{xx.xxx}">
<node name="node1" expression="#{xx.xxx}"> ?
ctx.leaveNode(ctx, "big amounts");
Try asking in the jbpm forum :)