Currently, I have a workflow [WF1] that would check if the item has been submitted or saved. If it has been submitted, then the workflow would start another workflow [WF2] for the approval process. Everything works smoothly for this.
However, if a user edits an item and resubmits it while WF1 or WF2 is currently in progress, WF1 or WF2 would encounter an error since you cannot start a workflow that's already running.
So what I would want is when a user does this, the running workflows would be stopped or canceled then I would start WF1 again. Is there any way that I could do this through another workflow?