File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -10,5 +10,7 @@ type Activity struct {
10
10
11
11
WorkflowInstance * core.WorkflowInstance
12
12
13
+ WorkflowMetadata * core.WorkflowInstanceMetadata
14
+
13
15
Event history.Event
14
16
}
Original file line number Diff line number Diff line change @@ -12,12 +12,15 @@ type Workflow struct {
12
12
// WorkflowInstance is the workflow instance that this task is for
13
13
WorkflowInstance * core.WorkflowInstance
14
14
15
+ // TODO: Use this? Or make the span more explicit?
16
+ Metadata * core.WorkflowInstanceMetadata
17
+
15
18
// LastSequenceID is the sequence ID of the newest event in the workflow instances's history
16
19
LastSequenceID int64
17
20
18
21
// NewEvents are new events since the last task execution
19
22
NewEvents []history.Event
20
23
21
- // Backend specific data
24
+ // Backend specific data, only the producer of the task should rely on this.
22
25
CustomData any
23
26
}
You can’t perform that action at this time.
0 commit comments