TracecatHQ / tracecat

The open source Tines / Splunk SOAR alternative.
https://tracecat.com
GNU Affero General Public License v3.0
2.34k stars 159 forks source link

feat: Implement child workflow core functionality #253

Closed daryllimyt closed 1 month ago

daryllimyt commented 1 month ago

Features

Changes

Testing

Example usage

title: Parent workflow
description: Test child workflow
entrypoint:
  ref: parent
inputs:
  data: [1, 2, 3, 4, 5, 6, 7]

actions:
  - ref: parent
    for_each: ${{ for var.x in INPUTS.data }}
    action: core.workflow.execute
    args:
      workflow_id: <<child workflow id>>
      loop_strategy: parallel
      fail_strategy: isolated
      batch_size: 3
      trigger_inputs:
        number: ${{ var.x }}

Todos