I’ve created a web context in the designer and sent it to the workflow.
When I run the process and look at the code source of the web page, there is a base tag which is added:
<base href="http://127.0.0.1:8080/_voyager/localhost/9340/2830/13002/" />
When I submit the form, I've got an internal error. However if I modify the URL in the browser url field (I delete the part _voyager/localhost/9340/2830/13002/ )
the workflow works correctly.
I guess the base tag is added to permit to the host to get images, css and js code. But why I can't valide form ?
Thank you
Kind regards
Tenalp
You say “When I submit the form, I’ve got an internal error”, but do you get that error in the Browser or in Workflow? Either way, what is the exact error message?
When you remove the tag, you say it works fine, but do you have all the resources in your Web page? (images, css, js, etc.)?
The form action is set to “imprimer”. It should instead point to a URL. Am I right in presuming that when you try it in the live preview, it does nothing at all?
If you run this through the Workflow process, it will try to find a URL named “imprimer” so that’s sure to return an error. The URL should be something like “http://127.0.0.1:8080/imprimer”, which would point to your Workflow Server’s IP and a Workfow process whose HTTP Input action is set to “imprimer”.