[
https://jira.jboss.org/jira/browse/JBPM-1096?page=com.atlassian.jira.plug...
]
Thomas Diesler resolved JBPM-1096.
----------------------------------
Fix Version/s: (was: jBPM 3.3.2 GA )
Resolution: Out of Date
Resolve bugs older than a year as "Out of Date"
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
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:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira