Collect Recent Loop Results (Cross-Run)
Perform Collect Recent Loop Results (Cross-Run) through GenHealth.
collect_recent_loop_resultsInputs
- Source Workflow Definition Id
source_workflow_definition_idworkflow_selectOptional selected identifier or value.
- Loop Node Id
loop_node_idtextOptional text value.
- Collection Mode
collection_modeselectOptional selected identifier or value.
Default:
"finished_runs"Options: Finished runs (legacy) ("finished_runs"), All started runs (normalized audit) ("normalized_all_started_runs")
- Report Day
report_daytextOptional text value.
Default:
"today" - Window Hours
window_hoursselectOptional selected identifier or value.
Options: Full calendar day (""), Every hour ("1"), Every 2 hours ("2"), Every 3 hours ("3"), Every 4 hours ("4"), Every 6 hours ("6"), Every 8 hours ("8"), Every 12 hours ("12")
- Timezone
timezonetextOptional text value.
Default:
"UTC" - Auto Rollover Hour
auto_rollover_hournumberOptional numeric value.
Default:
2 - Replay Mutable Runs
replay_mutable_runsbooleanOptional true-or-false value.
Default:
false - Result Node Ids
result_node_idstextOptional text value.
- Result Field Projection
result_field_projectionjsonOptional JSON value.
- Compact Result Node Ids
compact_result_node_idstextOptional text value.
- Item Field Projection
item_field_projectionjsonOptional JSON value.
- Max Iterations
max_iterationsnumberOptional numeric value.
Default:
2000 - Max Output Bytes
max_output_bytesnumberOptional numeric value.
Default:
3500000
Outputs
successSuccessiterationsIterationsiteration_countIteration Countiterations_omittedIterations Omittedrun_countRun Countruns_in_windowRuns In Windowruns_selectedRuns Selectedruns_truncatedRuns Truncatedruns_by_statusRuns By Statuscollection_modeCollection Modewindow_basisWindow Basisrun_status_scopeRun Status Scopestorage_sourceStorage Sourcetransaction_isolationTransaction Isolationtransaction_read_onlyTransaction Read Onlyaudit_scope_completeAudit Scope Completecompleted_run_countCompleted Run Countreplay_mutable_runs_appliedReplay Mutable Runs Appliedrun_selection_scopeRun Selection Scoperesult_node_idsResult Node Idsresult_node_ids_appliedResult Node Ids Appliedselected_result_node_countSelected Result Node Countresult_field_projectionResult Field Projectionresult_field_projection_appliedResult Field Projection Appliedcompact_result_node_idsCompact Result Node Idscompact_result_node_ids_appliedCompact Result Node Ids Applieditem_field_projectionItem Field Projectionitem_field_projection_appliedItem Field Projection Appliedmax_output_bytesMax Output Bytesreport_dayReport Dayreport_day_usReport Day UstimezoneTimezonewindow_startWindow Startwindow_endWindow Endwindow_closedWindow Closedwindow_idWindow Idwindow_labelWindow LabeltruncatedTruncatederrorError
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",
"properties": {
"timezone": {
"type": "string",
"default": "UTC",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"report_day": {
"type": "string",
"default": "today",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"loop_node_id": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"window_hours": {
"enum": [
"",
"1",
"2",
"3",
"4",
"6",
"8",
"12"
],
"type": "string",
"description": "Optional selected identifier or value.",
"x-workflow-field-type": "select"
},
"max_iterations": {
"type": "number",
"default": 2000,
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"collection_mode": {
"enum": [
"finished_runs",
"normalized_all_started_runs"
],
"type": "string",
"default": "finished_runs",
"description": "Optional selected identifier or value.",
"x-workflow-field-type": "select"
},
"result_node_ids": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"max_output_bytes": {
"type": "number",
"default": 3500000,
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"auto_rollover_hour": {
"type": "number",
"default": 2,
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"replay_mutable_runs": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"item_field_projection": {
"description": "Optional JSON value.",
"x-workflow-field-type": "json"
},
"compact_result_node_ids": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"result_field_projection": {
"description": "Optional JSON value.",
"x-workflow-field-type": "json"
},
"source_workflow_definition_id": {
"type": "string",
"description": "Optional selected identifier or value.",
"x-workflow-field-type": "workflow_select"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"success": {},
"timezone": {},
"run_count": {},
"truncated": {},
"window_id": {},
"iterations": {},
"report_day": {},
"window_end": {},
"window_basis": {},
"window_label": {},
"window_start": {},
"report_day_us": {},
"runs_selected": {},
"window_closed": {},
"runs_by_status": {},
"runs_in_window": {},
"runs_truncated": {},
"storage_source": {},
"collection_mode": {},
"iteration_count": {},
"result_node_ids": {},
"max_output_bytes": {},
"run_status_scope": {},
"iterations_omitted": {},
"completed_run_count": {},
"run_selection_scope": {},
"audit_scope_complete": {},
"item_field_projection": {},
"transaction_isolation": {},
"transaction_read_only": {},
"compact_result_node_ids": {},
"result_field_projection": {},
"result_node_ids_applied": {},
"selected_result_node_count": {},
"replay_mutable_runs_applied": {},
"item_field_projection_applied": {},
"compact_result_node_ids_applied": {},
"result_field_projection_applied": {}
},
"additionalProperties": true
}