Details
-
Type:
Task
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.0
-
Fix Version/s: 1.2
-
Component/s: None
-
Labels:None
-
Request Controller:Albers, Stephan
-
External Supervisor:Please select
-
Executing Programmer:Please select
Description
Currently a process is SUSPENDED if at least one of it's ACTIVATED actions is of type "Wait" type. In any other case a running process (not COMPLETED or KILLED) is ACTIVATED.
This does not take into account the possibility of callbacks and forks/split of the process:
- Process is not running because it awaits a callback from an asynchronous action
- Process is split to "branches" by Fork node. One of the branches is running, another one is not running because of "Wait" node or AWAIT_CALLBACK status.
We need to clarify with statuses should be used for the Process in these cases.
We should check how this is done in jBPM, OSWorkflow or Oakgrove.
It may be, that we move to the jBPM kernel; this decision would then no longer be necessary.