2 Replies Latest reply on May 18, 2012 6:14 AM by milhaim

    Remove variable from a process instance

    milhaim

      Hi All,

       

      to add a varaibale to a process instance I'm using this code :

       

       

      WorkflowProcessInstanceImpl processInstance = (WorkflowProcessInstanceImpl) ksession.getProcessInstance(processInstanceId);

      processInstance.setVariable(variableName, variableValue);

       

      My Question is how to remove this variable ?

       

      Many thanks.