[jboss-dev-forums] [Design of JBoss jBPM] - Re: MessageService and JMS

mteira do-not-reply at jboss.com
Wed Oct 11 09:42:39 EDT 2006


Thanks for the tip Tom. That led me to understand what are the previous* fields in the Command subclasses supposed to be for.

Anyway, if I understand correctly, every command in the Composite list should accept the result of the previous command execution, providing a field with previous{Class name of the previous result command}.
So, to be able to compose a command with a NewProcessInstance and a signal to make it shake, I need SignalCommand to provide a previousProcessInstance field and be able to use it to get the root token of the  newly created process instance to signal it. 

Is that the way to proceed?

Regards.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977542#3977542

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977542



More information about the jboss-dev-forums mailing list