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
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
// Kind defines what kind of task this is. A Continuation task only contains
// new events and not the full history. By default the history is included.
Kind Kind
// History are the events that have been executed so far
History []history.Event
// NewEvents are new events since the last task execution
NewEvents []history.Event
}
Click to show internal directories.
Click to hide internal directories.