AnsweredAssumed Answered

SpringProcessEngineConfiguration: autodeploy. How to undeploy?

Question asked by kayj on Jun 29, 2016

I'm using the following configuration to automatically deploy changed BPMN models:

<property name="deploymentResources" value="classpath*:/bpmn/**.bpmn20.xml" />
<property name="deploymentMode" value="single-resource" />

New files as well as changed files are deployed as expected on startup. But I'd also like to automatically undeploy BPMN files which have been in the specified folder, and thus have been deployed previously, but have been deleted afterwards. When starting the engine I'd like the engine to undeploy all the files which have been removed. Is this possible at all? Any ideas on how to implement it?