kreuzwerker / DKT.flows-engine

Apache License 2.0
0 stars 0 forks source link

Only enable the latest flowRun when activating a Flow #111

Closed johipsum closed 6 years ago

johipsum commented 6 years ago

For now we don't have a UI to acitvate / deactivate FlowRuns specifically. The only way to do this is 'all or nothing', this means when a flow is active / not active then all its flowRuns are active too and vice versa.
This leads to unexpected behavior for the user. For example if the user creates a lot of flowRuns for a scheduled flow, then he gets tasks from every flowRun but he only 'sees' the latest flowRun in the frontend and the user cannot see where they come from exactly.

johipsum commented 6 years ago

done by https://github.com/kreuzwerker/DKT.flows-engine/commit/c569dcfe67879aa537c5167124eb73412ce034ae