Delete running task from activiti tables

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2018 05:50 PM
Hi,
We are trying to delete tasks from runtime tables. Act_ru_task, execution and act_ru_variable tables. We want to be able to leave the process definition as is. We havr about 70000 tasks that we want to delete.
We tried the following options
1. Delete deployment API. This API is running for more than 3 hrs. We see a lot of exceptions. As old tasks are deleted, new tasks get created.
2. The direct sql way. After deleting data from the tables, everything stopped working. We deleted data from act evt log, identity link, ru tables and re tables. We are not sure of the order of deleting data from the tables directly. Any ideas?
We are using version 5.22.
Thank you.
- Labels:
-
Alfresco Process Services

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2018 12:58 AM
Hi,
What is the reason for you to delete the tasks ? Knowing that will help us answer you better.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2018 06:15 AM
Hi,
Currently our application connect with only one database. As part of enhanced architecture, we are expanding to put workflows into multiple database s. The reason for deletion is to have only the workflow tasks for specific processes in a database. Which workflow processes to create iniwhich database is driven by aaconfig table. We are trying to get a one time purge of unwanted data.
Thank you.
