1 of 1 people found this helpful
I don't know if you can "extend" the human task node. What you can do is to create another node with the parameters you want and associate the human task work item handler, or an extension of it.
Thank you for your input.
That might be what I want.
The thing is I just want to continue to have the properties and features of the Human Task, but add a new property to it.
How whould I go about doing your sugestion? Is it something I do in the "MyWorkDefinitions.conf" file?
The BPMN2 specification allows for extensions for both attributes and elements. Adding a new attribute extension so is possible, but unless the runtime understands it, it makes not much sense to do it. If you are talking about Service Nodes and their configurations (for example MyWorkDefinitions.conf)..those are service nodes (workitems) and not human tasks.
Hope this helps.
Thank you for the input.
Trying to be specific, I'm in jBPM5.1 and I want to have a User Task with one custom attribute called "CustomAttrib".
Anyone know how I could achieve this?
Anyone could help me on this one?
You can use it into parameter mapping. I mean, you can pass a parameter CustomAttrib and map the value from some variable. Will this work for you?
My first suggestion was to add a new service node that represents your task (map all needed attributes from a human task, and also yours). But I don't recommend it, as for human task, you should use userTask node.