HistoryEvent class
Event within a workflow execution. A history event can be one of these types:
-
ActivityTaskCancelRequested– ARequestCancelActivityTaskdecision was received by the system. -
ActivityTaskCanceled– The activity task was successfully canceled. -
ActivityTaskCompleted– An activity worker successfully completed an activity task by calling RespondActivityTaskCompleted. -
ActivityTaskFailed– An activity worker failed an activity task by calling RespondActivityTaskFailed. -
ActivityTaskScheduled– An activity task was scheduled for execution. -
ActivityTaskStarted– The scheduled activity task was dispatched to a worker. -
ActivityTaskTimedOut– The activity task timed out. -
CancelTimerFailed– Failed to process CancelTimer decision. This happens when the decision isn't configured properly, for example no timer exists with the specified timer Id. -
CancelWorkflowExecutionFailed– A request to cancel a workflow execution failed. -
ChildWorkflowExecutionCanceled– A child workflow execution, started by this workflow execution, was canceled and closed. -
ChildWorkflowExecutionCompleted– A child workflow execution, started by this workflow execution, completed successfully and was closed. -
ChildWorkflowExecutionFailed– A child workflow execution, started by this workflow execution, failed to complete successfully and was closed. -
ChildWorkflowExecutionStarted– A child workflow execution was successfully started. -
ChildWorkflowExecutionTerminated– A child workflow execution, started by this workflow execution, was terminated. -
ChildWorkflowExecutionTimedOut– A child workflow execution, started by this workflow execution, timed out and was closed. -
CompleteWorkflowExecutionFailed– The workflow execution failed to complete. -
ContinueAsNewWorkflowExecutionFailed– The workflow execution failed to complete after being continued as a new workflow execution. -
DecisionTaskCompleted– The decider successfully completed a decision task by calling RespondDecisionTaskCompleted. -
DecisionTaskScheduled– A decision task was scheduled for the workflow execution. -
DecisionTaskStarted– The decision task was dispatched to a decider. -
DecisionTaskTimedOut– The decision task timed out. -
ExternalWorkflowExecutionCancelRequested– Request to cancel an external workflow execution was successfully delivered to the target execution. -
ExternalWorkflowExecutionSignaled– A signal, requested by this workflow execution, was successfully delivered to the target external workflow execution. -
FailWorkflowExecutionFailed– A request to mark a workflow execution as failed, itself failed. -
MarkerRecorded– A marker was recorded in the workflow history as the result of aRecordMarkerdecision. -
RecordMarkerFailed– ARecordMarkerdecision was returned as failed. -
RequestCancelActivityTaskFailed– Failed to process RequestCancelActivityTask decision. This happens when the decision isn't configured properly. -
RequestCancelExternalWorkflowExecutionFailed– Request to cancel an external workflow execution failed. -
RequestCancelExternalWorkflowExecutionInitiated– A request was made to request the cancellation of an external workflow execution. -
ScheduleActivityTaskFailed– Failed to process ScheduleActivityTask decision. This happens when the decision isn't configured properly, for example the activity type specified isn't registered. -
SignalExternalWorkflowExecutionFailed– The request to signal an external workflow execution failed. -
SignalExternalWorkflowExecutionInitiated– A request to signal an external workflow was made. -
StartActivityTaskFailed– A scheduled activity task failed to start. -
StartChildWorkflowExecutionFailed– Failed to process StartChildWorkflowExecution decision. This happens when the decision isn't configured properly, for example the workflow type specified isn't registered. -
StartChildWorkflowExecutionInitiated– A request was made to start a child workflow execution. -
StartTimerFailed– Failed to process StartTimer decision. This happens when the decision isn't configured properly, for example a timer already exists with the specified timer Id. -
TimerCanceled– A timer, previously started for this workflow execution, was successfully canceled. -
TimerFired– A timer, previously started for this workflow execution, fired. -
TimerStarted– A timer was started for the workflow execution due to aStartTimerdecision. -
WorkflowExecutionCancelRequested– A request to cancel this workflow execution was made. -
WorkflowExecutionCanceled– The workflow execution was successfully canceled and closed. -
WorkflowExecutionCompleted– The workflow execution was closed due to successful completion. -
WorkflowExecutionContinuedAsNew– The workflow execution was closed and a new execution of the same type was created with the same workflowId. -
WorkflowExecutionFailed– The workflow execution closed due to a failure. -
WorkflowExecutionSignaled– An external signal was received for the workflow execution. -
WorkflowExecutionStarted– The workflow execution was started. -
WorkflowExecutionTerminated– The workflow execution was terminated. -
WorkflowExecutionTimedOut– The workflow execution was closed because a time out was exceeded.
Constructors
- HistoryEvent({required int eventId, required DateTime eventTimestamp, required EventType eventType, ActivityTaskCancelRequestedEventAttributes? activityTaskCancelRequestedEventAttributes, ActivityTaskCanceledEventAttributes? activityTaskCanceledEventAttributes, ActivityTaskCompletedEventAttributes? activityTaskCompletedEventAttributes, ActivityTaskFailedEventAttributes? activityTaskFailedEventAttributes, ActivityTaskScheduledEventAttributes? activityTaskScheduledEventAttributes, ActivityTaskStartedEventAttributes? activityTaskStartedEventAttributes, ActivityTaskTimedOutEventAttributes? activityTaskTimedOutEventAttributes, CancelTimerFailedEventAttributes? cancelTimerFailedEventAttributes, CancelWorkflowExecutionFailedEventAttributes? cancelWorkflowExecutionFailedEventAttributes, ChildWorkflowExecutionCanceledEventAttributes? childWorkflowExecutionCanceledEventAttributes, ChildWorkflowExecutionCompletedEventAttributes? childWorkflowExecutionCompletedEventAttributes, ChildWorkflowExecutionFailedEventAttributes? childWorkflowExecutionFailedEventAttributes, ChildWorkflowExecutionStartedEventAttributes? childWorkflowExecutionStartedEventAttributes, ChildWorkflowExecutionTerminatedEventAttributes? childWorkflowExecutionTerminatedEventAttributes, ChildWorkflowExecutionTimedOutEventAttributes? childWorkflowExecutionTimedOutEventAttributes, CompleteWorkflowExecutionFailedEventAttributes? completeWorkflowExecutionFailedEventAttributes, ContinueAsNewWorkflowExecutionFailedEventAttributes? continueAsNewWorkflowExecutionFailedEventAttributes, DecisionTaskCompletedEventAttributes? decisionTaskCompletedEventAttributes, DecisionTaskScheduledEventAttributes? decisionTaskScheduledEventAttributes, DecisionTaskStartedEventAttributes? decisionTaskStartedEventAttributes, DecisionTaskTimedOutEventAttributes? decisionTaskTimedOutEventAttributes, ExternalWorkflowExecutionCancelRequestedEventAttributes? externalWorkflowExecutionCancelRequestedEventAttributes, ExternalWorkflowExecutionSignaledEventAttributes? externalWorkflowExecutionSignaledEventAttributes, FailWorkflowExecutionFailedEventAttributes? failWorkflowExecutionFailedEventAttributes, LambdaFunctionCompletedEventAttributes? lambdaFunctionCompletedEventAttributes, LambdaFunctionFailedEventAttributes? lambdaFunctionFailedEventAttributes, LambdaFunctionScheduledEventAttributes? lambdaFunctionScheduledEventAttributes, LambdaFunctionStartedEventAttributes? lambdaFunctionStartedEventAttributes, LambdaFunctionTimedOutEventAttributes? lambdaFunctionTimedOutEventAttributes, MarkerRecordedEventAttributes? markerRecordedEventAttributes, RecordMarkerFailedEventAttributes? recordMarkerFailedEventAttributes, RequestCancelActivityTaskFailedEventAttributes? requestCancelActivityTaskFailedEventAttributes, RequestCancelExternalWorkflowExecutionFailedEventAttributes? requestCancelExternalWorkflowExecutionFailedEventAttributes, RequestCancelExternalWorkflowExecutionInitiatedEventAttributes? requestCancelExternalWorkflowExecutionInitiatedEventAttributes, ScheduleActivityTaskFailedEventAttributes? scheduleActivityTaskFailedEventAttributes, ScheduleLambdaFunctionFailedEventAttributes? scheduleLambdaFunctionFailedEventAttributes, SignalExternalWorkflowExecutionFailedEventAttributes? signalExternalWorkflowExecutionFailedEventAttributes, SignalExternalWorkflowExecutionInitiatedEventAttributes? signalExternalWorkflowExecutionInitiatedEventAttributes, StartChildWorkflowExecutionFailedEventAttributes? startChildWorkflowExecutionFailedEventAttributes, StartChildWorkflowExecutionInitiatedEventAttributes? startChildWorkflowExecutionInitiatedEventAttributes, StartLambdaFunctionFailedEventAttributes? startLambdaFunctionFailedEventAttributes, StartTimerFailedEventAttributes? startTimerFailedEventAttributes, TimerCanceledEventAttributes? timerCanceledEventAttributes, TimerFiredEventAttributes? timerFiredEventAttributes, TimerStartedEventAttributes? timerStartedEventAttributes, WorkflowExecutionCancelRequestedEventAttributes? workflowExecutionCancelRequestedEventAttributes, WorkflowExecutionCanceledEventAttributes? workflowExecutionCanceledEventAttributes, WorkflowExecutionCompletedEventAttributes? workflowExecutionCompletedEventAttributes, WorkflowExecutionContinuedAsNewEventAttributes? workflowExecutionContinuedAsNewEventAttributes, WorkflowExecutionFailedEventAttributes? workflowExecutionFailedEventAttributes, WorkflowExecutionSignaledEventAttributes? workflowExecutionSignaledEventAttributes, WorkflowExecutionStartedEventAttributes? workflowExecutionStartedEventAttributes, WorkflowExecutionTerminatedEventAttributes? workflowExecutionTerminatedEventAttributes, WorkflowExecutionTimedOutEventAttributes? workflowExecutionTimedOutEventAttributes})
-
HistoryEvent.fromJson(Map<
String, dynamic> json) -
factory
Properties
- activityTaskCanceledEventAttributes → ActivityTaskCanceledEventAttributes?
-
If the event is of type
ActivityTaskCanceledthen this member is set and provides detailed information about the event. It isn't set for other event types.final - activityTaskCancelRequestedEventAttributes → ActivityTaskCancelRequestedEventAttributes?
-
If the event is of type
ActivityTaskcancelRequestedthen this member is set and provides detailed information about the event. It isn't set for other event types.final - activityTaskCompletedEventAttributes → ActivityTaskCompletedEventAttributes?
-
If the event is of type
ActivityTaskCompletedthen this member is set and provides detailed information about the event. It isn't set for other event types.final - activityTaskFailedEventAttributes → ActivityTaskFailedEventAttributes?
-
If the event is of type
ActivityTaskFailedthen this member is set and provides detailed information about the event. It isn't set for other event types.final - activityTaskScheduledEventAttributes → ActivityTaskScheduledEventAttributes?
-
If the event is of type
ActivityTaskScheduledthen this member is set and provides detailed information about the event. It isn't set for other event types.final - activityTaskStartedEventAttributes → ActivityTaskStartedEventAttributes?
-
If the event is of type
ActivityTaskStartedthen this member is set and provides detailed information about the event. It isn't set for other event types.final - activityTaskTimedOutEventAttributes → ActivityTaskTimedOutEventAttributes?
-
If the event is of type
ActivityTaskTimedOutthen this member is set and provides detailed information about the event. It isn't set for other event types.final - cancelTimerFailedEventAttributes → CancelTimerFailedEventAttributes?
-
If the event is of type
CancelTimerFailedthen this member is set and provides detailed information about the event. It isn't set for other event types.final - cancelWorkflowExecutionFailedEventAttributes → CancelWorkflowExecutionFailedEventAttributes?
-
If the event is of type
CancelWorkflowExecutionFailedthen this member is set and provides detailed information about the event. It isn't set for other event types.final - childWorkflowExecutionCanceledEventAttributes → ChildWorkflowExecutionCanceledEventAttributes?
-
If the event is of type
ChildWorkflowExecutionCanceledthen this member is set and provides detailed information about the event. It isn't set for other event types.final - childWorkflowExecutionCompletedEventAttributes → ChildWorkflowExecutionCompletedEventAttributes?
-
If the event is of type
ChildWorkflowExecutionCompletedthen this member is set and provides detailed information about the event. It isn't set for other event types.final - childWorkflowExecutionFailedEventAttributes → ChildWorkflowExecutionFailedEventAttributes?
-
If the event is of type
ChildWorkflowExecutionFailedthen this member is set and provides detailed information about the event. It isn't set for other event types.final - childWorkflowExecutionStartedEventAttributes → ChildWorkflowExecutionStartedEventAttributes?
-
If the event is of type
ChildWorkflowExecutionStartedthen this member is set and provides detailed information about the event. It isn't set for other event types.final - childWorkflowExecutionTerminatedEventAttributes → ChildWorkflowExecutionTerminatedEventAttributes?
-
If the event is of type
ChildWorkflowExecutionTerminatedthen this member is set and provides detailed information about the event. It isn't set for other event types.final - childWorkflowExecutionTimedOutEventAttributes → ChildWorkflowExecutionTimedOutEventAttributes?
-
If the event is of type
ChildWorkflowExecutionTimedOutthen this member is set and provides detailed information about the event. It isn't set for other event types.final - completeWorkflowExecutionFailedEventAttributes → CompleteWorkflowExecutionFailedEventAttributes?
-
If the event is of type
CompleteWorkflowExecutionFailedthen this member is set and provides detailed information about the event. It isn't set for other event types.final - continueAsNewWorkflowExecutionFailedEventAttributes → ContinueAsNewWorkflowExecutionFailedEventAttributes?
-
If the event is of type
ContinueAsNewWorkflowExecutionFailedthen this member is set and provides detailed information about the event. It isn't set for other event types.final - decisionTaskCompletedEventAttributes → DecisionTaskCompletedEventAttributes?
-
If the event is of type
DecisionTaskCompletedthen this member is set and provides detailed information about the event. It isn't set for other event types.final - decisionTaskScheduledEventAttributes → DecisionTaskScheduledEventAttributes?
-
If the event is of type
DecisionTaskScheduledthen this member is set and provides detailed information about the event. It isn't set for other event types.final - decisionTaskStartedEventAttributes → DecisionTaskStartedEventAttributes?
-
If the event is of type
DecisionTaskStartedthen this member is set and provides detailed information about the event. It isn't set for other event types.final - decisionTaskTimedOutEventAttributes → DecisionTaskTimedOutEventAttributes?
-
If the event is of type
DecisionTaskTimedOutthen this member is set and provides detailed information about the event. It isn't set for other event types.final - eventId → int
-
The system generated ID of the event. This ID uniquely identifies the event
with in the workflow execution history.
final
- eventTimestamp → DateTime
-
The date and time when the event occurred.
final
- eventType → EventType
-
The type of the history event.
final
- externalWorkflowExecutionCancelRequestedEventAttributes → ExternalWorkflowExecutionCancelRequestedEventAttributes?
-
If the event is of type
ExternalWorkflowExecutionCancelRequestedthen this member is set and provides detailed information about the event. It isn't set for other event types.final - externalWorkflowExecutionSignaledEventAttributes → ExternalWorkflowExecutionSignaledEventAttributes?
-
If the event is of type
ExternalWorkflowExecutionSignaledthen this member is set and provides detailed information about the event. It isn't set for other event types.final - failWorkflowExecutionFailedEventAttributes → FailWorkflowExecutionFailedEventAttributes?
-
If the event is of type
FailWorkflowExecutionFailedthen this member is set and provides detailed information about the event. It isn't set for other event types.final - hashCode → int
-
The hash code for this object.
no setterinherited
- lambdaFunctionCompletedEventAttributes → LambdaFunctionCompletedEventAttributes?
-
Provides the details of the
LambdaFunctionCompletedevent. It isn't set for other event types.final - lambdaFunctionFailedEventAttributes → LambdaFunctionFailedEventAttributes?
-
Provides the details of the
LambdaFunctionFailedevent. It isn't set for other event types.final - lambdaFunctionScheduledEventAttributes → LambdaFunctionScheduledEventAttributes?
-
Provides the details of the
LambdaFunctionScheduledevent. It isn't set for other event types.final - lambdaFunctionStartedEventAttributes → LambdaFunctionStartedEventAttributes?
-
Provides the details of the
LambdaFunctionStartedevent. It isn't set for other event types.final - lambdaFunctionTimedOutEventAttributes → LambdaFunctionTimedOutEventAttributes?
-
Provides the details of the
LambdaFunctionTimedOutevent. It isn't set for other event types.final - markerRecordedEventAttributes → MarkerRecordedEventAttributes?
-
If the event is of type
MarkerRecordedthen this member is set and provides detailed information about the event. It isn't set for other event types.final - recordMarkerFailedEventAttributes → RecordMarkerFailedEventAttributes?
-
If the event is of type
DecisionTaskFailedthen this member is set and provides detailed information about the event. It isn't set for other event types.final - requestCancelActivityTaskFailedEventAttributes → RequestCancelActivityTaskFailedEventAttributes?
-
If the event is of type
RequestCancelActivityTaskFailedthen this member is set and provides detailed information about the event. It isn't set for other event types.final - requestCancelExternalWorkflowExecutionFailedEventAttributes → RequestCancelExternalWorkflowExecutionFailedEventAttributes?
-
If the event is of type
RequestCancelExternalWorkflowExecutionFailedthen this member is set and provides detailed information about the event. It isn't set for other event types.final - requestCancelExternalWorkflowExecutionInitiatedEventAttributes → RequestCancelExternalWorkflowExecutionInitiatedEventAttributes?
-
If the event is of type
RequestCancelExternalWorkflowExecutionInitiatedthen this member is set and provides detailed information about the event. It isn't set for other event types.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scheduleActivityTaskFailedEventAttributes → ScheduleActivityTaskFailedEventAttributes?
-
If the event is of type
ScheduleActivityTaskFailedthen this member is set and provides detailed information about the event. It isn't set for other event types.final - scheduleLambdaFunctionFailedEventAttributes → ScheduleLambdaFunctionFailedEventAttributes?
-
Provides the details of the
ScheduleLambdaFunctionFailedevent. It isn't set for other event types.final - signalExternalWorkflowExecutionFailedEventAttributes → SignalExternalWorkflowExecutionFailedEventAttributes?
-
If the event is of type
SignalExternalWorkflowExecutionFailedthen this member is set and provides detailed information about the event. It isn't set for other event types.final - signalExternalWorkflowExecutionInitiatedEventAttributes → SignalExternalWorkflowExecutionInitiatedEventAttributes?
-
If the event is of type
SignalExternalWorkflowExecutionInitiatedthen this member is set and provides detailed information about the event. It isn't set for other event types.final - startChildWorkflowExecutionFailedEventAttributes → StartChildWorkflowExecutionFailedEventAttributes?
-
If the event is of type
StartChildWorkflowExecutionFailedthen this member is set and provides detailed information about the event. It isn't set for other event types.final - startChildWorkflowExecutionInitiatedEventAttributes → StartChildWorkflowExecutionInitiatedEventAttributes?
-
If the event is of type
StartChildWorkflowExecutionInitiatedthen this member is set and provides detailed information about the event. It isn't set for other event types.final - startLambdaFunctionFailedEventAttributes → StartLambdaFunctionFailedEventAttributes?
-
Provides the details of the
StartLambdaFunctionFailedevent. It isn't set for other event types.final - startTimerFailedEventAttributes → StartTimerFailedEventAttributes?
-
If the event is of type
StartTimerFailedthen this member is set and provides detailed information about the event. It isn't set for other event types.final - timerCanceledEventAttributes → TimerCanceledEventAttributes?
-
If the event is of type
TimerCanceledthen this member is set and provides detailed information about the event. It isn't set for other event types.final - timerFiredEventAttributes → TimerFiredEventAttributes?
-
If the event is of type
TimerFiredthen this member is set and provides detailed information about the event. It isn't set for other event types.final - timerStartedEventAttributes → TimerStartedEventAttributes?
-
If the event is of type
TimerStartedthen this member is set and provides detailed information about the event. It isn't set for other event types.final - workflowExecutionCanceledEventAttributes → WorkflowExecutionCanceledEventAttributes?
-
If the event is of type
WorkflowExecutionCanceledthen this member is set and provides detailed information about the event. It isn't set for other event types.final - workflowExecutionCancelRequestedEventAttributes → WorkflowExecutionCancelRequestedEventAttributes?
-
If the event is of type
WorkflowExecutionCancelRequestedthen this member is set and provides detailed information about the event. It isn't set for other event types.final - workflowExecutionCompletedEventAttributes → WorkflowExecutionCompletedEventAttributes?
-
If the event is of type
WorkflowExecutionCompletedthen this member is set and provides detailed information about the event. It isn't set for other event types.final - workflowExecutionContinuedAsNewEventAttributes → WorkflowExecutionContinuedAsNewEventAttributes?
-
If the event is of type
WorkflowExecutionContinuedAsNewthen this member is set and provides detailed information about the event. It isn't set for other event types.final - workflowExecutionFailedEventAttributes → WorkflowExecutionFailedEventAttributes?
-
If the event is of type
WorkflowExecutionFailedthen this member is set and provides detailed information about the event. It isn't set for other event types.final - workflowExecutionSignaledEventAttributes → WorkflowExecutionSignaledEventAttributes?
-
If the event is of type
WorkflowExecutionSignaledthen this member is set and provides detailed information about the event. It isn't set for other event types.final - workflowExecutionStartedEventAttributes → WorkflowExecutionStartedEventAttributes?
-
If the event is of type
WorkflowExecutionStartedthen this member is set and provides detailed information about the event. It isn't set for other event types.final - workflowExecutionTerminatedEventAttributes → WorkflowExecutionTerminatedEventAttributes?
-
If the event is of type
WorkflowExecutionTerminatedthen this member is set and provides detailed information about the event. It isn't set for other event types.final - workflowExecutionTimedOutEventAttributes → WorkflowExecutionTimedOutEventAttributes?
-
If the event is of type
WorkflowExecutionTimedOutthen this member is set and provides detailed information about the event. It isn't set for other event types.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited