# prefect-community

01/09/2020, 4:45 PM
Similar flows - i have dozens of flows that execute the same code on a schedule (every X seconds, forever), but with different parameters (i.e. different customers, deployments, etc). As far as i know, I need to register the same flow for each set of parameters with a unique name, which then requires a unique docker container for each. Wondering if there is a better way to do this?

Aliza Rayman

01/09/2020, 5:00 PM
I had a similar problem. I created a function which creates a flow, it takes the schedule, docker container, and anything else required as parameters. Curious how anyone else solved this?