|
10464 | 10464 | "$ref": "#/definitions/apiCommonV1Link" |
10465 | 10465 | }, |
10466 | 10466 | "description": "Links to be associated with the activity. Callbacks may also have associated links;\nlinks already included with a callback should not be duplicated here." |
| 10467 | + }, |
| 10468 | + "onConflictOptions": { |
| 10469 | + "$ref": "#/definitions/apiActivityV1OnConflictOptions", |
| 10470 | + "description": "Options for handling conflicts when using ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING." |
10467 | 10471 | } |
10468 | 10472 | } |
10469 | 10473 | }, |
|
10618 | 10622 | "description": "If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.\nTo unset the override after the workflow is running, use UpdateWorkflowExecutionOptions." |
10619 | 10623 | }, |
10620 | 10624 | "onConflictOptions": { |
10621 | | - "$ref": "#/definitions/v1OnConflictOptions", |
| 10625 | + "$ref": "#/definitions/apiWorkflowV1OnConflictOptions", |
10622 | 10626 | "description": "Defines actions to be done to the existing running workflow when the conflict policy\nWORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING is used. If not set (ie., nil value) or set to a\nempty object (ie., all options with default value), it won't do anything to the existing\nrunning workflow. If set, it will add a history event to the running workflow." |
10623 | 10627 | }, |
10624 | 10628 | "priority": { |
|
11133 | 11137 | } |
11134 | 11138 | } |
11135 | 11139 | }, |
| 11140 | + "apiActivityV1OnConflictOptions": { |
| 11141 | + "type": "object", |
| 11142 | + "properties": { |
| 11143 | + "attachRequestId": { |
| 11144 | + "type": "boolean", |
| 11145 | + "description": "Attaches the request ID to the running activity." |
| 11146 | + }, |
| 11147 | + "attachCompletionCallbacks": { |
| 11148 | + "type": "boolean", |
| 11149 | + "description": "Attaches the completion callbacks to the running activity." |
| 11150 | + }, |
| 11151 | + "attachLinks": { |
| 11152 | + "type": "boolean", |
| 11153 | + "description": "Attaches the links to the running activity." |
| 11154 | + } |
| 11155 | + }, |
| 11156 | + "description": "When StartActivityExecution uses the conflict policy ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING and\nthere is already an existing running activity, OnConflictOptions defines actions to be taken on\nthe existing running activity." |
| 11157 | + }, |
11136 | 11158 | "apiCallbackV1CallbackInfo": { |
11137 | 11159 | "type": "object", |
11138 | 11160 | "properties": { |
|
11228 | 11250 | } |
11229 | 11251 | } |
11230 | 11252 | }, |
| 11253 | + "apiWorkflowV1OnConflictOptions": { |
| 11254 | + "type": "object", |
| 11255 | + "properties": { |
| 11256 | + "attachRequestId": { |
| 11257 | + "type": "boolean", |
| 11258 | + "description": "Attaches the request ID to the running workflow." |
| 11259 | + }, |
| 11260 | + "attachCompletionCallbacks": { |
| 11261 | + "type": "boolean", |
| 11262 | + "description": "Attaches the completion callbacks to the running workflow." |
| 11263 | + }, |
| 11264 | + "attachLinks": { |
| 11265 | + "type": "boolean", |
| 11266 | + "description": "Attaches the links to the WorkflowExecutionOptionsUpdatedEvent history event." |
| 11267 | + } |
| 11268 | + }, |
| 11269 | + "description": "When StartWorkflowExecution uses the conflict policy WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING and\nthere is already an existing running workflow, OnConflictOptions defines actions to be taken on\nthe existing running workflow. In this case, it will create a WorkflowExecutionOptionsUpdatedEvent\nhistory event in the running workflow with the changes requested in this object." |
| 11270 | + }, |
11231 | 11271 | "protobufAny": { |
11232 | 11272 | "type": "object", |
11233 | 11273 | "properties": { |
|
14924 | 14964 | }, |
14925 | 14965 | "description": "Nexus operation timed out." |
14926 | 14966 | }, |
14927 | | - "v1OnConflictOptions": { |
14928 | | - "type": "object", |
14929 | | - "properties": { |
14930 | | - "attachRequestId": { |
14931 | | - "type": "boolean", |
14932 | | - "description": "Attaches the request ID to the running workflow." |
14933 | | - }, |
14934 | | - "attachCompletionCallbacks": { |
14935 | | - "type": "boolean", |
14936 | | - "description": "Attaches the completion callbacks to the running workflow." |
14937 | | - }, |
14938 | | - "attachLinks": { |
14939 | | - "type": "boolean", |
14940 | | - "description": "Attaches the links to the WorkflowExecutionOptionsUpdatedEvent history event." |
14941 | | - } |
14942 | | - }, |
14943 | | - "description": "When StartWorkflowExecution uses the conflict policy WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING and\nthere is already an existing running workflow, OnConflictOptions defines actions to be taken on\nthe existing running workflow. In this case, it will create a WorkflowExecutionOptionsUpdatedEvent\nhistory event in the running workflow with the changes requested in this object." |
14944 | | - }, |
14945 | 14967 | "v1Outcome": { |
14946 | 14968 | "type": "object", |
14947 | 14969 | "properties": { |
|
0 commit comments