I have a workflow starts when an item is modified. The workflow takes some time to complete.
If I modify the item twice. The workflow keeps on running the instance triggered by the 1st modification and ignore the 2nd modification.
How to stop the workflow triggered by the 1st modification and start a new instance after the 2nd modification?