[jboss-user] [jBPM] - Subprocess wait state signal handling not working from parent process (jBPM 4.3)

Maciej Swiderski do-not-reply at jboss.com
Thu May 27 11:41:45 EDT 2010

Maciej Swiderski [http://community.jboss.org/people/swiderski.maciej] replied to the discussion

"Subprocess wait state signal handling not working from parent process (jBPM 4.3)"

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


what are you trying to achieve with timer? Is it used to signal wait state after particular period of time? If so it should look like this:

     <transition name="toGetStatus" to="get status">

           <timer duedate="2 minutes"/>


Please remember that when you use timer in your process then while testing it there are two ways of triggering it:
1. use ManagmentService.executeJob

     Job job = managementService.createJobQuery()

2. enable job executor in your jbpm.cfg.xml (uncomment <import resource="jbpm.jobexecutor.cfg.xml" />)
and remember to put the main thread to sleep to be able to wait for job executor to trigger your timer.



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/20100527/97c5c16e/attachment-0001.html 

More information about the jboss-user mailing list