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

    Remove variable from a process instance

    Miloud Haimoune Newbie

      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.