Interface: IInitializeWorkflow
coresdk.workflow_activation.IInitializeWorkflow
Properties of an InitializeWorkflow.
Hierarchy
-
↳
IInitializeWorkflow
Properties
arguments
• Optional arguments: null | $Properties[]
Inputs to the workflow code
Inherited from
attempt
• Optional attempt: null | number
Starting at 1, the number of times we have tried to execute this workflow
Inherited from
continuedFailure
• Optional continuedFailure: null | $Properties
If this workflow was a continuation and that continuation failed, the details of that.
Inherited from
continuedFromExecutionRunId
• Optional continuedFromExecutionRunId: null | string
Run id of the previous workflow which continued-as-new or retired or cron executed into this workflow, if any.
Inherited from
$Properties.continuedFromExecutionRunId
continuedInitiator
• Optional continuedInitiator: null | ContinueAsNewInitiator
If this workflow was a continuation, indicates the type of continuation.
Inherited from
$Properties.continuedInitiator
cronSchedule
• Optional cronSchedule: null | string
If this workflow runs on a cron schedule, it will appear here
Inherited from
cronScheduleToScheduleInterval
• Optional cronScheduleToScheduleInterval: null | $Properties
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.
Inherited from
$Properties.cronScheduleToScheduleInterval
firstExecutionRunId
• Optional firstExecutionRunId: null | string
This is the very first run id the workflow ever had, following continuation chains.
Inherited from
$Properties.firstExecutionRunId
headers
• Optional headers: null | { [k: string]: $Properties; }
Used to add metadata e.g. for tracing and auth, meant to be read and written to by interceptors.
Inherited from
identity
• Optional identity: null | string
Identity of the client who requested this execution
Inherited from
lastCompletionResult
• Optional lastCompletionResult: null | $Properties
If this workflow was a continuation and that continuation completed, the details of that.
Inherited from
$Properties.lastCompletionResult
memo
• Optional memo: null | $Properties
User-defined memo
Inherited from
parentWorkflowInfo
• Optional parentWorkflowInfo: null | $Properties
If this workflow is a child, information about the parent
Inherited from
$Properties.parentWorkflowInfo
priority
• Optional priority: null | $Properties
Priority of this workflow execution
Inherited from
randomnessSeed
• Optional randomnessSeed: null | Long
The seed must be used to initialize the random generator used by SDK. RandomSeedUpdatedAttributes are used to deliver seed updates.
Inherited from
retryPolicy
• Optional retryPolicy: null | $Properties
This workflow's retry policy
Inherited from
rootWorkflow
• Optional rootWorkflow: null | $Properties
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.
Inherited from
searchAttributes
• Optional searchAttributes: null | $Properties
Search attributes created/updated when this workflow was started
Inherited from
startTime
• Optional startTime: null | $Properties
When the workflow execution started event was first written
Inherited from
workflowExecutionExpirationTime
• Optional workflowExecutionExpirationTime: null | $Properties
The absolute time at which the workflow will be timed out. This is passed without change to the next run/retry of a workflow.
Inherited from
$Properties.workflowExecutionExpirationTime
workflowExecutionTimeout
• Optional workflowExecutionTimeout: null | $Properties
Total workflow execution timeout including retries and continue as new.
Inherited from
$Properties.workflowExecutionTimeout
workflowId
• Optional workflowId: null | string
The workflow id used on the temporal server
Inherited from
workflowRunTimeout
• Optional workflowRunTimeout: null | $Properties
Timeout of a single workflow run.
Inherited from
$Properties.workflowRunTimeout
workflowTaskTimeout
• Optional workflowTaskTimeout: null | $Properties
Timeout of a single workflow task.
Inherited from
$Properties.workflowTaskTimeout
workflowType
• Optional workflowType: null | string
The identifier the lang-specific sdk uses to execute workflow code