How to enable SafeBpmnXml in activiti 6

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

How to enable SafeBpmnXml in activiti 6

Is there any property defined to enable enableSafeBpmnXml in activiti 6? I am using spring boot with activiti 6.

1 Reply
bassam_al-saror
Alfresco Employee

Re: How to enable SafeBpmnXml in activiti 6

For spring boot implement ProcessEngineConfigurationConfigurer (need to also add @Configuration spring annotation on the implemented class). Then call setEnableSafeBpmnXml(true) on the processEngineConfiguration

Your custom implementation should look like this:

public void configure(SpringProcessEngineConfiguration processEngineConfiguration) {

processEngineConfigurationsetEnableSafeBpmnXml(true);

}