[jboss-user] [jBPM Development] - JBPM-2537

Huisheng Xu do-not-reply at jboss.com
Fri Apr 30 04:55:06 EDT 2010

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


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

Hi Sebastian and Maciej,

  Please have a look at this.  I just add two lines in TaskActivity and TaskTimeoutTest could pass successfully.

    DbSession taskDbSession = EnvironmentImpl .getFromCurrent(DbSession.class);
    TaskImpl task = (TaskImpl) taskDbSession.findTaskByExecution(execution);
    if (task!=null) {
+     HistoryEvent.fire(new TaskTimeout("time out"), (ExecutionImpl)execution);
+     taskDbSession.delete(task);

  The testcase project is in the attach.  Please think about it.  If there is any chance, please don't change ExternalActivityBehaviour,  at least not this time.  Thank you very much.


Reply to this message by going to Community

Start a new discussion in jBPM Development at Community

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

More information about the jboss-user mailing list