Examples of variableInstanceId()


Examples of org.camunda.bpm.engine.history.HistoricDetailQuery.variableInstanceId()

      .variableName("testVar")
      .singleResult();

    HistoricDetailQuery query = historyService.createHistoricDetailQuery();

    query.variableInstanceId(testVariable.getId());

    assertEquals(1, query.count());
    assertEquals(1, query.list().size());
  }
View Full Code Here

Examples of org.camunda.bpm.engine.history.HistoricDetailQuery.variableInstanceId()

  }

  public void testHistoricDetailQueryByInvalidVariableInstanceId() {
    HistoricDetailQuery query = historyService.createHistoricDetailQuery();

    query.variableInstanceId("invalid");
    assertEquals(0, query.count());

    try {
      query.variableInstanceId(null);
      fail("A ProcessEngineExcpetion was expected.");
View Full Code Here

Examples of org.camunda.bpm.engine.history.HistoricDetailQuery.variableInstanceId()

    query.variableInstanceId("invalid");
    assertEquals(0, query.count());

    try {
      query.variableInstanceId(null);
      fail("A ProcessEngineExcpetion was expected.");
    } catch (ProcessEngineException e) {}

    try {
      query.variableInstanceId((String)null);
View Full Code Here

Examples of org.camunda.bpm.engine.history.HistoricDetailQuery.variableInstanceId()

      query.variableInstanceId(null);
      fail("A ProcessEngineExcpetion was expected.");
    } catch (ProcessEngineException e) {}

    try {
      query.variableInstanceId((String)null);
      fail("A ProcessEngineExcpetion was expected.");
    } catch (ProcessEngineException e) {}
  }

  @Deployment
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.