Community

JBPM-2537

reply from Huisheng Xu in jBPM Development - View the full discussion

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

Start a new discussion in jBPM Development at Community