I would like to deploy my BPMN process and some embedded forms using REST API and make them run.
For the moment, I succeeded deploying my BPMN file and my form (html file)
Running the process works fine until the task where my embedded form is called.
At that step, I got a message “Form failure: Origin is not allowed by Access-Control-Allow-Origin” in Chrome (and a never-ending loading screen in Firefox)
I suspect that my form is not referenced correctly in my bpmn file.
(Indeed, I got the same message when I try to reference a html file with a dummy name instead of my html name)
The “Origin is not allowed by Access-Control-Allow-Origin” part is a side effect of that bug.
The requests URL starts then with something like “app:” or “embedded:” which is understood as a protocol by the browser which will try a cross origin request aka CORS… for the record.
I do not think it is related to the issue @vale references.
The virtual path embedded:app:forms/start-form.html assumes that the file is located in a process application deployed as a WAR file. You say that you deploy the form using the rest api and we can see that in your cockpit screenshot).
it was merged into master with commit eb0f1c06. This commit is already part of 7.5.0-alpha3 released last week. And will therefore be part of the 7.5.0 release end of may. You can also see the fix versions on the Jira Issue.
Hi,
I am very new to camunda bpmn, Just i am trying deploy new workflow using create api. But i am getting 405 status.
Below are details, could someone help me on this issue.