I have a workflow that runs over and over and over again if it fails/reaches an "End Workflow" step. I have no idea why this is happening. If it reaches the end of the workflow successfully, it completes and I have no issue. But if, let's say, it tries to delete a file that is not found, it will terminate the workflow and then re-run it. I noticed this because the delete file task came after an email, so I received hundreds of emails before I realized what was happening. The workflow also re-runs if it reaches this End Workflow step.
The workflow is triggered when a form is submitted. I use a workflow service task. The workflow name in process model is the same as the workflow name... I just don't know why it would keep trying to re-run the workflow if it fails (or reaches End Workflow step). Any thoughts on this?
edit: there are no starting rules on this workflow - it only runs when a specific form is submitted. It's triggered by the process modeler.