public final class WorkflowExecutionAlreadyStarted extends WorkflowException
WorkflowOptions.getWorkflowIdReusePolicy()
is WorkflowIdReusePolicy.WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE
.
WorkflowOptions.getWorkflowIdReusePolicy()
is WorkflowIdReusePolicy.WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY
.
WorkflowMethod
is called more than
once on a stub created through Workflow.newChildWorkflowStub(Class)
and the WorkflowOptions.getWorkflowIdReusePolicy()
is WorkflowIdReusePolicy.WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE
Constructor and Description |
---|
WorkflowExecutionAlreadyStarted(io.temporal.api.common.v1.WorkflowExecution execution,
java.lang.String workflowType,
java.lang.Throwable cause) |
getExecution, getMessage, getWorkflowType