Service Delegates
5/27/24Less than 1 minute
Service Delegates
Service Delegates are the Java representation of the Service Tasks in a BPMN model. Service Delegates are linked to a certain Service Task by selecting the Service Task in the Camunda Modeler and adding a Java class to the Implementation
field. This uses the fully qualified class name:
org.package.MyClass
Java classes need to implement the ServiceTask
interface and override the execute
method. This method holds the actual business logic. The method will be called when the BPMN process execution arrives at the Service Task a Service Delegate is linked to.