org.jbpm.services.api

## Interface AdHocProcessService

- All Known Implementing Classes:
    AdHocProcessServiceCDIImpl, AdHocProcessServiceImpl

      public interface AdHocProcessService

  Service for starting ad-hoc processes.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    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.

- - ### 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 kjar
        `processId` - The process's identifier
        `correlationKey` - correlation key to be assigned to process instance - must be unique
        `params` - process variables
      Returns:
        process instance identifier

Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.