Skip to content

Commit

Permalink
[JBPM-10043] EventEmitter return wrong "task-status" : "Ready" instea…
Browse files Browse the repository at this point in the history
…d "task-status" : "Reserved" (#2128) (#2187)
  • Loading branch information
elguardian committed Aug 5, 2022
1 parent d881466 commit eef69a9
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -414,6 +414,7 @@ public void taskOperation(final Operation operation, final long taskId, final St
case Delegate: {
// This is a really bad hack to execut the correct behavior
((InternalTaskData) task.getTaskData()).setStatus(Status.Reserved);
persistenceContext.updateTask(task);
taskEventSupport.fireAfterTaskDelegated(task, context);
break;
}
Expand Down

0 comments on commit eef69a9

Please sign in to comment.