Class: StartChildWorkflowExecutionCommandAttributes
Represents a StartChildWorkflowExecutionCommandAttributes.
Properties
control
control:
string
StartChildWorkflowExecutionCommandAttributes control.
cronSchedule
cronSchedule:
string
Establish a cron schedule for the child workflow.
header?
optionalheader?:$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?
optionalinput?:$Properties|null
StartChildWorkflowExecutionCommandAttributes input.
memo?
optionalmemo?:$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?
optionalpriority?:$Properties|null
Priority metadata. If this message is not present, or any fields are not present, they inherit the values from the workflow.
retryPolicy?
optionalretryPolicy?:$Properties|null
StartChildWorkflowExecutionCommandAttributes retryPolicy.
searchAttributes?
optionalsearchAttributes?:$Properties|null
StartChildWorkflowExecutionCommandAttributes searchAttributes.
taskQueue?
optionaltaskQueue?:$Properties|null
StartChildWorkflowExecutionCommandAttributes taskQueue.
versioningOverride?
optionalversioningOverride?:$Properties|null
Versioning override for the child workflow. If present, this explicit override takes precedence over versioning behavior inherited from the parent workflow.
workflowExecutionTimeout?
optionalworkflowExecutionTimeout?:$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?
optionalworkflowRunTimeout?:$Properties|null
Timeout of a single workflow run.
workflowTaskTimeout?
optionalworkflowTaskTimeout?:$Properties|null
Timeout of a single workflow task.
workflowType?
optionalworkflowType?:$Properties|null
StartChildWorkflowExecutionCommandAttributes workflowType.
Methods
toJSON()
toJSON():
object
Converts this StartChildWorkflowExecutionCommandAttributes to JSON.
Returns
object
JSON object
create()
Call Signature
staticcreate(properties?):StartChildWorkflowExecutionCommandAttributes&$Shape
Creates a new StartChildWorkflowExecutionCommandAttributes instance using the specified properties.
Parameters
properties?
Properties to set
Returns
StartChildWorkflowExecutionCommandAttributes & $Shape
StartChildWorkflowExecutionCommandAttributes instance
Call Signature
staticcreate(properties?):StartChildWorkflowExecutionCommandAttributes
Creates a new StartChildWorkflowExecutionCommandAttributes instance using the specified properties.
Parameters
properties?
Properties to set
Returns
StartChildWorkflowExecutionCommandAttributes
StartChildWorkflowExecutionCommandAttributes instance
decode()
staticdecode(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()
staticdecodeDelimited(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()
staticencode(message,writer?):Writer
Encodes the specified StartChildWorkflowExecutionCommandAttributes message. Does not implicitly temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes.verify|verify messages.
Parameters
message
StartChildWorkflowExecutionCommandAttributes message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
encodeDelimited()
staticencodeDelimited(message,writer?):Writer
Encodes the specified StartChildWorkflowExecutionCommandAttributes message, length delimited. Does not implicitly temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes.verify|verify messages.
Parameters
message
StartChildWorkflowExecutionCommandAttributes message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
staticfromObject(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()
statictoObject(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