this has been discussed in the forum several times... it is not that easy if the process changes. There is also a jira issue for this. So look there to
Okay, I've searched the forums and I am watching the Jira issue.
I was wondering, is there a way to update a file in the database using the API's? So, if I have "myForm.jsp" which was deployed with a process definition, and I want to fix a spelling mistake on that form, and not create an entire new deployed version, is there a way to directly update JUST that file? So all current instances will see that updated "myForm.jsp" page, thereby fixing the spelling mistake on all current processes.
I was thinking that if this is possible, I can simply pass a parameter from my eclipse GPD when deploying the updated process, eg. "/jbpm-console/upload?updateFiles=Yes". I can then create my own servlet, based on the ProcessUploadServlet, and check for this parameter. If it exists, I can then use the API's to only update the files in the database for that process definition, instead of deploying the process definition.
Anyone tried something like this or know if it can be done?
no, there is no such functionality. At least not for the jbpm web console and the core. But you can ofcourse split the process and the webapp e.g. by using seam, and achieve this functionality