Expand my Community achievements bar.

How to save the form data into adobe db?

Avatar

Former Community Member
Hi All,



How to save the form data into adobe db?



I have designed one xdp file.

Through processFormSubmission(), I got the submitted form data as Document obj.



Then I have called the workflow kickoff program.

code:

InvocationRequest request = myFactory.createInvocationRequest ("myprocessname", //Specify the long-lived process name

"invoke", //Specify the operation name

params, //Specify input values (HashMap obj)

false); //Create an asynchronous request



It successfulyy started the workflow, but the submitted form data is not saved anywhere.



And also, How get the form data from tables?



Please provide the solution for the above.



Thanks in advance.



Regards,

Saravanan G
1 Reply

Avatar

Level 10
You need to create a process variable of type IN if you want to be able to pass data to your process. Then the params parameter (HashMap) contains a list of all the IN variables with their content that you want to pass to your process. They key is the name of the variable and the value the content. That way you should get it in your process.



Now LiveCycle will create a column in the database for every process variable, so the content will be saved in the database just by creating that process variable.



Jasmin