Add a payment service task
Validated orders need to be paid for. Let's add another service task for processing payment — this would call your payment provider's API automatically.
What to do
Add a second service task after "Validate order" and name it "Process payment".
Your process is becoming a real automated pipeline:
- Receive order (human/event-triggered)
- Validate order (automated — checks stock, verifies data)
- Process payment (automated — calls payment API)
- Order processed (done!)
> 💡 A sequence of service tasks is an automation chain — the process orchestrates multiple systems without any human involvement. This is the core of Camunda's value for microservice architectures.
Interactive BPMN Editor