Deleting a Process Instance

  • 14 August 2007
  • 1 reply
  • 2 views

Badge +5

When you delete a process instance using K2MANAGER.DeleteProcessInstance, I notice that the process status in K2Log is shown as "Deleted", however the activity status in K2Log is still shown as "Active".


Is this the correct behaviour or should the Activity status be shown as Deleted or something similar?


1 reply

Badge +8

There is no "deleted" status for an activity since only a Process Instance can be deleted.  Because the Process Instance is deleted all the activity instances are effectively deleted but the status fields are maintained so that you can understand where the process was when it was deleted.


I hope this makes sense.

Reply