I managed to fix it.
The issue was that the reset inputs and reset data was causing it to get into a loop and cancel the workflow.