AnsweredAssumed Answered

Handling sync and async use cases in single process

Question asked by markm on Oct 6, 2017
Latest reply on Oct 11, 2017 by cjose



I just started using Activiti, I am trying to define the flow for following use case. 

When client call my restful service, I call workflow start -> task1 -> tast2 -> task3 -> task4 -> task5 -> end.

All of them are service tasks. Task3 calls another downstream system X.


After task3, I need to give a sync response back to the client based on X system status.

X system update final status through the event (Async flow) after a day, on processing event remaining workflow (task4 -> task5 -> end) need to be executed. What is the best way to define this?


Would really appreciate any help on this!