Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Activity ¶
type Activity struct {
ID string
WorkflowInstance *core.WorkflowInstance
Metadata *core.WorkflowMetadata
Event history.Event
}
type Workflow ¶
type Workflow struct {
// ID is an identifier for this task. It's set by the backend
ID string
// WorkflowInstance is the workflow instance that this task is for
WorkflowInstance *core.WorkflowInstance
WorkflowInstanceState core.WorkflowInstanceState
Metadata *core.WorkflowMetadata
// LastSequenceID is the sequence ID of the newest event in the workflow instances's history
LastSequenceID int64
// NewEvents are new events since the last task execution
NewEvents []history.Event
// Backend specific data, only the producer of the task should rely on this.
CustomData any
}
Click to show internal directories.
Click to hide internal directories.