Maybe it's that I'm tired (it's 22:48 after a long day, but I do not fully grasp what you mean. From what I understand you want a page with input elements that come from both the process and another system? And you want that customized per task?
That is not possible with 3.1 without implementing your own framework. In 3.2 things will be possible to some extend.
What you could do is ad an action to the task, read the db in there and create transient task variables. Those will be displayed (I hope) but I do not know how to update them.
Thank for replaying kukeltje.
e.g. when you do a Swing JTree you should create instances of class the DefaultMuteableTreeNode.
You associate a custom objetc to each DefaultMuteableTreeNode and if an event occurs on the tree ( supposing it's a node selection event ) by having the selected DefaultMuteableTreeNode you call the node.getUserObject() and that way get your custom Object.
Well... my jbpm app have several task nodes in its flow but each task node can be "different" for MY app. I will do know it's a task node when the execution point reaches a task node, but that's not enough for my app since I have to know what task node "subtype" is. That's why I wanted to know if there's some way to associate a custom object to a task node like the DefaultTreeNode does.
How about using a simple Map<TaskNode, YourCustomClass>? If you need your custom objects to be persistent, you can create a subclass of module instance, put the map there and create the necessary Hibernate mappings.
Thanks for the reply alex.
That should work but I got a question.
Since I didn't find any documentation about ModuleInstance in users guide I tried to deduce it b myself by taking a look directly to the code.
Are ModuleInstance subclasses some kind of "services helper classes" ? I mean some point for providing your extension app... since from simple helper class to some facade with a lot of classes bellow it ?