Returns an array of process definition descriptors. This returns an array of process definitions known by the Process Manager. Each array element is a ProcessDefinitionDescriptor, rather than an entire process definition.
public ProcessDefinitionDescriptor[] getDefinitions() throws PMServiceException
None
An array of Process Definition Descriptors
PMServiceException
Returns the external variables for a process.
public Pair[]getExternalVariables(java.lang.String processId) throws PMServiceException
|
Parameter |
Type |
Description |
|
processid |
string |
Identifies the ID of the process instance |
An array of external variables as pairs (see Complex Types-PMServices2)
PMServiceException
Returns input parameters (process attributes) for a selected process definition.
public AttributeBean[] getInputParameters(java.lang.String id) throws PMServiceException
|
Parameter |
Type |
Description |
|
ID |
string |
Identifies the process definition ID |
A list of input parameters (see Complex Types-PMService2)
PMServiceException
Returns a string containing the complete process instance object for the specified process instance expressed as an XML document.
Syntax
public java.lang.String getInstance(java.lang.String id) throws PMServiceException
|
Parameter |
Type |
Description |
|
ID |
string |
Identifies the process instance ID |
The process instance at the specified URL or null if no process instance was found
PMServiceException
Returns a string containing the "Process Instance details" for the specified process instance expressed as an XML document. The returned value contains bare-minimum details of a given process-instance equal to the getInstance(String) method of PMService.
getInstanceDetails(java.lang.String id) throws PMServiceException
|
Parameter |
Type |
Description |
|
ID |
string |
Specifies the process instance ID |
The process instance at the specified URL or null if no process instance was found
PMServiceException
Returns the instance history as an array of HistoryRecords.
public com.ejbtech.process.HistoryRecord[] getInstanceHistory(java.lang.String id) throws PMServiceException
|
Parameter |
Type |
Description |
|
ID |
string |
Identifies the process instance ID |
An array of history records (see Complex Types-PMService2)
PMServiceException
Returns a process instance status image.
public byte[] getInstanceImage(final String instanceid, TransmissionType tp, ImageType it) throws PMServiceException
|
Parameter |
Type |
Description |
|
instanceId |
string |
Identifies the instance id to get a status image |
|
tp |
Transmission Type |
Identifies the transmission type of image which can be either byte array or attachment. |
|
it |
ImageType |
Identifies the image type which can be either PNG or JPEG |
An instance status image either as a byte array or attachment
PMServiceException
Returns an array of instances for the process definition and returns an array of process instances known by the Process Manager. Each array element is a ProcessInstanceDescriptor rather than an entire process instance.
public ProcessInstanceDescriptor[] getInstances(java.lang.String definitionId,long from, long to) throws PMServiceException
|
Parameter |
Type |
Description |
|
definitionId |
string |
Identifies the process definition ID This parameter will be replaced by "ANY" if it is a null or empty string. |
|
from |
long |
Identifies the date from which to start listing instances |
|
to |
long |
Identifies the date to which instances should be listed |
An array of process instance objects expressed as XML documents or null if no process instances exist
PMServiceException
Returns all the workitems for a particular instance.
public com.ejbtech.processengine.WorkItem[] getInstanceWorkItems(java.lang.String id, boolean showCompleted) throws PMServiceException
|
Parameter |
Type |
Description |
|
ID |
string |
Identifies the process instance ID |
|
showCompleted |
Boolean |
Determines whether to include completed workitems |
An array of workitems (see Complex Types-PMService2)
PMServiceException
Returns the user's log. This does not return the entire Process Manager log, only events that occurred since enableLogging was called.
public WSLogEntry[] getLog() throws PMServiceException
None
The contents of the log as an array of log entries (see Complex Types-PMService2)
PMServiceException
Returns the user name associated with the session, which can be used to find the user name associated with a token.
public java.lang.String getLoginName() throws PMServiceException
None
The name of the user logged in with the session
PMServiceException
Returns process execution results as an array of attributes.
public AttributeBean[] getResults(java.lang.String sessionId) throws PMServiceException
|
Parameter |
Type |
Description |
|
ID |
string |
Identifies the process instance ID |
An array of attributes (see Complex Types-PMServices2)
PMServiceException
| Copyright © 2010 CA. All rights reserved. | Tell Technical Publications how we can improve this information |