This content has been marked as final. Show 6 replies
You shouldn't need a Submit service for your user steps. Simply let it default and it will handle the inbound submission for you. Ensure that you have setup the form to submit XDP data and that the output form data in the user task's Form Data Mappings is also an xfaForm variable (you can reuse the same one if you would like). From there use the output xfaForm variable as input to the 3rd step.
Thanks, I unchecked the Enable Submit Service option. But it still works the same way. The second user doesn't see the updated form. I tried reusing the same xfaForm variable as well as a new xfaForm variable.. both give the same unwanted result..
About "setup the form to submit XDP data", I am using Process Fields in my form, So I do not have any Submit Button on the form. the pdf file is manually pasted in the Watch Folder as of now.
Besides, the xfaForm variables are bound to a PDF (Template URL). I tried using XDP but then the reader extensions do not work.
So I am thinking of a different approach
1) extract xml from the pdf (in watch folder)
2) convert it to xml
<b>3)convert the xml to xfaForm </b>
4) use this xfaForm as input to the assign task
But I am stumped about ho0w to implement step 3
I thought I could use Forms->RenderPDFForm
But I don't know how to configure the URL Options..
The process gets stalled at this point.
When you extract the data from the form it is already XML.....or it should be. I do not use ProcessFormSubmission .... there is an easier way - under Common/Form Data Integration there is an Export Data service that will take your form as input and create a document that contains your data as output. You can then use a setValue to change the doc object into an xml object (doc object on right, xml object on left). Once it is xml you will need to see what the format is so either write it out or dump it to the log. Ultimately you want to get down to the forms root node and set that and all of its children to the xfaForm variable. The xfaForm variable is a complex object that has multiple nodes beneath it. Use a setValue service to put the xml you extracted into the xfaForm Var. In the XPath editor you can expand it out and put the xml data under this node:
Now your xfaForm var is ready to go
Email me your process email@example.com,will fix your problem
Hi Paul Guerette..
That was simple. Worked great.. Thanks a lot.