12-04-2015 12:59 PM
<receiveTask id="receivetask1" name="Receive Task"></receiveTask>
log.info("Starting process…");
ProcessInstance processInstance = runtimeService.startProcessInstanceByKey("myProcess");
Execution execution = runtimeService.createExecutionQuery()
.processDefinitionKey("myProcess")
.processInstanceId(processInstance.getId())
.activityId("receivetask1")
.singleResult();
log.info("Execution id : " + execution.getId() + " - " + execution.getParentId() + " - " + execution.getActivityId());
runtimeService.trigger(execution.getId());
log.info("…Done.");
12-08-2015 03:07 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.