[Fix] Also restart activities in planning phase

This commit is contained in:
Robert von Burg 2023-02-27 10:49:22 +01:00
parent 54ed28cd96
commit 8d28727c68
Signed by: eitch
GPG Key ID: 75DB9C85C74331F7
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ public class EventBasedExecutionHandler extends ExecutionHandler {
// we only want to restart activities which were in execution
State state = activity.getState();
if (!state.inExecutionPhase())
if (!state.inExecutionPlanningPhase())
return;
if (activity.isReadOnly())