]
Thomas Diesler updated JBPM-1096:
---------------------------------
Fix Version/s: jBPM 3.3.2 GA
Revisit open bugs
Javadoc for NewProcessInstanceCommand.execute() not in line with
implementation
-------------------------------------------------------------------------------
Key: JBPM-1096
URL:
https://jira.jboss.org/jira/browse/JBPM-1096
Project: JBoss jBPM
Issue Type: Bug
Components: Core Engine
Affects Versions: jBPM 3.2.2
Reporter: Alexey Kostylev
Priority: Minor
Fix For: jBPM 3.3.2 GA
As I looked into the source I saw that this method return the whole object:
Object result = null;
if (createStartTask) {
result = processInstance.getTaskMgmtInstance().createStartTaskInstance();
} else {
result = processInstance;
}
But doc says that:
/**
* return the id of the newly created process instance.
* @throws Exception
*/
public Object execute(JbpmContext jbpmContext) throws Exception {
...
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: