There's no special built-in way to do this replacement directly.
A few steps will be involved in this:
Make sure your new workflow can be initiated "on demand" (as well as
whatever business logic triggers you are using for normal operations).
Use advanced find to identify all the records of the relevant type which
have associated system jobs of type workflow with the status you are
interested in (perhaps only waiting ones, or failed ones).
Select these records and start the new workflow on demand.
Now through system jobs (again you might use advanced find here)
identify the workflows you want to stop and cancel them.
Ideally start the new ones before cancelling the old, otherwise it might
not be so easy to work out which records need this.
Hope this helps
Adam
Post by SteveIs there any way I can do this. I had thought of flagging the associated
entity, deleting the workflow and then iniating the new one on all flagged
records?