Basically i need to start a K2 workflow after an upload of document to a Sharepoint library.
The upload however requires filling out an Infopath form to collect several fields of metadata beyond the attachment of the file itself to the form. I have designed the Infopath template (.xsn) form and published it to a Sharepoint form library.
When i click "new" on the form library, fill out the form and hit submit, the XML of the form appears on the form library but what i wanted was to have it not like this but as a normal upload representation as in a document library having the document and the different columns of metadata with values as entered in the form.
To accomplish this do you have any better ideas than having a document library beside the form library and then having my K2 workflow, associated to the form library, starting when the form is submited and then addind as first activity a Sharepoint Document event to get the XML data from the form (or probably the form library) and writing it back to the document library?
Then the K2 workflow could proceed doing what is planned to do working with the document library and forgetting the form lib. This seems ok, but at the same time we are keepping more or less the same information in two different libs...
Any ideas are welcome.
Thanks!