Interface: $Properties
Properties of an InitializeWorkflow.
Extended by
Properties
arguments?
optionalarguments?:$Properties[] |null
Inputs to the workflow code
attempt?
optionalattempt?:number|null
Starting at 1, the number of times we have tried to execute this workflow
continuedFailure?
optionalcontinuedFailure?:$Properties|null
If this workflow was a continuation and that continuation failed, the details of that.
continuedFromExecutionRunId?
optionalcontinuedFromExecutionRunId?:string|null
Run id of the previous workflow which continued-as-new or retired or cron executed into this workflow, if any.
continuedInitiator?
optionalcontinuedInitiator?:ContinueAsNewInitiator|null
If this workflow was a continuation, indicates the type of continuation.
cronSchedule?
optionalcronSchedule?:string|null
If this workflow runs on a cron schedule, it will appear here
cronScheduleToScheduleInterval?
optionalcronScheduleToScheduleInterval?:$Properties|null
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.
firstExecutionRunId?
optionalfirstExecutionRunId?:string|null
This is the very first run id the workflow ever had, following continuation chains.
headers?
optionalheaders?: {[k:string]:$Properties; } |null
Used to add metadata e.g. for tracing and auth, meant to be read and written to by interceptors.
identity?
optionalidentity?:string|null
Identity of the client who requested this execution
lastCompletionResult?
optionallastCompletionResult?:$Properties|null
If this workflow was a continuation and that continuation completed, the details of that.
memo?
optionalmemo?:$Properties|null
User-defined memo
originalExecutionRunId?
optionaloriginalExecutionRunId?:string|null
The run id recorded on the WORKFLOW_EXECUTION_STARTED event. Unlike the execution's current
run id, this value is preserved across workflow resets. Mirrors the original_execution_run_id
field from WorkflowExecutionStartedEventAttributes.
parentWorkflowInfo?
optionalparentWorkflowInfo?:$Properties|null
If this workflow is a child, information about the parent
priority?
optionalpriority?:$Properties|null
Priority of this workflow execution
propagatedNexusSerializationContext?
optionalpropagatedNexusSerializationContext?:$Properties|null
Serialization context of the Nexus operation handler that started this workflow, if any. Lang should use it to serialize the workflow's result and failure, which are returned to the Nexus caller.
randomnessSeed?
optionalrandomnessSeed?:Long|null
The seed must be used to initialize the random generator used by SDK. RandomSeedUpdatedAttributes are used to deliver seed updates.
retryPolicy?
optionalretryPolicy?:$Properties|null
This workflow's retry policy
rootWorkflow?
optionalrootWorkflow?:$Properties|null
Contains information about the root workflow execution. It is possible for the namespace to be different than this workflow if using OSS and cross-namespace children, but this information is not retained. Users should take care to track it by other means in such situations.
The root workflow execution is defined as follows:
- A workflow without parent workflow is its own root workflow.
- A workflow that has a parent workflow has the same root workflow as its parent workflow.
See field in WorkflowExecutionStarted for more detail.
searchAttributes?
optionalsearchAttributes?:$Properties|null
Search attributes created/updated when this workflow was started
startTime?
optionalstartTime?:$Properties|null
When the workflow execution started event was first written
workflowExecutionExpirationTime?
optionalworkflowExecutionExpirationTime?:$Properties|null
The absolute time at which the workflow will be timed out. This is passed without change to the next run/retry of a workflow.
workflowExecutionTimeout?
optionalworkflowExecutionTimeout?:$Properties|null
Total workflow execution timeout including retries and continue as new.
workflowId?
optionalworkflowId?:string|null
The workflow id used on the temporal server
workflowRunTimeout?
optionalworkflowRunTimeout?:$Properties|null
Timeout of a single workflow run.
workflowTaskTimeout?
optionalworkflowTaskTimeout?:$Properties|null
Timeout of a single workflow task.
workflowType?
optionalworkflowType?:string|null
The identifier the lang-specific sdk uses to execute workflow code