diff --git a/temporal-sdk/src/main/java/io/temporal/internal/common/WorkflowExecutionUtils.java b/temporal-sdk/src/main/java/io/temporal/internal/common/WorkflowExecutionUtils.java index 7041750d6..4739a346c 100644 --- a/temporal-sdk/src/main/java/io/temporal/internal/common/WorkflowExecutionUtils.java +++ b/temporal-sdk/src/main/java/io/temporal/internal/common/WorkflowExecutionUtils.java @@ -313,7 +313,6 @@ public static boolean isCommandEvent(HistoryEvent event) { case EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED: case EVENT_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES: case EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ACCEPTED: - case EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_REJECTED: case EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_COMPLETED: case EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED: case EVENT_TYPE_NEXUS_OPERATION_SCHEDULED: diff --git a/temporal-sdk/src/main/java/io/temporal/internal/statemachines/WorkflowStateMachines.java b/temporal-sdk/src/main/java/io/temporal/internal/statemachines/WorkflowStateMachines.java index b66e948c4..17c59cda1 100644 --- a/temporal-sdk/src/main/java/io/temporal/internal/statemachines/WorkflowStateMachines.java +++ b/temporal-sdk/src/main/java/io/temporal/internal/statemachines/WorkflowStateMachines.java @@ -1144,14 +1144,6 @@ private void validateCommand(Command command, HistoryEvent event) { true, commandAttributes.getMessageId().endsWith("accept")); break; - case EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_REJECTED: - assertMatch( - command, - event, - "messageType", - true, - commandAttributes.getMessageId().endsWith("reject")); - break; case EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_COMPLETED: assertMatch( command,