Updates an existing process definition or creates a new process definition if the process definition id is null.
public java.lang.String putDefinition(java.lang.String xml) throws PMServiceException
|
Parameter |
Type |
Description |
|
xml |
string |
Specifies the process definition expressed as an XML document |
The ID of the updated or created process definition
PMServiceException
Resumes the specified process instance, putting the instance back into a running state.
public void resumeInstance(java.lang.String id) throws PMServiceException
|
Parameter |
Type |
Description |
|
ID |
string |
Identifies the process instance ID |
None
PMServiceException
Sets the external variables for a process instance.
public void setExternalVariables(java.lang.String processId, Pair[] externals) throws PMServiceException
|
Parameter |
Type |
Description |
|
processId |
string |
Identifies the ID of the process instance to modify |
|
attrMap |
pair[] |
Identifies an array of name/value pairs (see Complex Types-PMServices) If a name does not match an external variable for the process, the name is ignored. All names and values should be of the type String. |
None
PMServiceException
Starts a new process instance from the specified process definition. The Process Manager chooses the version of the process definition that is the most effective.
public java.lang.String start(java.lang.String definitionId, com.ejbtech.processengine.Parameter[] parameters) throws PMServiceException
|
Parameter |
Type |
Description |
|
definitionId |
string |
Identifies the process definition ID |
|
parameters |
parameter[] |
Identifies an array of parameters that are input to the process instance that is created |
The process instance ID
PMServiceException
Suspends the specified process instance. The process instance can be resumed with the resumeInstance operation.
public void suspendInstance(java.lang.String id) throws PMServiceException
|
Parameter |
Type |
Description |
|
ID |
string |
Identifies the process instance ID |
None
PMServiceException
Terminates the specified process instance. All outstanding workitems are deleted.
public void terminateInstance(java.lang.String id) throws PMServiceException
|
Parameter |
Type |
Description |
|
ID |
string |
Identifies the process instance ID |
None
PMServiceException
Unlocks the process definition or process instance identified.
public void unlock(java.lang.String id) throws PMServiceException
|
Parameter |
Type |
Description |
|
ID |
string |
Identifies the process definition ID |
None
PMServiceException
| Copyright © 2010 CA. All rights reserved. | Tell Technical Publications how we can improve this information |