Camunda 7.20 / Spring Boot 3.1: Transaction silently rolled back because it has been marked as rollback-only (SOLVED)

Hello,

I’m in the process of upgrading our application to Camunda 7.20 and Spring 3.1.

One problem that I’m observing is when I try to execute runtimeService.deleteProcessInstance whilst in a Java method annotated with @Transactional.

In the log I see:
org.springframework.transaction.UnexpectedRollbackException: Transaction silently rolled back because it has been marked as rollback-only

This was no problem with Camunda 7.19 / Spring Boot 2.7.
When I remove @Transactional the exception does not occur.

Has anyone else faced this kind of problem?

Best regards!

After further investigation I found that there was an exception when trying to delete the process and internally it was “No process instance found for id ‘xxx’: processInstance is null”.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.