Invoke a process from Kie-Server-Extension

Latest response

Hi,

We have deployed a process(kjar) in our kie container and we have a kie-server-extension of type REST(implements KieServerApplicationComponentsService). How can we invoke a process deployed in a container from this Kie-Extension class? One way is use the Kie-Container REST API> But since both the extension and container with process are deployed in the same jvm, is there a way to invoke the process from Kie-Extention with out going through the Kie-REST API for executing processes?

Responses

We were able to resolve this. Within Kie-Extension, we can get access to JBPM ProcessService object. Once we get a handle to ProcessService, we can invoke a process using processService.startProcess().

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.