[jboss-user] [jBPM] - Doubt Regarding JBPM-4.3 ActionHandler

Huisheng Xu do-not-reply at jboss.com
Sat Apr 17 04:10:29 EDT 2010

Huisheng Xu [http://community.jboss.org/people/rebody] replied to the discussion

"Doubt Regarding JBPM-4.3 ActionHandler"

To view the discussion, visit: http://community.jboss.org/message/538112#538112

Hi Felix,

  Yes, there is no more ActionHandler, and we still could make process run successfully.

  If you want to do something when one transtion be taken. You could use event-listener.

 <transition to="end">
    <event-listener class="my.Listener"/>

  If you have a state activity with three transition. There will be some possibilities.

    First, you want to let someone invoke ExecutionService.signalExecutionById(id, signalName); to let the process continue to run, at this possibility we needn't use condition in transition.

    Second, you want to use process variable to decide which transition should be take. So you could add a DecisionActivity after the state, you could add condition attribute in the DecisionActivity's outgoing transitions.

   Third, you want to waiting for a while, and let one of transition be taken automaticly, Then you could use timer to do this.


Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100417/e82b605c/attachment.html 

More information about the jboss-user mailing list