[jboss-user] [JBoss jBPM] - signal() or leaveNode() ??
francis1970
do-not-reply at jboss.com
Mon Feb 18 05:58:41 EST 2008
Hi all !
I'm using an ActionHandler to invoke a stored Procedure when some nodes are entered. This should simply invoke the stored Procedure, store the result in a variable and then move the execution to next node.
public void execute(ExecutionContext context) throws Exception {
| DBManager.getInstance.invokeStoredProcedure(params..);
| context.leaveNode();
|
| // or this ??
| //context.signal();
| }
Is it more appropriate to issue context.leaveNode() or signal() ? what is the difference between these two ??
Thanks
Francesco
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4130056#4130056
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4130056
More information about the jboss-user
mailing list