"fewagewasd" wrote : Is there any way to tell jbpm to wait in the state and
execute the action when I call signal()?
If the action on your node (the main node action, not the event action) does not call
token.signal(), then the execution will not propagate. The instance will "wait in the
state" until you call signal() again. When you call signal() again, you have to
notify which transition to take, e.g. signal("error").
If you'd rather have your code make the decision, introduce another node in the flow -
after your wait-state node - and make the decision in its main action. This way, when you
call signal(), you always take the only transition to a new node, and there its action
will decide where to go.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063379#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...