07-26-2015 12:49 PM
execution.getEngineServices().getRuntimeService().suspendProcessInstanceById(execution.getProcessInstanceId());
public class Activity1 implements JavaDelegate{
@Override
public void execute(DelegateExecution execution) throws Exception {
System.out.println(execution.getProcessInstanceId());
execution.getEngineServices().getRuntimeService().suspendProcessInstanceById(execution.getProcessInstanceId());
System.out.println("Activity 1");
}
}
public class Activity2 implements JavaDelegate{
@Override
public void execute(DelegateExecution execution) throws Exception {
System.out.println("Activity2");
}
}
public class Activity3 implements JavaDelegate{
@Override
public void execute(DelegateExecution execution) throws Exception {
System.out.println("Activity3");
}
}
07-28-2015 08:44 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.