I am pretty new to jBPM.
Currently we are trying to integrate jBPM 4.3 with our existing java web application (jsp based), using jBPM as the workflow engine. I hope to use our existing forms engine for serving up user task web forms. But I don't see any easy way to thread the web form service through the chain of command.
What I have done so far is to sub-class TaskActivity to be able to express the data mapping and the form resource. However, I can't seem to find a easy way to thread the HttpRequest and HttpResponse to the Activity.execution call. Can anyone help with me with this problem?
You are right. jBPM 4 only provide a form-plugin to integration freemarker web form in bpm-console. In Form plugin, bpm-console direct get process varaibles and task outcomes.
If you want to integartion your own web form, e.g. JSP, I will suggest you only record taskId and processInstanceId in your web form, maybe use hidden input field. Then you could invoke services provided by jBPM4 in you java class.
I think this is the simplest solution at this moment.
|Retrieving data ...|