Service task custom complete

HI Flowable,

can we get the service task control from flowable engin.

so that we can complete whenever we want it.

i have to use a service task to call an external REST service, i dont l know when that REST service will complete.

for that i need to wait till in service task.

And one more question is i have created one process like,

Start Event -> UserTask -> ServiceTask -> UserTask -> EndEvent

when i am completing a first userTask it is not completing but that contol is going to serviceTask and it executing a serviceTask Class.

please help ASAP.


Hi Tiru,

I think my reply here should help you.


Hi Valentin,

Sorry for late replay your solution worked…!!

i can able to close service task whenever i want

Thank you,