Hello all,
we are in evaluation stage of Camunda’s Enterprise Edition, but we face a technical issue that is a road block to our evaluation process. I will try to describe our technical issue on my best of my knowledge.
We have a created a simple demo process as shown below. This is just a simple process so as to understand how we can deploy it in the engine. As shown, the key is “process_test”.
We have deploy it on Cockpit. So, we are able to see the process there, but we want to try to create a new instance automatically.
We tested the REST API with POSTMAN, and it really works.
Now we want to do this implementation with javaScript code. We want when an end user submits a new application, a new process instance to be created on backend with all the user’s information to be available in camunda’s engine.
For this reason, we created just a very simple html code and javascript code, instead of testing it in our real website. In the following images, the simple js code is shown. This code is fired when an end-user clicks on submit button. But as you can see we face an CORS-policy error.
We tried it also in another way, namely with XMLHttpRequest, but in this case we face another issue.
When the button is clicked in the html code, the following javascript code is fired. But as you can see, we have the following error about CORS policy.
Then, in another topic in the forum, we saw some suggestions to add CORS header server wide in the WildFly standalone.xml. Like shown below, we also did this step.
After the server is restarted, we are not able to connect to the server.
So, after all, we guess that is an issue with the server, but we cannot deal with it.
I hope we could soon find a solution so as to continue the evaluation of Camunda’s Enterprise Edition capabilities. I hope now its really clear the issue that we face.
Thank you all for your time and apologize for the long topic.