Create check error task and continue normal process

Hi,
Is it possible in Camunda 7 to call ExternalTaskService#handleFailure() or ExternalTaskService#handleBpmnError() methods without triggering rollback? Or is there any other way to create a “Check error” like task and not trigger rollback?

Thanks,

Tiberiu

Hi @tibi21 and welcome to the forum.

What exactly do you mean by not triggering a rollback? If you mean a rollback of your transaction, then it all depends on your transaction management. E.g. if you’re using Spring Boot, you can catch an exception or mark an exception to not trigger a rollback of the transaction.
Then you can still call the handleFailure or handleBpmnError method of the ExternalTaskService to let the process instance proceed the way you want it to.

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