The graphical editor cannot handle custom nodes that are produced in this way. If you want the nodes to show up in the editor, you should use the plain vanilla node type and configure them with an action. There are a number of forum threads that talk about this way of doing it.
so is there any other way to add a custom node??
or another way to configure it??
and can you plz send me any link that talks about plain vanilla node type??
and how can i use it??
9.3.7 in the docs and look in the source for specific testcases and look in the wiki also
with plain vanilla node type, koen referred to the 'node', which is also a node-type in jPDL. it's used to provide an action that implements the node behaviour.
I appreciate your effort for answering me,,,
I checked the the node type in 9.3.7,,, but my case is that i want to add a custom attributes to the class node itself,, in other words,, node class contains id as long,, and i want to add a type of node that contain myId as int,, and get its value from the processdefinition.xml,, i.e:
is there any solution,, or i have to rebuild the jpdl in order to do that??
in jbpm.3 there is a read method in the node so that the node implementation also can parse custom attributes.
i don't know whether all things are configurable enough to get it going without recompilation. that probably is the case, but i'm not sure. see the jPDL node type implementations for examples on how to implement that extra node parsing.
we currently working towards jpdl 4 where this node pluggability is fully worked out from designer to xml over node implementation to persistence.