1 Reply Latest reply on May 3, 2012 3:17 AM by kh4m

    JBPM4_TASK table fields containg same values??

    kh4m

      Hello Everybody,

       

      I am working on jbpm4.4 and I have noticed that in JBPM4_TASK table the following fields has the same value,

      • NAME_
      • ACTIVITY_NAME_
      • TASKDEFNAME_

       

      DBID_NAME_STATE_ASSIGNEE_EXECUTION_ID_ACTIVITY_NAME_TASKDEFNAME_
      260009Checklistopenpow1APP_PROCESSONE.12.Checklist.260007ChecklistChecklist
      700009Checklistopenpow1APP_PROCESSONE.37.Checklist.700007ChecklistChecklist
      770009Checklistopenpow1APP_PROCESSONE.42.Checklist.770007ChecklistChecklist
      840033Checklistopenchk2APP_PROCESSONE.54.Checklist.840031ChecklistChecklist
      860009ChecklistopenNULLAPP_PROCESSONE.55.Checklist.860007ChecklistChecklist

       

       

      I need to know the purpose of these fileds? why they are containg exact same value for every row of my task creation step. Can any body explain me about these fields? Furthermore tell me can I put my own value in any of these fields without disturbing my functionality?

       

      Thank You.

      Khurram

        • 1. Re: JBPM4_TASK table fields containg same values??
          kh4m

          Hi,

           

          I have done the following to set the name of the task table's field NAME_

           

          Task task = taskService.createTaskQuery().executionId(instance.getId()).uniqueResult();

          task.setName("whats new name");

          taskService.saveTask(task);

           

          Thanks!

          Khurram