We are using
bussiness-centralapplication, and need to use custom event listeners for tasks and process events for audit purposes. We have already implemented a custom TaskEventListener by following the instructions from KCS article. For process events, we have developed a new process listener implementing the interface
ProcessEventListenerand we have put it in another jar (CDI compliant). From the logs we can see that the listener is registered, but it is not getting triggered when a new process is created. What is necessary to register this listener in business-central?
We have received a sample custom process event listener sample from RedHat few days ago. All it has is some print statements to console. We were told that the jar should be added to the business-central installation under
WEB-INF/libdirectory. After that, the CustomProcessEventListener class will be automatically added to all RuntimeManager (/deployment). So from eclipse i exported the project as .jar and copied to
$JBOSS_HOME/standalone/deployments/business-central.war/WEB-INF/lib. But it is not working am i missing something here?
We have extended org.drools.event.knowledgebase.DefaultKnowledgeBaseEventListener class. We would like to register in BPM workbench so that whenever a process is added/removed, i can listen and update my internal database table accordingly.
- Red Hat JBoss BPM Suite
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.