Red Hat Bugzilla – Bug 813294
Add standard human task properties into designer
Last modified: 2012-05-27 21:33:21 EDT
Description of problem:
Human task node has a set of standard properties. It should be possible to access them directly in the Properties panel in designer. The missing properties are Id, Priority, Comment, Skippable, Content, Swimlane.
Version-Release number of selected component (if applicable):
Some of the standard human task node properties are accessible (Actors, GroupID, Name, TaskName, ...) but the mentioned parameters are missing. It is possible to set them by adding them into DataInputSet property and setting the value inside Assignments property. But it is not very user friendly and seems like a kind of hack to me. DataInputSet and Assignments should be used for Parameter mapping.
Id, Priority, Comment, Skippable, Content, Swimlane should be added to the Properties panel for Human task nodes.
Comment and Skippable are already available as individual attributes of Task nodes.
Designer uses visual representation of Swimlanes so there is no need to have this property available (I guess it is needed in Eclipse as Swimlanes are not visually presented).
AFAIK Priority is an attribute of a sequence flow.
Not sure Content is a user-task specific property..can you show me an example?
(In reply to comment #1)
> Comment and Skippable are already available as individual attributes of Task
Does it mean these two have been added in the most recent version of designer? If not, where can I find them? Task node Property panel really doesn't contain these two in ER5.
> Designer uses visual representation of Swimlanes so there is no need to have
> this property available (I guess it is needed in Eclipse as Swimlanes are not
> visually presented).
> AFAIK Priority is an attribute of a sequence flow.
Yes, sequence flow has a priority, but so does Human task: http://docs.jboss.org/jbpm/v5.2/userguide/ch05.html#d0e1224
Priority is also included in generated task form templates but it is not included in the Properties panel, so the only way to set it is using DataInputSet + Assignments.
> Not sure Content is a user-task specific property..can you show me an example?
I'm not sure either, but it's in the docs :-)
Yes, Comment and Skippable are available in the Designer master, 2.1.x and 2.2.x branches. Should be available in the next ER build.
Will add Priority.
Will check on Content and add if needed.
Added both Priority and Content to the properties of a Task node. Checked into designer master and 2.2.x branches.
Update status to ON_QA. Please verify them against ER6.
Confirmed that it is not picked in ER6. So change the status back.
Tiho, could you change the editor for Skippable from drop-down list to a checkbox? This is just to be consistent with other boolean properties (see Instatiate property).
The fixed for this issue should be included in ER7. Please do verification on it.
Verified fixed in 5.3.0 ER7. The Skippable attribute is still presented as drop-down list (instead of checkbox), but I will report that as new low priority issue as it is not a bug.