-
1. Re: need help on submit action when rendering the form as HTML
Ashok Deivasigamani May 28, 2014 10:39 PM (in response to Ashok Deivasigamani)Guys, the reason that I was not able to submit my form to the process endpoint was because I had designed the process to take an xml as input by the variable name formData, and it seems the REST invocation from the HTML form sends the data as a map of string.
I changed my process to take a map as the input parameter as input instead of XML and retrieved the form data in the map in the process.
Steps involved
1) create a process with a variable of type map of strings as input
2) create your form and include the http submit button and provide the REST endpoint url as input to the submit button or include a simple button and select the category as submit and provide the needed inputs in the submit tab.
3) in the process use a execute event and get the value of the input data as a string with the following expression
map[@data]
4) Convert the string into XML and use in your process further.
Regards -
Ashok D

