Skip to content

Commit 9e1f945

Browse files
committed
chore: Add protobuf definition
Signed-off-by: Javier Aliaga <[email protected]>
1 parent 0b94af4 commit 9e1f945

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

20250523-RS-workflow-activity-context.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,17 @@ The proposed fields introduced in this document are:
5656
- WorkflowInstanceId: This field will provide a unique identifier for the workflow instance. It is already available in the orchestration context but will now be propagated to the activity context.
5757

5858
- ActivityInstanceId: This field will provide a unique identifier for the same activity among retries. This new field will be part of the [Activity Request](https://github.com/dapr/durabletask-protobuf/blob/main/protos/orchestrator_service.proto) and needs to be populated in the runtime.
59+
```
60+
message ActivityRequest {
61+
string name = 1;
62+
google.protobuf.StringValue version = 2;
63+
google.protobuf.StringValue input = 3;
64+
OrchestrationInstance orchestrationInstance = 4;
65+
int32 taskId = 5;
66+
TraceContext parentTraceContext = 6;
67+
string activityInstanceId = 7;
68+
}
69+
```
5970

6071
- RetryAttempt: This field will contain the current retry count for the activity execution.
6172

0 commit comments

Comments
 (0)