2
votes

How can errors(ex. if a scriptTask fails) be collected from jbpm and send to an external system (ex. kafka)?

1

1 Answers

0
votes

In jBPM 7.1 new approach to error handling was introduced. You can find more details in this blog post

I have not tested this: but you can try to implement your own version of ExcecutionErrorStorage, which will be responsible for storing messages in Kafka.

You can take a look at org.jbpm.runtime.manager.impl.error.DefaultExecutionErrorStorage for reference, in there DB is used as Error Storage.