Skip to content
LorenzSpecht edited this page Nov 24, 2020 · 1 revision

Welcome to the BPMN-SkillExecutor wiki

The BPMN-SkillExecutor consists of a main Java class and three auxiliary classes which are only used to store information.

Description MyJavaDelegate Class

First some hard coded variables are defined. Next, the information from the BPMN process is stored in a SkillParameter class via the "input_msg" variable. With the help of a Websocket.IO the status of the skill is monitored. As soon as the status changes to "Complete", "Stopping" or "Aborting", the skill outputs are queried with an http request. If the skill could be executed without problems, the method is terminated and the BPMN process is continued. If an error status occurs, an error message is returned to the BPMN process.

Important notes

The class must be compiled as a .jar file. In a Maven project, this can be done using Run as: Maven Install. The packaging can be specified in the POM file. It may be necessary to switch from .war to .jar here. It is also important that the used dependencies in the MyJavaDelegate class are also saved in the lib folder of the apache server in the Camunda folder. The compiled MyJavaDelegate class must also be saved here.

Clone this wiki locally