ServletProcessEngine_SOAP - pdvrieze/ProcessManager GitHub Wiki

SOAP methods for nl.adaptivity.process.engine.servlet.ServletProcessEngine

Method Description
updateProcessModel Update the process model with the given handle.
postProcessModel Add a process model to the system.
startProcess Create a new process instance and start it.
getProcessNodeInstance Get the data for a specific task.
updateTaskState Update the state of a task.
finishTask finish a task.

Update the process model with the given handle.

Parameter Type Description
handle long The model handle
processModel ProcessModelBase The actual new model
user Principal The user performing the update. This will be verified against ownership and
permissions
return ProcessModelRef A reference to the model. This may include a newly generated uuid if not was provided.

Add a process model to the system.

Parameter Type Description
processModel ProcessModelBase
owner Principal
return ProcessModelRef A reference to the model with handle and a new uuid if none was provided.

Create a new process instance and start it.

Parameter Type Description
handle long
name String The name that will allow the user to
remember the instance. If
null a name will be
assigned. This name has no semantic
uUID String
owner Principal The owner of the process instance. (Who
return XmlHandle A handle to the process

Get the data for a specific task.

Parameter Type Description
handle long The handle
user Principal A user with appropriate
permissions
return XmlProcessNodeInstance The node instance.

Update the state of a task.

Parameter Type Description
handle long Handle of the task to update
newState IProcessNodeInstance.NodeInstanceState The new state
user Principal A user with appropriate permissions
return IProcessNodeInstance.NodeInstanceState the new state of the task. This may be different than requested, for example due to engine semantics. (either further, or no change at all)

finish a task. Process aware services will need to call this to signal completion.

Parameter Type Description
handle long Handle of the task to update
payload Node
user Principal A user with appropriate permissions
return IProcessNodeInstance.NodeInstanceState the new state of the task. This may be different than requested, for example due to engine semantics. (either further, or no change at all)
⚠️ **GitHub.com Fallback** ⚠️