Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-11220

BatchUpdateException while completing external Task

XMLWordPrintable

    • Icon: Bug Report Bug Report
    • Resolution: Duplicate
    • Icon: L2 - Critical L2 - Critical
    • None
    • 7.11.0
    • camunda.org, engine
    • None

      When I am trying to complete my external Task through external task client spring boot application.
      The engine is creating a batch process having a multiple insert, update, delete statements.
      As tables are having dependency on the other tables. 

      The same batch is having all the statements.

          1. Error flushing statements. Cause: org.apache.ibatis.executor.BatchExecutorException: org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.deleteExecution (batch index #10) failed. 9 prior sub executor(s) completed successfully, but will be rolled back. Cause: java.sql.BatchUpdateException: Batch entry 0 delete from ACT_RU_EXECUTION where ID_ = '3d820191-2172-11ea-ae64-6297474a9cc6' and REV_ = 1 was aborted: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task"
            Detail: Key (id_)=(3d820191-2172-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". Call getNextException to see other errors in the batch.

       

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              akkujain93 Akanksha Jain
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: