Calling code repeatedly and using states in Workflow

You can't officially use states... but... you can recursively call the same workflow, feeding in "state" you need each call.

This thread has some good insights

And this one