Created attachment 920353 [details] BPMN2 with work name error Description of problem: The attached BPMN2 produces a validation error: Process 'TestProcess2' [example1.TestProcess2]: Task node 'One' [2] has no work name. There is no such property available to set. The task has a Name and a Task Name, but Work Name is not listed as a property in the designer. Due to the error the process is not deployable. Version-Release number of selected component (if applicable): 6.0.2 How reproducible: Fairly easily Steps to Reproduce: 1. Add a task to a process using the popup icons (ie do not drag the task from the pallet) 2.save process 3. error displayed Actual results: Expected results: Additional info:
Further investigation indicates that this error actually means that the indicated task has no task type, i.e. a task type = None. Can we please change the error message to say this? Also I question why this should be a problem anyway? Can we just treat the task as a no-op from an execution standpoint?
This should be 'Task Type' (which is things like User, Service, Script, etc.), Tiho, could you update the error message?
validation message changed to refer to property 'task type' rather than 'work name' master branch https://github.com/droolsjbpm/jbpm/commit/86c4a6e565fa6f02c9951e365637eda34ce3630d 6.2.x branch https://github.com/droolsjbpm/jbpm/commit/0d2060aa27520973952723187650359acba40e49
It seems that the error message was changed on ER3.
Verified for 6.1.0 ER3.