Camunda framework provides possibility to configure service call from model directly, what reduces amount of code.

1. Create service task in BPMN modeler
2. Open Properties Panel
3. Configure Connector: Connector Id, Input and Output parameters (of your service), add Script as Output parameter in case it‘s necessary
4. Use process model in your application with BPMN engine as usually.

Configure service call from BPMN model (Camunda framework)

BPMN uses graphical representation of business processes. Some parts of business process can use web-services. In this case it is necessary to configure web service call.
Subscribe to BPMN