[
https://jira.jboss.org/jira/browse/JBPM-2593?page=com.atlassian.jira.plug...
]
Carl Allain closed JBPM-2593.
-----------------------------
Fix Version/s: jBPM 4.2
Resolution: Won't Fix
I had the description attribute. But when I looked at the schema for process element, I
saw that I had to put it in a description element. Did that and now it is returned as
expected.
processDefinition.getDescription() does not return the process
definition description as defined in the process definition XML file
-----------------------------------------------------------------------------------------------------------------------------------
Key: JBPM-2593
URL:
https://jira.jboss.org/jira/browse/JBPM-2593
Project: jBPM
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Runtime Engine
Affects Versions: jBPM 4.1
Reporter: Carl Allain
Priority: Minor
Fix For: jBPM 4.2
In my process defition file I have this
...
<process description="This is the description of processdefA"
key="processdefA" name="processdefA"
xmlns="http://jbpm.org/4.0/jpdl">
...
I can create a process instance from it and all that, but I can't get at the
description with the API (I got a processDefinition instance from the RepositoryService as
usual):
System.out.println("processDefinition.getDescription=" +
processDefinition.getDescription()); // returns null while I have a description in my XML
file
--
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