AnsweredAssumed Answered

Specifying where particular async task runs

Question asked by mmalczewski on Dec 22, 2015
Latest reply on Jan 4, 2016 by jbarrez
Hi Activiti Experts,

Short question:
Is it possible to specify where (on which instance) a *specific* task is executed in a multi-instance setup?

Rationale:
I want to use Activiti for handling our backend operations. An example technical workflow consists of 3 steps:
1. Extract data
2. Transform data
3. Persist data

All these are handled asynchronously (Activiti serves as kind of a persistent job queue). Steps 1 and 3 are lightweight, step 2 is heavy. I want to scale the system out by adding additional instances with task executors fust for the purpose of handling the 2nd step. The problem is - they handle all asynchronous tasks.
Is it possible (without having to rewrite how AsyncExecutor queries jobs)? Or does the entire approach abuse what Activiti is made for?

Thanks
f

Outcomes