@AccessLevel(value=EXTERNAL)
public final class EnactmentService
extends java.lang.Object
The startProcess
method maps
the data passed in to the relevant workflow data objects and then sends a
message to start the process asynchronously. If the structs supplied are
insufficient to fully populate the enactment data of the required process the
process is not started.
Modifier and Type | Method and Description |
---|---|
static org.w3c.dom.Document |
startProcess(org.w3c.dom.Document processEnactmentXML)
Start a workflow process from a web service.
|
static long |
startProcess(java.lang.String processName,
java.util.List<? extends java.lang.Object> enactmentStructs)
Populates the workflow data object attributes required to start the process
from the list of structs passed in, then enqueues a message to start the
process.
|
public static long startProcess(java.lang.String processName, java.util.List<? extends java.lang.Object> enactmentStructs) throws curam.util.exception.AppException, curam.util.exception.InformationalException
processName
- The name of the workflow process to be enacted. This is
the name given to the process when it was defined in the Process Definition
Tool (PDT).enactmentStructs
- list of Curam structs containing the process
enactment data.curam.util.exception.AppException
- RUN_ID_STARTING_PROCESS_REQUIRED_WDO_ATTRIBUTES_NOT_SET
if the Curam
structs supplied are not sufficient to start the associated process.curam.util.exception.InformationalException
- Generic Exception Signature.public static org.w3c.dom.Document startProcess(org.w3c.dom.Document processEnactmentXML) throws curam.util.exception.AppException, curam.util.exception.InformationalException
processEnactmentXML
- Process enactment data.curam.util.exception.AppException
- RUN_ID_STARTING_PROCESS_REQUIRED_WDO_ATTRIBUTES_NOT_SET
if the Curam
structs supplied are not sufficient to start the associated process.curam.util.exception.InformationalException
- Generic Exception Signature.