Skip to content

Data-driven executions example does not work #307

@ghost

Description

Bug Summary

The example at https://flowexec.io/guide/advanced?id=data-driven-conditions does not work as (I assume) is intended.

Additional context

The flow file:

executables:
  - verb: setup
    name: feature
    serial:
      execs:
        # Enable a feature flag
        - cmd: flow cache set feature-x enabled
        
        # Later workflows can check this flag
        - if: store["feature-x"] == "enabled"
          cmd: echo "Feature X is enabled"

When run, it does NOT echo "Feature X is enabled".

When I run flow --version I get:

flow version

Version: unknown
Git Commit: unknown
Build date: unknown
Go version: go1.24.6
OS / Arch : linux amd64

I installed flow with:

go install github.com/flowexec/flow@latest

On September 28th.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions