cancel
Showing results for 
Search instead for 
Did you mean: 

process variables

chunnu
Champ in-the-making
Champ in-the-making
Hi, I am using Spring MBC as REST.
I am using apache activiti as a process engine. I have developed one process which in my case is a JavaDelegate. I am using apache activiti as not user driven, but computer driven. On my JavaDelegate I send process variable input through HashMap and in the same Delegate I output a process variable. Suppose there are many JavaDelegates like this when I connect one process to another and other process is expecting an input from the previous process, how can this be achieved through apache activiti?
2 REPLIES 2

chunnu
Champ in-the-making
Champ in-the-making
Hi,

I am using Spring MVC as REST.

I am using Apache Activiti as a Java BPM Process Engine. I have developed one process which in my case is a JavaDelegate. I am using Apache Activiti as not user driven, but computer driven. This means when the front end clicks on a button to do something, a Apache Activiti process runs which is the JavaDelegate.

On my JavaDelegate I send process variable input through HashMap and in the same Delegate I output a process variable. Suppose there are many JavaDelegates like this when I connect one process to another and other process is expecting an input from the previous process, how can this be achieved through Apache Activiti? Is this actually possible? I saw this and not sure whether what I am asking is exactly this:

http://forums.activiti.org/content/creating-process-variables-gui

Can you please let me know? What options do I have? We will not be using Apache Activiti forms. What I am expecting is the output of the process variable is injected into the next process, so that will become the input to the next process. There will be no user involvement. The user will not have any tasks.

Please let me know your solution.

jbarrez
Star Contributor
Star Contributor
I don't really understand your question? Variables are passed by maps, so why can't you simply provide them to each new process? Certainly because you're doing it all automated?