diff --git a/temporal-sdk/src/main/java/io/temporal/internal/common/InternalUtils.java b/temporal-sdk/src/main/java/io/temporal/internal/common/InternalUtils.java index 753e75e77..f9fa4c637 100644 --- a/temporal-sdk/src/main/java/io/temporal/internal/common/InternalUtils.java +++ b/temporal-sdk/src/main/java/io/temporal/internal/common/InternalUtils.java @@ -93,7 +93,7 @@ public static WorkflowStub createNexusBoundStub( (a, b) -> a, () -> new TreeMap<>(String.CASE_INSENSITIVE_ORDER))); if (!headers.containsKey(Header.OPERATION_ID)) { - headers.put(Header.OPERATION_ID, options.getWorkflowId()); + headers.put(Header.OPERATION_ID.toLowerCase(), options.getWorkflowId()); } WorkflowOptions.Builder nexusWorkflowOptions = WorkflowOptions.newBuilder(options)