Camunda Batch Finish

Hi,

Camunda batch has a way to know when the batch execution is finished to do something else after that process is finished?

Thanks in advance!

Juan.

Hi Juna,

hm sadly there is no out of the box solution from the extension. But there are several ways to get this information:

  1. Load the batch via management service, if nothing returns, the batch is finished.
  2. Load the batch via history service, there you can have a look for the end date. (If it is set, the batch is finished)
  3. Camunda writes history events also if a batch is finished. (But just if history event level is set to FULL!) You can provide a custom history event handler and listen for the batch finished event.

I’ve also created a issue in the extension for this. But I do not know when I found some time to implement something for this. => Provide possibility to get informed about end of a batch · Issue #34 · camunda/camunda-bpm-custom-batch · GitHub

Cheeres,
Patrick

1 Like