Hi Tijs,
thanks for the response, I was afraid that was the only option.
The problem here is that I have implementation consultants writing the bpmn files and not the developers.
Spelling errors are easily made in package names for implementation classes - so being able to correct the deployment specific variables would be a big plus.
I think from the activiti side you build the processdefinitions from the uploaded xml file every time activiti is started/restarted right?
So in order to update these variables on the existing process you'd have to modify the uploaded xml.. not a fun job…
From what I've gathered, after a processdefinition is loaded from the bpmn definition, it stays in a cache. So our team could create some sort of post load hook that will update the variables in the cache.
Not the nicest solution, but always better than having implementation consultants copy/pasting or typing classnames..
grtz,
Leon..