Couple a service task with a simple microservice in Java

@simonrisberg, your assumption was correct. There are two approaches. Either from Java delegate on service task you can invoke the rest api or can invoke using external-task-pattern

Also refer this video link:

Docs: