AnsweredAssumed Answered

Scopes and Variables in Activiti?

Question asked by danielbehrwind on Jul 14, 2011
Latest reply on Oct 26, 2012 by jbarrez
Hi,

I'm new to Activiti and trying to learn more about scopes and variables. I've been browsing the user guide, API doc an forum, found some hints but haven't been able to grasp the overall concept. Here's what I learn so far:

It is possible to define variabels in process and in task scope. Both, the RuntimeService and TaskService provide corresponding methods. There are methods called get/setVariable and get/setVariabelLocal. What does "local" mean in this case?

There is an Interface VariableScope and several classes whose names start with "VariableScope". Is there a way to defnie custom scopes? How would one access them?

Would be great if anyone could outline the concept of scopes in Activiti or point me to some documentation.

Thanks :)
Daniel

Outcomes