Red Hat Bugzilla – Bug 800324
User task: Task name is required by validation in Guvnor BPMN designer
Last modified: 2012-05-15 02:05:16 EDT
Description of problem:
User task: Task name is required by validation Guvnor BPMN designer, but this attribute is not a part of BPMN2 specification (there is attribute "name" for every node in specification, but not "task name").
Try to import attached process definition to Guvnor BPMN designer and click on validation button.
Steps to Reproduce:
1. Start the Guvnor, create new BPMN2 process.
2. Choose "Import from BPMN2" in BPMN designer and load attached definition.
3. Click on validation button.
4. There is validation error over User Task saying that User Task has no task name.
Created attachment 567900 [details]
Designer is not a modelling tool. It is an editing tool for creating executable BPMN2 process for the jBPM runtime. As such, for jBPM, an user task which does not have a TaskName associated with it is not executable. We need the TaskName attribute to associate the user task with it's task form, among other things.
We should not remove this check.
Hope this helps.
(In reply to comment #2)
> Designer is not a modelling tool. It is an editing tool for creating executable
> BPMN2 process for the jBPM runtime. As such, for jBPM, an user task which does
> not have a TaskName associated with it is not executable. We need the TaskName
> attribute to associate the user task with it's task form, among other things.
This means we have our proprietary extensions of the BPMN2 standard. This bug must remain open either to be fixed, or to be properly documented.
Yes, we do have a very small number of extension elements and attributes. The BPMN2 specification allows to be extended which is one of the best benefits of this standard. The implementations of the specifications (all of them) have some sort of extension elements/attributes which are needed to complement the standard (which btw. was not very thought out for actual implementations outside of just modelling). jBPM focuses on only adding extension attributes/elements when its completely necessary. TaskName (and packageName for example) are some of them. Very few, but needed. I don't see this changing any time soon.
(In reply to comment #4)
> Yes, we do have a very small number of extension elements and attributes.
> I don't see this changing any time soon.
Alright, I'm leaving this issue open so that these extensions can be properly documented. Is there a list of those by any chance?
This is all in the docs: http://docs.jboss.org/jbpm/v5.2/userguide/ch06.html#d0e1995
the same table exists in the product docs:
Please verify this issue on ER5.