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