AnsweredAssumed Answered

Activiti Java Service Task custom asynchronous behaviour: Complete task using signal or callback

Question asked by ramesharana on Jan 4, 2017
Latest reply on Nov 6, 2017 by cjose

I'm very new to Activiti, What i want is not to insert my java service task in a pool but to passivate its behaviour and only complete such task when an external signal is received and/or a callback is called.

 

ex:

start->service task 1-->Receive Task-->End

 

In the Service Task i'm calling the third party service.

In the third party service once the request received it will send success ack and then it will further process the request, once after the action performed it will send us the callback with the correlation id.

 

In this example i need to wait in the service task till get the callback. 

 

Could you please help me to achieve this functionality with some example.

Thanks in advance.

Outcomes