diff --git a/li.strolch.service/src/main/java/li/strolch/execution/policy/SimpleExecution.java b/li.strolch.service/src/main/java/li/strolch/execution/policy/SimpleExecution.java index a99558338..ff404e4c9 100644 --- a/li.strolch.service/src/main/java/li/strolch/execution/policy/SimpleExecution.java +++ b/li.strolch.service/src/main/java/li/strolch/execution/policy/SimpleExecution.java @@ -71,6 +71,11 @@ public class SimpleExecution extends ExecutionPolicy { } } + protected void toExecuted() throws Exception { + stop(); + getController().toExecuted(this.actionLoc); + } + protected void toError(LogMessage message) { stop(); logger.error("Action " + message.getLocator() + " failed because of: " + message.formatMessage());