Skip to content
Packages Examples Agents Blog Get started

Config section: workflow (config_key in WorkflowProvider, config_model = BulkOperationConfig).

The graph engine has a separate config (GraphConfig) registered as a singleton; its env vars use the prefix ORI_WORKFLOW__GRAPH__.

Environment variable prefix: ORI_WORKFLOW__ (e.g. ORI_WORKFLOW__BATCH_SIZE=200).

Defined in oridecon.workflow.config.BulkOperationConfig.

KeyTypeDefaultEnv varDescription
batch_sizeint10ORI_WORKFLOW__BATCH_SIZEItems per batch
max_concurrencyint5ORI_WORKFLOW__MAX_CONCURRENCYMax concurrent operations
timeoutfloat300.0ORI_WORKFLOW__TIMEOUTOperation timeout in seconds
retry_attemptsint3ORI_WORKFLOW__RETRY_ATTEMPTSRetry attempts on failure
retry_delayfloat1.0ORI_WORKFLOW__RETRY_DELAYDelay between retries (seconds)
enable_progress_trackingboolTrueORI_WORKFLOW__ENABLE_PROGRESS_TRACKINGTrack operation progress
circuit_breaker_configCircuitBreakerConfig | NoneNoneCircuit breaker for bulk ops
pipeline_timeoutfloat60.0ORI_WORKFLOW__PIPELINE_TIMEOUTDefault pipeline timeout (seconds)

Environment variable prefix: ORI_WORKFLOW__GRAPH__ (e.g. ORI_WORKFLOW__GRAPH__ENABLED=false).

Defined in oridecon.workflow.config.GraphConfig.

KeyTypeDefaultEnv varDescription
enabledboolTrueORI_WORKFLOW__GRAPH__ENABLEDEnable graph subsystem
max_iterationsint25ORI_WORKFLOW__GRAPH__MAX_ITERATIONSMax traversal steps (anti-loop)
node_timeoutfloat120.0ORI_WORKFLOW__GRAPH__NODE_TIMEOUTPer-node timeout (0 = no limit)
total_timeoutfloat0.0ORI_WORKFLOW__GRAPH__TOTAL_TIMEOUTTotal workflow timeout (0 = no limit)
checkpoint_enabledboolFalseORI_WORKFLOW__GRAPH__CHECKPOINT_ENABLEDPersist checkpoints for resumption
parallel_branchesboolTrueORI_WORKFLOW__GRAPH__PARALLEL_BRANCHESExecute parallel branches via asyncio.gather
max_parallel_branchesint0ORI_WORKFLOW__GRAPH__MAX_PARALLEL_BRANCHESMax parallel branches (0 = unlimited)
workflow:
batch_size: 100
max_concurrency: 10
timeout: 600.0
retry_attempts: 5
retry_delay: 2.0
enable_progress_tracking: true
pipeline_timeout: 120.0
Terminal window
export ORI_WORKFLOW__BATCH_SIZE=200
export ORI_WORKFLOW__MAX_CONCURRENCY=20
export ORI_WORKFLOW__GRAPH__ENABLED=true
export ORI_WORKFLOW__GRAPH__CHECKPOINT_ENABLED=true
export ORI_WORKFLOW__GRAPH__MAX_ITERATIONS=50

The WorkflowProvider resolves BulkOperationConfig from the application config via OrideconConfig.get_section("workflow", BulkOperationConfig). GraphConfig is instantiated separately and registered as a singleton.