Package org.jbpm.services.api
Interface AdHocProcessService
-
- All Known Implementing Classes:
AdHocProcessServiceCDIImpl,AdHocProcessServiceImpl
public interface AdHocProcessServiceService for starting ad-hoc processes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LongstartProcess(String deploymentId, String processId, org.kie.internal.process.CorrelationKey correlationKey, Map<String,Object> params, Long parentProcessInstanceId)Starts a process with a map of variables.
-
-
-
Method Detail
-
startProcess
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.- Parameters:
deploymentId- deployment information for the process's kjarprocessId- The process's identifiercorrelationKey- correlation key to be assigned to process instance - must be uniqueparams- process variables- Returns:
- process instance identifier
-
-