Is it recommended to keep business data as process variables?
Or we should have only activiti workflow related data in as process variables?
How do we pass business variables throughout the flow if they are not supposed to be stored as process variables?
Hi,
You can use process variables for routing the flow but for business data, we suggest external data stores optimized for your application to minimize the burden on the process engine.
To manage read/write operations of business data, you need to use service tasks and implement the logic to integrate with those external systems.
Hi Raphael,
If that is so, Why will I even use activiti and execute service task?
I would rather pass Arguments to methods calls.
Storing business data in customized tables will increase over head when those variables should have been available in cache.
Hi Raphael,
If that is so, Why will I even use activiti and execute service task?
I would rather pass Arguments to methods calls.
Storing business data in customized tables will increase over head when those variables should have been available in cache.
You can still use process variables if that makes things easier and if you are not dealing with too many, it should not impact that much the performances of the engine...
It is not about making things easier, its about over head due to more i/o operations on databases.
Also can you elaborate what is too many according to you?
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.