0 Replies Latest reply on Oct 5, 2006 2:52 AM by jagadeeshrao

    Regarding process variables

    jagadeeshrao

      Hi,


      I am facing problem while coping process variables into database.
      I am not able to store values into database. is there any code sample for this proble?

      I am using following code to store process variable into database.

      TaskInstance.setVariable(variable ,Name);
      TaskInstance.setVariable(variable ,Name);
      TaskInstance.setVariable(variable ,Name);
      JbpmContext.save(processinstance);

      my processdefinition code is


      <variable name="Broker_Id" access="read,write,required" mapped-name="Broker_Id" />
      <variable name="CSLN_Number" access="read,write,required" mapped-name="CSLN_Number" />
      <variable name="M-L-Check" access="read,write,required" mapped-name="M-L-Check" />


      Please guide me.

      Thanks in advance.

      Jaga