Skip to content
Developer Preview

WorkflowChildControlParams

workflow/childControl params: skip or retry one workflow child, keyed by the (childId, attempt) pair the workflow item’s children[] carries.

  • action
  • attempt
  • childId
  • commandId
  • sessionId
  • workflowRunId
Source

schema/msp/experimental/msp.schema.json#/types/WorkflowChildControlParams

{
"description": "`workflow/childControl` params: skip or retry one workflow\nchild, keyed by the `(childId, attempt)` pair the `workflow` item's\n`children[]` carries.",
"properties": {
"action": {
"$ref": "#/$defs/WorkflowChildAction",
"description": "The control to apply."
},
"attempt": {
"description": "The child's CURRENT attempt (integer >= 1). A stale value rejects\n`\"stale_attempt\"`; re-read the item and re-key — never guess.",
"minimum": 1,
"type": "integer"
},
"childId": {
"description": "The child, from the item's `children[]`; required, non-empty.",
"type": "string"
},
"commandId": {
"description": "The idempotency handle (UUIDv7).",
"type": "string"
},
"sessionId": {
"description": "The target session.",
"type": "string"
},
"workflowRunId": {
"description": "The run owning the child; required, non-empty.",
"type": "string"
}
},
"required": [
"action",
"attempt",
"childId",
"commandId",
"sessionId",
"workflowRunId"
],
"type": "object"
}