File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed
java/com/uber/cadence/client Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -124,10 +124,9 @@ public Builder setWorkflowId(String workflowId) {
124124 * conditions Cadence allows two workflows with the same domain and workflow id run
125125 * simultaneously.
126126 * <li>
127- *
128- * <ul>
129- * AllowDuplicateFailedOnly is a default value. It means that workflow can start if
130- * previous run failed or was cancelled or terminated.
127+ * <ul>
128+ * AllowDuplicateFailedOnly is a default value. It means that workflow can start if
129+ * previous run failed or was cancelled or terminated.
131130 * </ul>
132131 *
133132 * <ul>
@@ -137,6 +136,12 @@ public Builder setWorkflowId(String workflowId) {
137136 * <ul>
138137 * RejectDuplicate doesn't allow new run independently of the previous run closure status.
139138 * </ul>
139+ *
140+ * <ul>
141+ * TerminateIfRunning terminate current running workflow using the same workflow ID if exist,
142+ * then start a new run in one transaction
143+ * </ul>
144+ * </li>
140145 */
141146 public Builder setWorkflowIdReusePolicy (WorkflowIdReusePolicy workflowIdReusePolicy ) {
142147 this .workflowIdReusePolicy = workflowIdReusePolicy ;
You can’t perform that action at this time.
0 commit comments