I recently started working on JBPM 3.2. I need to add some custom nodes whose functionalities will be import, export etc. I did my some research and found out that in order to add Custom nodes we have two approaches.
- To implement ActionHandler and write the Business Logic in the execute method.
- To extend the Node class.
I am really confused which approach to follow, first one is quite easy to implement ,while in the second approach I have to do a lot of work as in providing hibernate mapping etc.