MastraM
Mastraโ€ข2mo ago
Amos

workflow deduplication

is it possible to only run a single workflow for a specific input at a time? e.g. if you trigger a workflow again and it's already running for the same input, then it ignores it and doesn't trigger another run?

basically something like https://docs.dbos.dev/typescript/tutorials/queue-tutorial#deduplication
You can use queues to run many workflows at once with managed concurrency.
Was this page helpful?