[jboss-jira] [JBoss JIRA] Closed: (JBPM-689) Task Management Definition maps tasks by name
Koen Aers (JIRA)
jira-events at jboss.com
Tue Jan 16 09:45:52 EST 2007
[ http://jira.jboss.com/jira/browse/JBPM-689?page=all ]
Koen Aers closed JBPM-689.
--------------------------
Resolution: Done
This issue is replaced by GPD-31
> Task Management Definition maps tasks by name
> ---------------------------------------------
>
> Key: JBPM-689
> URL: http://jira.jboss.com/jira/browse/JBPM-689
> Project: JBoss jBPM
> Issue Type: Bug
> Components: Graphical Process Designer
> Affects Versions: jBPM 3.1.1
> Environment: jBPM 3.1.1
> WebSphere 5.1
> Windows XP
> Reporter: Chris OBrien
> Assigned To: Koen Aers
>
> When retrieving all tasks from a process definition like so:
> processDefinition.getTaskMgmtDefinition().getTasks()
> it returns a MAP of tasks, keyed by task name. This is a problem if two tasks anywhere in the same process definition have the same name.
> By default, the GPD creates all tasks as "task1" when it is the first task on a task node. If none of these were renamed, you would only get a single task when trying to get all of them for the process definition.
> Yes, the tasks probably should be renamed, but there are no restrictions that two tasks couldn't have the same name of "Send Email" or some other common name.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list