not sure where you are going with this, but ok:
public interface ProcessInstance extends EventListener {
int STATE_PENDING = 0;
int STATE_ACTIVE = 1;
int STATE_COMPLETED = 2;
int STATE_ABORTED = 3;
int STATE_SUSPENDED = 4; // <<<<<<<<<<<
//....
}
So does WorkItem:
public class WorkItemImpl implements WorkItem, Serializable {
private static final long serialVersionUID = 400L;
private long id;
private String name;
private int state = 0; //
<<<<<<<<<<<<<<<<<<<<<<<<<<
private Map<String, Object> parameters = new HashMap<String,
Object>();
private Map<String, Object> results = new HashMap<String, Object>();
private long processInstanceId;
// ....
}
And yes, it is framework concern from both angles.
/Anatoly
--
View this message in context:
http://n3.nabble.com/Resuming-the-Flow-SESSION-ID-PROCESS-INSTANCE-ID-WOR...
Sent from the Drools - User mailing list archive at
Nabble.com.