Dispatch Workflow Runs
Perform Dispatch Workflow Runs through GenHealth.
genhealth_dispatch_workflow_runswrite
Inputs
- Items
itemsjsonrequiredRequired JSON value.
- Target Route
target_routetextrequiredRequired text value.
- Max Dispatches
max_dispatchesnumberOptional numeric value.
- Event Batch Size
event_batch_sizenumberOptional numeric value.
- Concurrency Key Prefix
concurrency_key_prefixtextOptional text value.
- Per Item Concurrency Key Fields
per_item_concurrency_key_fieldsjsonOptional JSON value.
- Lock Source
lock_sourcetextOptional text value.
- Trigger Data Extra
trigger_data_extrajsonOptional JSON value.
- User Sub
user_subtextOptional text value.
- Allow Direct Fallback
allow_direct_fallbackbooleanOptional true-or-false value.
Default:
true - Require Unique Target Route
require_unique_target_routebooleanOptional true-or-false value.
Default:
false
Outputs
successSuccesstarget_routeTarget Routeitems_receivedItems Receiveddispatch_countDispatch Countremaining_countRemaining Countdispatch_limitedDispatch Limitedmax_dispatchesMax DispatchesdispatchedDispatchederrorError
Output schema completeness: best_effort_declared
Safety
- External effect
- write
- Confirmation recommended
- No
- Retry safe
- No
- Dry run supported
- No
Schemas
These schemas are first-pass authoring guidance. Runtime validation remains authoritative.
Input schema
{
"type": "object",
"required": [
"items",
"target_route"
],
"properties": {
"items": {
"description": "Required JSON value.",
"x-workflow-field-type": "json"
},
"user_sub": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"lock_source": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"target_route": {
"type": "string",
"description": "Required text value.",
"x-workflow-field-type": "text"
},
"max_dispatches": {
"type": "number",
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"event_batch_size": {
"type": "number",
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"trigger_data_extra": {
"description": "Optional JSON value.",
"x-workflow-field-type": "json"
},
"allow_direct_fallback": {
"type": "boolean",
"default": true,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"concurrency_key_prefix": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"require_unique_target_route": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"per_item_concurrency_key_fields": {
"description": "Optional JSON value.",
"x-workflow-field-type": "json"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"success": {},
"dispatched": {},
"target_route": {},
"dispatch_count": {},
"items_received": {},
"max_dispatches": {},
"remaining_count": {},
"dispatch_limited": {}
},
"additionalProperties": true
}