<h2>Retriggering the same workflow causes the previous task to reopen</h2><br/><div style="overflow-x:auto"><article><div ><h3 >Issue </h3><section><ul style="list-style-position: inside;"><li>When we retrigger the same workflow, the previous tasks and/or approvals that were created are reopened</li></ul></section></div><div ><h3 >Cause</h3><section><ul style="list-style-position: inside;"><li>tasks and approval records created by a workflow are linked to that workflow via the wf_activity field</li><li>this field is only visible when clicking on "Show XML" UI action</li></ul></section></div><div ><h3 >Resolution</h3><section><ul style="list-style-position: inside;"><li>if the expected behavior is to create new task and/or approval records then you will have to clear out the wf_activity field either when the workflow starts or before the workflow ends</li><li>this can be done via a "Run Script" activity</li></ul></section></div></article></div>