Skip to main content
Although many have asked simliar questions, I am still confused on the answer.

We have been building and testing processes for quite some time. We will be ready to deploy soon and we do not want our test data to be available in the workspace reports.

We have many old process instances. We can't use the Service Manager to delete them because they are not active. How can we remove these old process instances and their log entries?

I have read that it may be possible using SourceCode.K2Mng.K2Manager.DeleteProcessInstances. Does this only work for active instances or can we use this for old stuff as well?

I have also read that it may be possible by manually deleting entries from the database. Is this a feasible option? Are there instructions somewhere for this?

If the answers to all of these are no, is there some alternative way to make sure the data does not appear in the workspace? Perhaps some kind of archive feature?

I'd appreciate your help.
Please look at this thread
http://forum.k2workflow.com/viewtopic.php?t=469&highlight=delete+process
I looked at that thread.

I'd like to remove process instances, not whole processes. In fact, I really just don't want them to show up in reports and statistics anymore. If there is a way to archive them, that would be fine too.
Hi Jessica,

As Renier stated in the other post:
We have a set of Clean-Up procedures that's aimed at development environments; I will recommend you using this rather that doing it directly in the database.

Please contact your local K2.net representative for more information on the Clean-Up procedures

With these 'clean-up' procedures, you can remove process instances.

If you are running K2.net 2003 SP2a, we've also got an archiving utility. Please download this utility from the Customer and Partner portal - http://portal.k2workflow.com

Regards,
Ockert

Reply