Infinite Recursion Termination in Workflow

This thread may help you.