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&...]