public interface AdHocProcessService
Modifier and Type | Method and Description |
---|---|
Long |
startProcess(String deploymentId,
String processId,
org.kie.internal.process.CorrelationKey correlationKey,
Map<String,Object> params,
Long parentProcessInstanceId)
Starts a process with a map of variables
|
Long startProcess(String deploymentId, String processId, org.kie.internal.process.CorrelationKey correlationKey, Map<String,Object> params, Long parentProcessInstanceId)
deploymentId
- deployment information for the process's kjarprocessId
- The process's identifiercorrelationKey
- correlation key to be assigned to process instance - must be uniqueparams
- process variablesRuntimeException
- in case of encountered errorsDeploymentNotFoundException
- in case deployment with given deployment id does not exist or is not activeCopyright © 2001–2018 JBoss by Red Hat. All rights reserved.