multiple-workflow-files

command
v0.11.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

README

Multiple Workflow Files

Run multiple workflow definitions from separate YAML files in a single Zigflow worker

Getting started

go run .

This example runs multiple workflow definitions from separate YAML files within a single Zigflow process.

In this case:

  • each YAML file defines a separate workflow
  • all workflows are loaded at startup
  • workflows are grouped by task queue and registered on shared workers
  • each workflow can be executed independently

This is useful when:

  • you have many small or low-volume workflows
  • you want to reduce deployment and operational overhead
  • you prefer to organise workflows across multiple files rather than one large definition

This differs from the Multiple Workflows example, where multiple workflows are defined in a single YAML file. Here, workflows are split across multiple files but run together in one Zigflow instance.

This will trigger one of the workflows with some input data and print everything to the console.

Diagram

Task Queue: zigflow Workflow Type: workflow1

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL