-
Bug
-
Resolution: Done
-
Major
-
7.39.0.Final
-
None
-
NEW
-
NEW
-
In a Human Task, I defined a reassignment logic like in the following picture:
When I launch this task at runtime I get an exception:
Caused by: org.h2.jdbc.JdbcSQLException: Referential integrity constraint violation: "FKSQRMPVEHLC4QE9I0KM22NMKJL: PUBLIC.REASSIGNMENT_POTENTIALOWNERS FOREIGN KEY(ENTITY_ID) REFERENCES PUBLIC.ORGANIZATIONALENTITY(ID) ('rachid')"; SQL statement:
insert into Reassignment_potentialOwners (task_id, entity_id) values (?, ?) [23506-193]
I got that the problem is that the user "rachid" is not listed in the table ORGANIZATIONALENTITY.
In fact, if before reaching this task, I assign another task to "rachid" the entity "rachid" is loaded in the table ORGANIZATIONALENTITY, and I can finally trigger the task that potentially can be reassigned to "rachid".