cancel
Showing results for 
Search instead for 
Did you mean: 

How to enable SafeBpmnXml in activiti 6

samlambert
Champ in-the-making
Champ in-the-making

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

1 REPLY 1

bassam_al-saror
Star Collaborator
Star Collaborator

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);

}