diff --git a/extensions/core/commandlog/applib/src/main/java/org/apache/causeway/extensions/commandlog/applib/job/RunBackgroundCommandsJob.java b/extensions/core/commandlog/applib/src/main/java/org/apache/causeway/extensions/commandlog/applib/job/RunBackgroundCommandsJob.java index 48cb7c700ef..be217a7b762 100644 --- a/extensions/core/commandlog/applib/src/main/java/org/apache/causeway/extensions/commandlog/applib/job/RunBackgroundCommandsJob.java +++ b/extensions/core/commandlog/applib/src/main/java/org/apache/causeway/extensions/commandlog/applib/job/RunBackgroundCommandsJob.java @@ -188,7 +188,7 @@ private void logAndCaptureFailure(Throwable throwable, CommandDto commandDto, In private void invokeListenerCallbackWithinTransaction(RunBackgroundCommandsJobListener listener, List interactionIds, InteractionContext interactionContext) { interactionService.runAndCatch(interactionContext, () -> { - transactionService.runTransactional(Propagation.REQUIRED, () -> { + transactionService.runTransactional(Propagation.REQUIRES_NEW, () -> { listener.executed(interactionIds); }); })