Workflow Instances Deletion

0
I'd appreciate some advice on deleting workflow instances in our system. Currently, we're faced with the issue of incomplete deletion. When we delete the workflow context, the associated workflow instances persist. Is there a way to completely remove these instances and start from a clean slate? Please note that we cannot reset the entire database, as we want to maintain our masterdata.
asked
2 answers
0

Hi Ozge,

Thank you for your suggestion. I tried this, but unfortunaltely it didn't work. The workflow instances weren't being deleted.

I partially solved it by making a dummy account, and in Workflow Manage Task Assignments page, assigned and targeted all tasks to this dummy account.

answered
0

Hi Rene,

Deleting Context objects and Workflow instances are 2 separate things (as they can have different life cycles). To delete the workflows I suggest to first bring all workflows that need to be deleted to a final state (finished or aborted). You should then be able to delete the respective System.Workflow objects (which will cascade delete all related workflow data in the system module). Deletion of data in the system module can only be done by a user in the Admin role. You can then delete the context objects.

answered