AnsweredAssumed Answered

Use community version Activity when creating Alfresco ADP application

Question asked by varlok on Jul 7, 2017
Latest reply on Jul 10, 2017 by ryandawson

Dear Community
Make a substitute. How can I use the community version of the Activity when creating the Alfresco ADP application?

 

I added the following configuration settings to the activiti-app.properties file(/opt/tomcat/tomcat-latest/webapps/activiti-app/WEB-INF/classes/META-INF/activiti-app/activiti-app.properties).

cors.enabled=true
security.csrf.disabled=true


When I start the Alfresco ADP application and use Activation as the process service, an error occurs

"Request has been terminated Possible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc."

In the browser console error

"XMLHttpRequest cannot load http://192.168.122.79:8080/activiti-app/app/authentication. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access."

 

Outcomes