Dear all,
Our K2 have a lot of old process instances that do not need to use, because:
- they are error
- or they are not complete and they are too old (more than 5 months)
- or they are complete but the CC event does not complete
I want to:
- list them all
- remove process instance of case 1 and case 2
- expire CC event of case 3
I can list case 1.
1/ In case 2, I listed by using _WorklistSlot with status = 0. Is it correct? Because _WorklistSlot has 4 status: 0, 1, 3, 4
2/ I don't know how to list case 3.
3/ I don't know how to remove a lot of instances by script.
Please help me.
Thanks very much
imagic