Calculation loop with workflow

Hey guys!
I’m creating a fish growth prediction program, and I’m wondering if it’s possible to perform calculations in a loop through the workflow.

I am using ‘trigger a custom event’ to trigger the workflow for calculating daily body weight by clicking the ‘Simulate growth’ button. But I need this workflow to run automatically until the slaughter weight is reached.
Similar to the ‘do while’ function in python.

I already tried using the ‘Do when code is true’ action, but it didn’t work either.

Is it possible to do that?

I posted the question and went to research the plugins
I managed to do it using Simple looper.

I didn’t delete the post in case anyone has the same question.