Examples of activityId()


Examples of com.arjuna.mw.wsas.UserActivity.activityId()

      GlobalId ac1 = null;
      GlobalId ac2 = null;
     
      ua.start();
     
      ac1 = ua.activityId();
     
      System.out.println("Started: "+ac1);
     
      ua.start();
     
View Full Code Here

Examples of org.activiti.engine.history.HistoricActivityInstanceQuery.activityId()

  protected DataResponse getQueryResponse(HistoricActivityInstanceQueryRequest queryRequest, Map<String,String> allRequestParams, String serverRootUrl) {
    HistoricActivityInstanceQuery query = historyService.createHistoricActivityInstanceQuery();

    // Populate query based on request
    if (queryRequest.getActivityId() != null) {
      query.activityId(queryRequest.getActivityId());
    }
   
    if (queryRequest.getActivityInstanceId() != null) {
      query.activityInstanceId(queryRequest.getActivityInstanceId());
    }
View Full Code Here

Examples of org.activiti.engine.runtime.ExecutionQuery.activityId()

    }
    if (queryRequest.getProcessBusinessKey() != null) {
      query.processInstanceBusinessKey(queryRequest.getProcessBusinessKey());
    }
    if (queryRequest.getActivityId() != null) {
      query.activityId(queryRequest.getActivityId());
    }
    if (queryRequest.getParentId() != null) {
      query.parentId(queryRequest.getParentId());
    }
    if (queryRequest.getMessageEventSubscriptionName() != null) {
View Full Code Here

Examples of org.camunda.bpm.engine.history.HistoricActivityInstanceQuery.activityId()

    runtimeService.messageEventReceived("newMessage", execution.getId());

    HistoricActivityInstanceQuery query = historyService.createHistoricActivityInstanceQuery();

    query.activityId("message");
    assertEquals(1, query.count());
    assertNotNull(query.singleResult().getEndTime());
    assertEquals("boundaryMessage", query.singleResult().getActivityType());

    Task task = taskService.createTaskQuery().singleResult();
View Full Code Here

Examples of org.camunda.bpm.engine.history.HistoricActivityInstanceQuery.activityId()

    runtimeService.messageEventReceived("newMessage", execution.getId());

    HistoricActivityInstanceQuery query = historyService.createHistoricActivityInstanceQuery();

    query.activityId("message");
    assertEquals(1, query.count());
    assertNotNull(query.singleResult().getEndTime());
    assertEquals("boundaryMessage", query.singleResult().getActivityType());

    List<Task> tasks = taskService.createTaskQuery().list();
View Full Code Here

Examples of org.camunda.bpm.engine.history.HistoricActivityInstanceQuery.activityId()

    runtimeService.signalEventReceived("newSignal", execution.getId());

    HistoricActivityInstanceQuery query = historyService.createHistoricActivityInstanceQuery();

    query.activityId("signal");
    assertEquals(1, query.count());
    assertNotNull(query.singleResult().getEndTime());
    assertEquals("boundarySignal", query.singleResult().getActivityType());

    Task task = taskService.createTaskQuery().singleResult();
View Full Code Here

Examples of org.camunda.bpm.engine.history.HistoricActivityInstanceQuery.activityId()

    runtimeService.signalEventReceived("newSignal", execution.getId());

    HistoricActivityInstanceQuery query = historyService.createHistoricActivityInstanceQuery();

    query.activityId("signal");
    assertEquals(1, query.count());
    assertNotNull(query.singleResult().getEndTime());
    assertEquals("boundarySignal", query.singleResult().getActivityType());

    List<Task> tasks = taskService.createTaskQuery().list();
View Full Code Here

Examples of org.camunda.bpm.engine.history.HistoricActivityInstanceQuery.activityId()

    managementService.executeJob(job.getId());

    HistoricActivityInstanceQuery query = historyService.createHistoricActivityInstanceQuery();

    query.activityId("timer");
    assertEquals(1, query.count());
    assertNotNull(query.singleResult().getEndTime());
    assertEquals("boundaryTimer", query.singleResult().getActivityType());

    Task task = taskService.createTaskQuery().singleResult();
View Full Code Here

Examples of org.camunda.bpm.engine.history.HistoricActivityInstanceQuery.activityId()

    managementService.executeJob(job.getId());

    HistoricActivityInstanceQuery query = historyService.createHistoricActivityInstanceQuery();

    query.activityId("timer");
    assertEquals(1, query.count());
    assertNotNull(query.singleResult().getEndTime());
    assertEquals("boundaryTimer", query.singleResult().getActivityType());

    List<Task> tasks = taskService.createTaskQuery().list();
View Full Code Here

Examples of org.camunda.bpm.engine.history.HistoricActivityInstanceQuery.activityId()

  public void testBoundaryErrorEvent() {
    ProcessInstance pi = runtimeService.startProcessInstanceByKey("process");

    HistoricActivityInstanceQuery query = historyService.createHistoricActivityInstanceQuery();

    query.activityId("error");
    assertEquals(1, query.count());
    assertNotNull(query.singleResult().getEndTime());
    assertEquals("boundaryError", query.singleResult().getActivityType());

    Task task = taskService.createTaskQuery().singleResult();
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.