Feature Request - Executing a task in a loop
Hi Team,
Is there any configuration which allows a task to be executed within a loop? If no, it would be nice to have one. E.g. a task receives a list of values as an input and gets executed for each value in the list.
@sameekb currently there is no such configuration. You can actually achieve this by not marking the task completed (IN_PROGRESS) and relying on an internal counter that produce as part of the task's output to mark it as completed after N number of attempts. But nothing out of the box as yet.
It would indeed be really nice to support that.
We have a similar use case and repeating the task for each value in a list would be really helpful
@sameekb: I had a similiar use case where @v1r3n helped me out.
One way to solve it could be using "Dynamic Fork Tasks". You could have a list of input values which one worker picks up and creates the needed JSON output for a subsequent "Dynamic Fork Task".
For more details, please see here https://github.com/Netflix/conductor/issues/30
@blueelephants @v1r3n : Given the current situation, dynamically forking tasks is a viable alternative.
But there's a catch, more the no. of tasks, more is the management overhead from framework's point of view.
Closing this issue, as there is no activity for a while. Please feel free to open another issue if you still have questions.