HuiSheng Xu [
http://community.jboss.org/people/rebody] replied to the discussion
"SubProcess signaling issue"
To view the discussion, visit:
http://community.jboss.org/message/545077#545077
--------------------------------------------------------------
Hi Maciej,
I understand why getParent() return Execution, because a splited execution could has sub
process instance.
I cannot understand why getProcessInstance() has to return Execution, it should return
process instance by its meaning. And ProcessInstance is extends from Execution, it has all
method declarations of Execution. Return ProcessInstance is more clearly, and won't
effect any Backward compatibility.
Do you have any idea about this?
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/545077#545077]
Start a new discussion in jBPM Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]