cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti in cluster

ambikakhatri
Champ in-the-making
Champ in-the-making
Hi,

  I have a question on how activiti works in clustered environment. I have a simple activiti process which has three tasks. First task copies a file from remote location to local, second task read that and do something and third task does clean up. Now, if I deploy this process in clustered environment. I am not sure if whole process is picked up by one node or any node node can pick up any task in this process. In this case, file stored locally in one node as part of first task will not be available to other node. If somebody can please tell me the behavior, it would  a great help. Thanks in advance!.

-Ambika
2 REPLIES 2

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Ambika,

In the case when there is no wait state in the process flow, process is executed in one java thread -> whole process is executed on one node. In the case when the tasks are e.g. asynchronous it depends on the cluster nodes configuration.

Regards
Martin

ambikakhatri
Champ in-the-making
Champ in-the-making
Thank you so much Martin for prompt reply.

Regards,
Ambika