Package org.camunda.bpm.engine.runtime

Examples of org.camunda.bpm.engine.runtime.ExecutionQuery.activityId()


    ProcessInstance processInstance = runtimeService.startProcessInstanceByKey("process");
    runtimeService.messageEventReceived("newMessage", runtimeService.createEventSubscriptionQuery().singleResult().getExecutionId());

    ExecutionQuery executionQuery = runtimeService.createExecutionQuery();

    String forkId = executionQuery
        .activityId("fork")
        .singleResult()
        .getId();

    Execution eventSubProcessTaskExecution = executionQuery
View Full Code Here


    String forkId = executionQuery
        .activityId("fork")
        .singleResult()
        .getId();

    Execution eventSubProcessTaskExecution = executionQuery
        .activityId("eventSubProcessTask")
        .singleResult();

    ExecutionEntity executionEntity = (ExecutionEntity) eventSubProcessTaskExecution;
    assertEquals(forkId, executionEntity.getParentId());
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.