org.jbpm.services.api

## Interface AdHocProcessService

- All Known Implementing Classes:
    AdHocProcessServiceCDIImpl, AdHocProcessServiceImpl

      public interface AdHocProcessService

  Created by salaboy on 06/05/15.

- - ### Method Summary

    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 no 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 no 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
      Throws:
        `RuntimeException` - in case of encountered errors
        `DeploymentNotFoundException` - in case deployment with given deployment id does not exist or is not active

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