You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add link field to propagate backlink in signal and signal-with-start responses (#761)
<!-- Describe what has changed in this PR -->
**What changed?**
Added `link` fields on `SignalWorkflowExecutionResponse` and
`SignalWithStartWorkflowExecutionRequest`. I think a singular link
should suffice but if reviewers feel otherwise (especially w.r.t.
`SignalWithStartWorkflowExecutionRequest`) let me know.
<!-- Tell your future self why have you made these changes -->
**Why?**
To propagate backlinks on signal and signal-with-start executions back
to the caller.
<!-- Are there any breaking changes on binary or code level? -->
**Breaking changes**
Not a breaking change (unused field)
<!-- If this breaks the Server, please provide the Server PR to merge
right after this PR was merged. -->
**Server PR**
temporalio/temporal#9897
Copy file name to clipboardExpand all lines: openapi/openapiv2.json
+15-1Lines changed: 15 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -16546,11 +16546,21 @@
16546
16546
"started": {
16547
16547
"type": "boolean",
16548
16548
"description": "If true, a new workflow was started."
16549
+
},
16550
+
"signalLink": {
16551
+
"$ref": "#/definitions/v1Link",
16552
+
"description": "Link to be associated with the WorkflowExecutionSignaled event.\nAdded on the response to propagate the backlink.\nAvailable from Temporal server 1.31 and up."
16549
16553
}
16550
16554
}
16551
16555
},
16552
16556
"v1SignalWorkflowExecutionResponse": {
16553
-
"type": "object"
16557
+
"type": "object",
16558
+
"properties": {
16559
+
"link": {
16560
+
"$ref": "#/definitions/v1Link",
16561
+
"description": "Link to be associated with the WorkflowExecutionSignaled event.\nAdded on the response to propagate the backlink.\nAvailable from Temporal server 1.31 and up."
16562
+
}
16563
+
}
16554
16564
},
16555
16565
"v1StartActivityExecutionResponse": {
16556
16566
"type": "object",
@@ -18470,6 +18480,10 @@
18470
18480
"externalWorkflowExecution": {
18471
18481
"$ref": "#/definitions/v1WorkflowExecution",
18472
18482
"description": "When signal origin is a workflow execution, this field is set."
18483
+
},
18484
+
"requestId": {
18485
+
"type": "string",
18486
+
"description": "The request ID of the Signal request, used by the server to attach this to\nthe correct Event ID when generating link."
0 commit comments