2 Replies Latest reply on May 28, 2015 7:22 AM by mayankjain

    constraint violation on task complete


      Hibernate: insert into PeopleAssignments_BAs (task_id, entity_id) values (?, ?)

      Hibernate: insert into PeopleAssignments_PotOwners (task_id, entity_id) values (?, ?)

      2011-01-23 23:55:06,173 ERROR (    JDBCExceptionReporter.java:101)     - ORA-02291: integrity constraint (JBPM.FK1EE418D2C122ED2) violated - parent key not found


      I get the above error when I complete a task. Why would I get this constraint?

        • 1. constraint violation on task complete

          The user that is completing the task, is it a known user in the task service?  All users that are used in the task service should be defined (as there are foreign key constraints that check whether the users actually exist).  Also note that you should always have an "Administrator" user, as this is added by default as an administrator for your tasks.



          • 2. Re: constraint violation on task complete

            Hi Kris,


            I am also facing the same issue. I have verified ORGANIZATIONALENTITY table and found user 'Administrator' is already present in it.


            Basically, this issue is occurring on very occasionally basis while starting a new process and completing the human task.


            Any idea to take over this issue?