public interface CorrelationAwareProcessRuntime
| Modifier and Type | Method and Description |
|---|---|
org.kie.api.runtime.process.ProcessInstance |
createProcessInstance(String processId,
CorrelationKey correlationKey,
Map<String,Object> parameters)
Creates a new process instance (but does not yet start it).
|
org.kie.api.runtime.process.ProcessInstance |
getProcessInstance(CorrelationKey correlationKey)
Returns the process instance with the given correlationKey.
|
org.kie.api.runtime.process.ProcessInstance |
startProcess(String processId,
CorrelationKey correlationKey,
Map<String,Object> parameters)
Start a new process instance.
|
org.kie.api.runtime.process.ProcessInstance startProcess(String processId, CorrelationKey correlationKey, Map<String,Object> parameters)
processId - the id of the process that should be startedcorrelationKey - custom correlation key that can be used to identify process instanceparameters - the process variables that should be set when starting the process instanceProcessInstance that represents the instance of the process that was startedorg.kie.api.runtime.process.ProcessInstance createProcessInstance(String processId, CorrelationKey correlationKey, Map<String,Object> parameters)
processId - the id of the process that should be startedcorrelationKey - custom correlation key that can be used to identify process instanceparameters - the process variables that should be set when creating the process instanceProcessInstance that represents the instance of the process that was created (but not yet started)org.kie.api.runtime.process.ProcessInstance getProcessInstance(CorrelationKey correlationKey)
null.correlationKey - the custom correlation key assigned when process instance was creatednull if it cannot be foundCopyright © 2001–2017 JBoss by Red Hat. All rights reserved.