[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

"JBPM-2537"

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) {
      task.setSignalling(false);
+     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
[http://community.jboss.org/message/540326#540326]

Start a new discussion in jBPM Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2035]

-------------- 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