Brenda walks you through an example of how to loop tasks in your workflow runs, using Code Tasks.
The flow:
WFR action task completion > Code task clears out form field data and changes task status to NotCompleted > User can fill up task and complete the task again > Code task resets again > …(repeat as many times as loop required) … > Once loop counter hits, Conditional Logic will hide the action task to prevent further submissions.