AnsweredAssumed Answered

Where all the Process Execution Variable gets stored?

Question asked by monika_b on Nov 29, 2013
Latest reply on Dec 3, 2013 by monika_b
After referring to your example I have a Java service task as below. please tell me where can I expect the "var1" with Value to be stored with this particular process instance? My project requirement needs to get this variable with value stored somewhere in activiti DB and later we can update this value which will trigger a conditional sequence flow. Is this possible first?  Also, I was expecting this variable to be stored in ACT_RU_VARIABLE. I am new to activiti. Please help.


public class JavaServiceTask2 implements JavaDelegate
{
   private Expression text1;
   
   @Override
   public void execute(DelegateExecution execution) throws Exception {
      
      String value1 = (String) text1.getValue(execution);
       execution.setVariable("var1", new StringBuffer(value1).reverse().toString());      
   }
}

Many thanks for any help.

Outcomes