10-13-2014 05:10 AM
10-14-2014 02:21 AM
01-16-2015 05:32 AM
10-16-2014 02:42 AM
@Test
@Deployment(resources = {"diagrams/MyProcess.bpmn"})
public void testName() {
ProcessInstance pi = rule.getRuntimeService().startProcessInstanceByKey("myProcess");
Execution execution = rule.getRuntimeService().createExecutionQuery()
.processInstanceId(pi.getId())
.activityId("receivetask1")
.singleResult();
assertNotNull(execution);
rule.getRuntimeService().signal(execution.getId());
assertThat("after the receive task [receivetask1] all process instances are finished",
rule.getRuntimeService().createProcessInstanceQuery().count(), is(0L));
}
10-16-2014 03:41 AM
10-17-2014 05:46 AM
07-03-2015 03:13 AM
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.