0

I have a spring boot activiti project and my activiti bpmn file is located in classpath: src/main/resources/processes. What I need is, instead of reading from classpath I need to read the file from the system file path or outside from the resources folder.

Can anyone please help me on this

Noyal
  • 223
  • 2
  • 7

1 Answers1

0

Just add below configuration in your application.properties file.

spring.activiti.checkProcessDefinitions = true
spring.activiti.processDefinitionLocationPrefix = file:D:/Users/ActivitiProcess/
spring.activiti.processDefinitionLocationSuffixes = *.bpmn20.xml, *.bpmn
Noyal
  • 223
  • 2
  • 7