# CWL sub-workflow for step *init_tables* of workflow gridmet.cwl ```{code-block} yaml :caption: CWL Content :linenos: class: Workflow cwlVersion: v1.2 inputs: connection_name: type: string database: type: File domain: type: string registry: type: File table: type: string outputs: index_err: outputSource: index/errors type: File index_log: outputSource: index/log type: File reset_err: outputSource: reset/errors type: File reset_log: outputSource: reset/log type: File requirements: InlineJavascriptRequirement: {} MultipleInputFeatureRequirement: {} NetworkAccess: networkAccess: true ScatterFeatureRequirement: {} StepInputExpressionRequirement: {} SubworkflowFeatureRequirement: {} steps: index: in: connection_name: connection_name database: database depends_on: reset/log domain: domain registry: registry table: table out: - log - errors run: index.cwl reset: in: connection_name: connection_name database: database domain: domain registry: registry table: table out: - log - errors run: reset.cwl ```