JBoss Community

Re: TaskService Referential integrity constraint violation

created by Mauricio Salatino in jBPM - View the full discussion

Hi there,

Usually this exception:

 

Caused by: org.h2.jdbc.JdbcBatchUpdateException: Referential integrity constraint violation: "FK1EE418D2C122ED2: PUBLIC.PEOPLEASSIGNMENTS_POTOWNERS FOREIGN KEY(ENTITY_ID) REFERENCES PUBLIC.ORGANIZATIONALENTITY(ID)";

 

Makes reference to the "People" that you have loaded in your identity tables. Usually you will see this exceptions when you don't have an Administrator user loaded or some or your processes use an entity that is not loaded in that tables.

Make sure that you at least have your "Administrator" user loaded. The Task Client allows you to add Users as far as I remember with the addUser() method.

Cheers

Reply to this message by going to Community

Start a new discussion in jBPM at Community