Interface: ChildOptions
Options of ctx.child and ctx.startChild (11 §2.35).
Properties
cancellationType?
optionalcancellationType?:"WAIT_CANCELLATION_COMPLETED"|"WAIT_CANCELLATION_REQUESTED"|"TRY_CANCEL"|"ABANDON"
How the awaitable reacts when its scope is cancelled. Unset, it rejects at
once and the child is left to the parent-close policy; set, the SDK sends
a cancel request to the child (REQUEST_CANCEL_EXTERNAL_RUN, a parity
command).
context?
optionalcontext?:JsonObject
details?
optionaldetails?:string
executionTimeout?
optionalexecutionTimeout?:Duration
fairnessKey?
optionalfairnessKey?:string
Fairness of the child's tasks (11 §2.11).
fairnessWeight?
optionalfairnessWeight?:number
headers?
optionalheaders?:Headers
idConflictPolicy?
optionalidConflictPolicy?:"FAIL"|"USE_EXISTING"|"TERMINATE_EXISTING"
idReusePolicy?
optionalidReusePolicy?:"ALLOW_DUPLICATE"|"ALLOW_DUPLICATE_FAILED_ONLY"|"REJECT_DUPLICATE"
input?
optionalinput?:unknown
parentClosePolicy?
optionalparentClosePolicy?:"ABANDON"|"TERMINATE"|"REQUEST_CANCEL"
Default TERMINATE for ctx.child, ABANDON for ctx.startChild (DB13).
priority?
optionalpriority?:number
retry?
optionalretry?:WorkflowRetryOptions
Run-level retry of the child.
runTimeout?
optionalrunTimeout?:Duration
searchAttributes?
optionalsearchAttributes?:JsonObject
The child's search attributes at its start (11 §2.35): like a top-level
start, the child inherits none from its parent. Needs
fluidgrids.search-attributes.
startDelay?
optionalstartDelay?:Duration
summary?
optionalsummary?:string
taskQueue?
optionaltaskQueue?:string
version?
optionalversion?:string
active (default), vN or @alias.
versioningBehavior?
optionalversioningBehavior?:"PINNED"|"AUTO_UPGRADE"
workflowId?
optionalworkflowId?:string
workflowTaskTimeout?
optionalworkflowTaskTimeout?:Duration