4.2. ProcessRuntimeService
It is designed to work with process instances. The service methods allows you 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 created automatically:
-
bpmProcInstanceId-ProcInstanceobject ID -
entityName- linked entity name -
entityId- linked entity ID
To access the service functionality on middleware, use the ProcessRuntimeManager bean.