Skip to main content

Class: StartChildWorkflowExecutionCommandAttributes

Represents a StartChildWorkflowExecutionCommandAttributes.

Properties​

control​

control: string

StartChildWorkflowExecutionCommandAttributes control.


cronSchedule​

cronSchedule: string

Establish a cron schedule for the child workflow.


optional header?: $Properties | null

StartChildWorkflowExecutionCommandAttributes header.


inheritBuildId​

inheritBuildId: boolean

If this is set, the child workflow inherits the Build ID of the parent. Otherwise, the assignment rules of the child's Task Queue will be used to independently assign a Build ID to it. Deprecated. Only considered for versioning v0.2.


input?​

optional input?: $Properties | null

StartChildWorkflowExecutionCommandAttributes input.


memo?​

optional memo?: $Properties | null

StartChildWorkflowExecutionCommandAttributes memo.


namespace​

namespace: string

Deprecated. Cross-namespace operations are disabled by default as of server 1.30.1.


parentClosePolicy​

parentClosePolicy: ParentClosePolicy

Default: PARENT_CLOSE_POLICY_TERMINATE.


priority?​

optional priority?: $Properties | null

Priority metadata. If this message is not present, or any fields are not present, they inherit the values from the workflow.


retryPolicy?​

optional retryPolicy?: $Properties | null

StartChildWorkflowExecutionCommandAttributes retryPolicy.


searchAttributes?​

optional searchAttributes?: $Properties | null

StartChildWorkflowExecutionCommandAttributes searchAttributes.


taskQueue?​

optional taskQueue?: $Properties | null

StartChildWorkflowExecutionCommandAttributes taskQueue.


versioningOverride?​

optional versioningOverride?: $Properties | null

Versioning override for the child workflow. If present, this explicit override takes precedence over versioning behavior inherited from the parent workflow.


workflowExecutionTimeout?​

optional workflowExecutionTimeout?: $Properties | null

Total workflow execution timeout including retries and continue as new.


workflowId​

workflowId: string

StartChildWorkflowExecutionCommandAttributes workflowId.


workflowIdReusePolicy​

workflowIdReusePolicy: WorkflowIdReusePolicy

Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.


workflowRunTimeout?​

optional workflowRunTimeout?: $Properties | null

Timeout of a single workflow run.


workflowTaskTimeout?​

optional workflowTaskTimeout?: $Properties | null

Timeout of a single workflow task.


workflowType?​

optional workflowType?: $Properties | null

StartChildWorkflowExecutionCommandAttributes workflowType.

Methods​

toJSON()​

toJSON(): object

Converts this StartChildWorkflowExecutionCommandAttributes to JSON.

Returns​

object

JSON object


create()​

Call Signature​

static create(properties?): StartChildWorkflowExecutionCommandAttributes & $Shape

Creates a new StartChildWorkflowExecutionCommandAttributes instance using the specified properties.

Parameters​
properties?​

$Shape

Properties to set

Returns​

StartChildWorkflowExecutionCommandAttributes & $Shape

StartChildWorkflowExecutionCommandAttributes instance

Call Signature​

static create(properties?): StartChildWorkflowExecutionCommandAttributes

Creates a new StartChildWorkflowExecutionCommandAttributes instance using the specified properties.

Parameters​
properties?​

$Properties

Properties to set

Returns​

StartChildWorkflowExecutionCommandAttributes

StartChildWorkflowExecutionCommandAttributes instance


decode()​

static decode(reader, length?): StartChildWorkflowExecutionCommandAttributes & $Shape

Decodes a StartChildWorkflowExecutionCommandAttributes message from the specified reader or buffer.

Parameters​

reader​

Uint8Array<ArrayBufferLike> | Reader

Reader or buffer to decode from

length?​

number

Message length if known beforehand

Returns​

StartChildWorkflowExecutionCommandAttributes & $Shape

StartChildWorkflowExecutionCommandAttributes

Throws​

If the payload is not a reader or valid buffer

Throws​

If required fields are missing


decodeDelimited()​

static decodeDelimited(reader): StartChildWorkflowExecutionCommandAttributes & $Shape

Decodes a StartChildWorkflowExecutionCommandAttributes message from the specified reader or buffer, length delimited.

Parameters​

reader​

Uint8Array<ArrayBufferLike> | Reader

Reader or buffer to decode from

Returns​

StartChildWorkflowExecutionCommandAttributes & $Shape

StartChildWorkflowExecutionCommandAttributes

Throws​

If the payload is not a reader or valid buffer

Throws​

If required fields are missing


encode()​

static encode(message, writer?): Writer

Encodes the specified StartChildWorkflowExecutionCommandAttributes message. Does not implicitly temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes.verify|verify messages.

Parameters​

message​

$Properties

StartChildWorkflowExecutionCommandAttributes message or plain object to encode

writer?​

Writer

Writer to encode to

Returns​

Writer

Writer


encodeDelimited()​

static encodeDelimited(message, writer?): Writer

Encodes the specified StartChildWorkflowExecutionCommandAttributes message, length delimited. Does not implicitly temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes.verify|verify messages.

Parameters​

message​

$Properties

StartChildWorkflowExecutionCommandAttributes message or plain object to encode

writer?​

Writer

Writer to encode to

Returns​

Writer

Writer


fromObject()​

static fromObject(object): StartChildWorkflowExecutionCommandAttributes

Creates a StartChildWorkflowExecutionCommandAttributes message from a plain object. Also converts values to their respective internal types.

Parameters​

object​

Plain object

Returns​

StartChildWorkflowExecutionCommandAttributes

StartChildWorkflowExecutionCommandAttributes


toObject()​

static toObject(message, options?): object

Creates a plain object from a StartChildWorkflowExecutionCommandAttributes message. Also converts values to other types if specified.

Parameters​

message​

StartChildWorkflowExecutionCommandAttributes

StartChildWorkflowExecutionCommandAttributes

options?​

IConversionOptions

Conversion options

Returns​

object

Plain object