4.2. ProcessRuntimeService
It serves to work with process instances. The service methods allows to:
-  
start a process
 -  
cancel a process
 -  
complete a task
 -  
assign a task to the user
 
When a process is started the following process variables are automatically created:
-  
bpmProcInstanceId- ProcInstance object ID -  
entityName- linked entity name -  
entityId- linked entity ID 
To access the service functionality on middleware layer use the ProcessRuntimeManager bean.