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) {
124
124
* conditions Cadence allows two workflows with the same domain and workflow id run
125
125
* simultaneously.
126
126
* <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.
131
130
* </ul>
132
131
*
133
132
* <ul>
@@ -137,6 +136,12 @@ public Builder setWorkflowId(String workflowId) {
137
136
* <ul>
138
137
* RejectDuplicate doesn't allow new run independently of the previous run closure status.
139
138
* </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>
140
145
*/
141
146
public Builder setWorkflowIdReusePolicy (WorkflowIdReusePolicy workflowIdReusePolicy ) {
142
147
this .workflowIdReusePolicy = workflowIdReusePolicy ;
You can’t perform that action at this time.
0 commit comments