File tree Expand file tree Collapse file tree 2 files changed +4
-14
lines changed
temporal-sdk/src/main/java/io/temporal/nexus Expand file tree Collapse file tree 2 files changed +4
-14
lines changed Original file line number Diff line number Diff line change 1+ # What's Changed
2+
3+ 2025-03-20 - eed7525d - Revert "Unblock UseExisting conflict policy for Nexux WorkflowRunOperation (#2440)"
Original file line number Diff line number Diff line change 2222
2323import io .nexusrpc .handler .*;
2424import io .nexusrpc .handler .OperationHandler ;
25- import io .temporal .api .enums .v1 .WorkflowIdConflictPolicy ;
26- import io .temporal .client .WorkflowOptions ;
2725
28- /**
29- * WorkflowRunOperation can be used to map a workflow run to a Nexus operation
30- *
31- * <h3>Pre-release feature: Attaching multiple Nexus callers to an underlying handler Workflow:</h3>
32- *
33- * <p>{@link WorkflowOptions#getWorkflowIdConflictPolicy()} is by default set to fail if a workflow
34- * is already running. That is, if a caller executes another operation that starts the same
35- * workflow, it will fail. You can set it to {@link
36- * WorkflowIdConflictPolicy#WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING} to attach the caller's
37- * callback to the existing running workflow. This way, all attached callers will be notified when
38- * the workflow completes.
39- */
26+ /** WorkflowRunOperation can be used to map a workflow run to a Nexus operation */
4027public final class WorkflowRunOperation {
4128 /**
4229 * Maps a workflow method to an {@link io.nexusrpc.handler.OperationHandler}.
You can’t perform that action at this time.
0 commit comments