diff --git a/src/main/java/com/uber/cadence/internal/common/WorkflowExecutionUtils.java b/src/main/java/com/uber/cadence/internal/common/WorkflowExecutionUtils.java index 5d9add40c..9cff4deca 100644 --- a/src/main/java/com/uber/cadence/internal/common/WorkflowExecutionUtils.java +++ b/src/main/java/com/uber/cadence/internal/common/WorkflowExecutionUtils.java @@ -274,6 +274,7 @@ private static CompletableFuture getInstanceCloseEventAsync( request.setExecution(workflowExecution); request.setHistoryEventFilterType(HistoryEventFilterType.CLOSE_EVENT); request.setWaitForNewEvent(true); + request.setSkipArchival(true); request.setNextPageToken(pageToken); CompletableFuture response = getWorkflowExecutionHistoryAsync(service, request, timeout, unit);