AnsweredAssumed Answered

Task Migration using Activiti in distributed way

Question asked by asshetye on Jun 14, 2013
Latest reply on Jun 18, 2013 by asshetye

I am involved in research project where I need to migrate task over a set of host machines (i.e. to run the task in the data proximity rather than migrating the data like general scientific workflows.). The migration will be done by evaluating certain constraints in the process.  I was wondering if I could develop this functionality over activiti engine. I have  trying to figure out ways to maybe suspend the process instance one machine and activate the instance on other machine so it runs on that machine. Somebody suggested that I use same database for all the engines on different hosts.

I am successful in doing that but I have to include wait states inside the definition so that I can signal the receive tasks using  rest api to activate the instance on other machine. This means every time I need a process to run in distributed manner I have to modify the process to include wait states. I was wondering if there would be another way to do so. Any suggestions

Thanks in advance