Class WorkflowExecutionStartedEventAttributes
Always the first event in workflow history
Inheritance
WorkflowExecutionStartedEventAttributes
Implements
Google.Protobuf.IBufferMessage
Assembly: Temporalio.dll
Syntax
public sealed class WorkflowExecutionStartedEventAttributes : Google.Protobuf.IMessage<WorkflowExecutionStartedEventAttributes>, Google.Protobuf.IBufferMessage
Constructors
WorkflowExecutionStartedEventAttributes()
Declaration
public WorkflowExecutionStartedEventAttributes()
WorkflowExecutionStartedEventAttributes(WorkflowExecutionStartedEventAttributes)
Declaration
public WorkflowExecutionStartedEventAttributes(WorkflowExecutionStartedEventAttributes other)
Parameters
Fields
AttemptFieldNumber
Field number for the "attempt" field.
Declaration
public const int AttemptFieldNumber = null
Field Value
ContinuedExecutionRunIdFieldNumber
Field number for the "continued_execution_run_id" field.
Declaration
public const int ContinuedExecutionRunIdFieldNumber = null
Field Value
ContinuedFailureFieldNumber
Field number for the "continued_failure" field.
Declaration
public const int ContinuedFailureFieldNumber = null
Field Value
CronScheduleFieldNumber
Field number for the "cron_schedule" field.
Declaration
public const int CronScheduleFieldNumber = null
Field Value
FirstExecutionRunIdFieldNumber
Field number for the "first_execution_run_id" field.
Declaration
public const int FirstExecutionRunIdFieldNumber = null
Field Value
FirstWorkflowTaskBackoffFieldNumber
Field number for the "first_workflow_task_backoff" field.
Declaration
public const int FirstWorkflowTaskBackoffFieldNumber = null
Field Value
Field number for the "header" field.
Declaration
public const int HeaderFieldNumber = null
Field Value
IdentityFieldNumber
Field number for the "identity" field.
Declaration
public const int IdentityFieldNumber = null
Field Value
InitiatorFieldNumber
Field number for the "initiator" field.
Declaration
public const int InitiatorFieldNumber = null
Field Value
InputFieldNumber
Field number for the "input" field.
Declaration
public const int InputFieldNumber = null
Field Value
LastCompletionResultFieldNumber
Field number for the "last_completion_result" field.
Declaration
public const int LastCompletionResultFieldNumber = null
Field Value
MemoFieldNumber
Field number for the "memo" field.
Declaration
public const int MemoFieldNumber = null
Field Value
OriginalExecutionRunIdFieldNumber
Field number for the "original_execution_run_id" field.
Declaration
public const int OriginalExecutionRunIdFieldNumber = null
Field Value
ParentInitiatedEventIdFieldNumber
Field number for the "parent_initiated_event_id" field.
Declaration
public const int ParentInitiatedEventIdFieldNumber = null
Field Value
ParentInitiatedEventVersionFieldNumber
Field number for the "parent_initiated_event_version" field.
Declaration
public const int ParentInitiatedEventVersionFieldNumber = null
Field Value
ParentWorkflowExecutionFieldNumber
Field number for the "parent_workflow_execution" field.
Declaration
public const int ParentWorkflowExecutionFieldNumber = null
Field Value
ParentWorkflowNamespaceFieldNumber
Field number for the "parent_workflow_namespace" field.
Declaration
public const int ParentWorkflowNamespaceFieldNumber = null
Field Value
ParentWorkflowNamespaceIdFieldNumber
Field number for the "parent_workflow_namespace_id" field.
Declaration
public const int ParentWorkflowNamespaceIdFieldNumber = null
Field Value
PrevAutoResetPointsFieldNumber
Field number for the "prev_auto_reset_points" field.
Declaration
public const int PrevAutoResetPointsFieldNumber = null
Field Value
RetryPolicyFieldNumber
Field number for the "retry_policy" field.
Declaration
public const int RetryPolicyFieldNumber = null
Field Value
SearchAttributesFieldNumber
Field number for the "search_attributes" field.
Declaration
public const int SearchAttributesFieldNumber = null
Field Value
TaskQueueFieldNumber
Field number for the "task_queue" field.
Declaration
public const int TaskQueueFieldNumber = null
Field Value
WorkflowExecutionExpirationTimeFieldNumber
Field number for the "workflow_execution_expiration_time" field.
Declaration
public const int WorkflowExecutionExpirationTimeFieldNumber = null
Field Value
WorkflowExecutionTimeoutFieldNumber
Field number for the "workflow_execution_timeout" field.
Declaration
public const int WorkflowExecutionTimeoutFieldNumber = null
Field Value
WorkflowRunTimeoutFieldNumber
Field number for the "workflow_run_timeout" field.
Declaration
public const int WorkflowRunTimeoutFieldNumber = null
Field Value
WorkflowTaskTimeoutFieldNumber
Field number for the "workflow_task_timeout" field.
Declaration
public const int WorkflowTaskTimeoutFieldNumber = null
Field Value
WorkflowTypeFieldNumber
Field number for the "workflow_type" field.
Declaration
public const int WorkflowTypeFieldNumber = null
Field Value
Properties
Attempt
Starting at 1, the number of times we have tried to execute this workflow
Declaration
public int Attempt { get; set; }
Property Value
ContinuedExecutionRunId
Run id of the previous workflow which continued-as-new or retired or cron executed into this
workflow.
Declaration
public string ContinuedExecutionRunId { get; set; }
Property Value
ContinuedFailure
Declaration
public Failure ContinuedFailure { get; set; }
Property Value
CronSchedule
If this workflow runs on a cron schedule, it will appear here
Declaration
public string CronSchedule { get; set; }
Property Value
Descriptor
Declaration
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
Google.Protobuf.Reflection.MessageDescriptor |
|
FirstExecutionRunId
This is the very first runId along the chain of ContinueAsNew, Retry, Cron and Reset.
Used to identify a chain.
Declaration
public string FirstExecutionRunId { get; set; }
Property Value
FirstWorkflowTaskBackoff
For a cron workflow, this contains the amount of time between when this iteration of
the cron workflow was scheduled and when it should run next per its cron_schedule.
Declaration
public Google.Protobuf.WellKnownTypes.Duration FirstWorkflowTaskBackoff { get; set; }
Property Value
Type |
Description |
Google.Protobuf.WellKnownTypes.Duration |
|
Declaration
public Header Header { get; set; }
Property Value
Identity
Identity of the client who requested this execution
Declaration
public string Identity { get; set; }
Property Value
Initiator
Declaration
public ContinueAsNewInitiator Initiator { get; set; }
Property Value
Input
SDK will deserialize this and provide it as arguments to the workflow function
Declaration
public Payloads Input { get; set; }
Property Value
LastCompletionResult
Declaration
public Payloads LastCompletionResult { get; set; }
Property Value
Memo
Declaration
public Memo Memo { get; set; }
Property Value
OriginalExecutionRunId
This is the run id when the WorkflowExecutionStarted event was written.
A workflow reset changes the execution run_id, but preserves this field.
Declaration
public string OriginalExecutionRunId { get; set; }
Property Value
ParentInitiatedEventId
EventID of the child execution initiated event in parent workflow
Declaration
public long ParentInitiatedEventId { get; set; }
Property Value
ParentInitiatedEventVersion
Version of the child execution initiated event in parent workflow
It should be used together with parent_initiated_event_id to identify
a child initiated event for global namespace
Declaration
public long ParentInitiatedEventVersion { get; set; }
Property Value
ParentWorkflowExecution
Contains information about parent workflow execution that initiated the child workflow these attributes belong to.
If the workflow these attributes belong to is not a child workflow of any other execution, this field will not be populated.
Declaration
public WorkflowExecution ParentWorkflowExecution { get; set; }
Property Value
ParentWorkflowNamespace
If this workflow is a child, the namespace our parent lives in.
SDKs and UI tools should use parent_workflow_namespace
field but server must use parent_workflow_namespace_id
only.
Declaration
public string ParentWorkflowNamespace { get; set; }
Property Value
ParentWorkflowNamespaceId
Declaration
public string ParentWorkflowNamespaceId { get; set; }
Property Value
Parser
Declaration
public static Google.Protobuf.MessageParser<WorkflowExecutionStartedEventAttributes> Parser { get; }
Property Value
PrevAutoResetPoints
Declaration
public ResetPoints PrevAutoResetPoints { get; set; }
Property Value
RetryPolicy
Declaration
public RetryPolicy RetryPolicy { get; set; }
Property Value
SearchAttributes
Declaration
public SearchAttributes SearchAttributes { get; set; }
Property Value
TaskQueue
Declaration
public TaskQueue TaskQueue { get; set; }
Property Value
WorkflowExecutionExpirationTime
The absolute time at which the workflow will be timed out.
This is passed without change to the next run/retry of a workflow.
Declaration
public Google.Protobuf.WellKnownTypes.Timestamp WorkflowExecutionExpirationTime { get; set; }
Property Value
Type |
Description |
Google.Protobuf.WellKnownTypes.Timestamp |
|
WorkflowExecutionTimeout
Total workflow execution timeout including retries and continue as new.
Declaration
public Google.Protobuf.WellKnownTypes.Duration WorkflowExecutionTimeout { get; set; }
Property Value
Type |
Description |
Google.Protobuf.WellKnownTypes.Duration |
|
WorkflowRunTimeout
Timeout of a single workflow run.
Declaration
public Google.Protobuf.WellKnownTypes.Duration WorkflowRunTimeout { get; set; }
Property Value
Type |
Description |
Google.Protobuf.WellKnownTypes.Duration |
|
WorkflowTaskTimeout
Timeout of a single workflow task.
Declaration
public Google.Protobuf.WellKnownTypes.Duration WorkflowTaskTimeout { get; set; }
Property Value
Type |
Description |
Google.Protobuf.WellKnownTypes.Duration |
|
WorkflowType
Declaration
public WorkflowType WorkflowType { get; set; }
Property Value
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Clone()
Declaration
public WorkflowExecutionStartedEventAttributes Clone()
Returns
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
Object |
other |
|
Returns
Equals(WorkflowExecutionStartedEventAttributes)
Declaration
public bool Equals(WorkflowExecutionStartedEventAttributes other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
MergeFrom(Google.Protobuf.CodedInputStream)
Declaration
public void MergeFrom(Google.Protobuf.CodedInputStream input)
Parameters
Type |
Name |
Description |
Google.Protobuf.CodedInputStream |
input |
|
MergeFrom(WorkflowExecutionStartedEventAttributes)
Declaration
public void MergeFrom(WorkflowExecutionStartedEventAttributes other)
Parameters
ToString()
Declaration
public override string ToString()
Returns
WriteTo(Google.Protobuf.CodedOutputStream)
Declaration
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
Type |
Name |
Description |
Google.Protobuf.CodedOutputStream |
output |
|
Implements
Google.Protobuf.IBufferMessage