Package org.activiti.engine.history

Examples of org.activiti.engine.history.HistoricVariableInstanceQuery.list()


            .createHistoricVariableInstanceQuery()
            .orderByVariableName().asc();
   
    assertEquals(8, historicProcessVariableQuery.count());
   
    List<HistoricVariableInstance> historicVariables = historicProcessVariableQuery.list();
   
    // Variable status when process is finished
    HistoricVariableInstance historicVariable = historicVariables.get(0);
    assertEquals("bytes", historicVariable.getVariableName());
    assertEquals(":-)", new String((byte[])historicVariable.getValue()));
View Full Code Here


            .createHistoricVariableInstanceQuery()
            .orderByVariableName().asc();
   
    assertEquals(8, historicProcessVariableQuery.count());
   
    List<HistoricVariableInstance> historicVariables = historicProcessVariableQuery.list();
   
// Variable status when process is finished
    HistoricVariableInstance historicVariable = historicVariables.get(0);
    assertEquals("aVariable", historicVariable.getVariableName());
    assertEquals("updated value", historicVariable.getValue());
View Full Code Here

            .createHistoricVariableInstanceQuery()
            .orderByVariableName().asc();
   
    assertEquals(8, historicProcessVariableQuery.count());
   
    List<HistoricVariableInstance> historicVariables = historicProcessVariableQuery.list();
   
    // Variable status when process is finished
    HistoricVariableInstance historicVariable = historicVariables.get(0);
    assertEquals("bytes", historicVariable.getVariableName());
    assertEquals(":-)", new String((byte[])historicVariable.getValue()));
View Full Code Here

            .createHistoricVariableInstanceQuery()
            .orderByVariableName().asc();
   
    assertEquals(8, historicProcessVariableQuery.count());
   
    List<HistoricVariableInstance> historicVariables = historicProcessVariableQuery.list();
   
// Variable status when process is finished
    HistoricVariableInstance historicVariable = historicVariables.get(0);
    assertEquals("aVariable", historicVariable.getVariableName());
    assertEquals("updated value", historicVariable.getValue());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.