Expected Behavior
With MongoDB as the actor state store, dapr workflow list -a <app-id> should work:
- Without
-c: gRPC ListInstanceIDs on the sidecar should succeed (same as Redis).
- With
-c (Mongo URI): if gRPC is unavailable, the CLI fallback should still be able to list workflows using that connection string.
Actual Behavior
With MongoDB as the actor state store, dapr workflow list fails in both cases:
-
No connection string
Fails with: “connection string is required for all database drivers for Dapr pre v1.17” (CLI goes to DB fallback but can’t open Mongo without a URI).
-
With connection string (-c 'mongodb://...')
Still fails with ❌ No workflow found in namespace
With Redis as actor store, workflow list without -c works.
Steps to Reproduce the Problem
- Run MongoDB as a replica set and configure a Mongo state store with
actorStateStore: true.
- Run a workflow app using only that store (e.g. run template under
cli/repros/mongo-workflow).
dapr workflow run ... -a <app-id> — instance starts.
dapr workflow list -a <app-id> — fails (no -c).
dapr workflow list -a <app-id> -c 'mongodb://...' — also fails (or empty/wrong) without additional CLI fixes.
Release Note
RELEASE NOTE: FIX dapr workflow list with MongoDB actor state store (gRPC list and/or CLI fallback).