submitted form immediately redirects in workflow approval
I've created a form submission process following this description https://blogs.oracle.com/kyle/entry/adding_ucm_web_forms_to_site_s and associated the submission with a workflow
It works, the form gets into ucm and workflow is triggered. However, the confirmation page, what the "form" redirects to after submission shows right away after clicking on the link in the email approval message.
The service used is SUBMIT_HTML_FORM and the redirect is defined as
var currentElement7 = document.createElement("input");
currentElement7.setAttribute("type", "hidden");
currentElement7.setAttribute("name", "RedirectUrl");
currentElement7.setAttribute("value", "<!--$ssNodeLink(ConfirmationPage)--><!--$AdditionalConfirmParameters-->");
aForm.appendChild(currentElement7);
Any ideas on how to prevent the redirect when the form shows for workflow approval ?
Thanks ...