Camunda Service Task vs External Task – Complete Guide for BPMN Developers
Introduction When designing workflows in Camunda , developers often encounter two ways to automate process steps: Service Task External Task Both are used to execute automated logic in a BPMN workflow, but they follow different execution patterns and architecture styles . Understanding the difference helps you design scalable and maintainable workflow systems . What is a Camunda Service Task? 4 A Service Task is a BPMN activity used to execute automated work inside the workflow engine . Typical implementations include: JavaDelegate classes Script execution REST API calls Spring beans Example JavaDelegate: public class PaymentDelegate implements JavaDelegate { public void execute ( DelegateExecution execution ) { System . out . println ( "Processing payment" ); } } In this case: Process Engine → Calls Java Code → Continues Process The logic runs inside the same JVM as the Camunda engine . A service task represents a work item in a process and triggers l...