6 Replies Latest reply on Jul 26, 2013 11:33 AM by ooharak

    v6 beta5: automatic deletion of task-related entities

    ooharak Newbie

      Hi,

      I am testing jBPM6.0.0beta5 on JBoss AS7.1.1. If I start a process, start and complete human tasks, then finally the process instance ends normally at the end event.

      After the process instance ends, these tables still have records for the finished task,  unexpectedly :

       

       

      BAMTaskSummary

      Content

      OrganizationalEntity

       

       

      My question is, where and how should I delete those records ?

       

       

      For Content:

      apparently, TaskAdminImpl deletes the document Content of each task ( with TaskData#getDocumentContentId()), but it seems it doesn't delete

      the output Content of the task (TaskData#getOutputContentId()).

       

       

      For BAMTaskSummary and OrganizationalEntity, I have no idea.

       

      Thanks in advance