Hi All,
One of the process(change request approval process) is getting failed with below error:
BPM-0522: Internal Process Engine Error. Contact your site administrator (Error executing action)
When we click on show details of this failure we have below error message:
com.niku.bpm.BpmException: com.niku.union.odf.exception.ODFException: Error locking attributes for change instance with PK: 5454021
at com.niku.bpm.services.oi.odf.BpmObjectInstanceImpl.lockAttribute(BpmObjectInstanceImpl.java:234)
at com.niku.bpm.services.oi.odf.BpmOperationImpl.lockOrUnlockAttributes(BpmOperationImpl.java:513)
at com.niku.bpm.services.oi.odf.BpmOperationImpl.executeSpecialOperation(BpmOperationImpl.java:333)
at com.niku.bpm.services.oi.odf.BpmOperationImpl.execute(BpmOperationImpl.java:446)
at com.niku.bpm.services.ExecuteSystemAction.execute(ExecuteSystemAction.java:128)
at com.niku.bpm.services.ProcessEngine.executeStepAction(ProcessEngine.java:149)
at com.niku.bpm.engine.rules.ActionExecutionPipeline.processActions(ActionExecutionPipeline.java:141)
at com.niku.bpm.engine.rules.ActionExecutionPipeline.execute(ActionExecutionPipeline.java:71)
at com.niku.bpm.engine.rules.Pipeline.run(Pipeline.java:280)
Caused by: com.niku.union.odf.exception.ODFException: Error locking attributes for change instance with PK: 5454021
at com.niku.odf.object.ObjectInstanceImpl.lockAttributes(ObjectInstanceImpl.java:1653)
at com.niku.odf.object.ObjectInstanceImpl.lockAttribute(ObjectInstanceImpl.java:1507)
at com.niku.bpm.services.oi.odf.BpmObjectInstanceImpl.lockAttribute(BpmObjectInstanceImpl.java:230)
... 8 more
Caused by: com.niku.union.persistence.PersistenceException:
SQL error code: 1
Error message: [CA Clarity][Oracle JDBC Driver][Oracle]ORA-00001: unique constraint (CLAR_OWNER.ODF_LOCKED_ATTRIBUTES_U1) violated
When we retry this process, it went through successfully. Could you please help me how can we avoid/resolve these kind of process failures. Thanks.