Can Activiti engine read a file located outside the classpath?

cancel
Showing results for 
Search instead for 
Did you mean: 
samlambert
Member II

Can Activiti engine read a file located outside the classpath?

spring.activiti.checkProcessDefinitions = true
spring.activiti.processDefinitionLocationPrefix = C:\bpmn\processes
spring.activiti.processDefinitionLocationSuffixes = *.bpmn20.xml, *.bpmn

Can it read file from "C:\bpmn\processes"  location. I tried the above and found it is not working.

Any suggestion?

1 Reply
samlambert
Member II

Re: Can Activiti engine read a file located outside the classpath?

It should be as below and it worked

spring.activiti.processDefinitionLocationPrefix = file:C:/bpmpfiles/processes/
spring.activiti.processDefinitionLocationSuffixes = *.bpmn20.xml, *.bpmn