Well, I have workflows that have a document library where the user can look all document of specific process without see the form, so my idea was to use InfoPath and use the attachment control and in the way the user will attach and fill out the firm of the process in the same place without got to the document library and after to the form.
Note: Clay sorry this is other question but nobody answers in other forums, Do you have an idea how to get the data of the Repeating section in the workflow when you get the AssociationData?
When I run the code
assocForm = (Main)serializer.Deserialize(reader);
I get the erro
Additional information: There is an error in XML document (1, 2).
This is the schema that I get in AssociationData
<my:myFields xml:lang="en-US" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:d="http://schemas.microsoft.com/office/infopath/2003/ado/dataFields" xmlns:dfs="http://schemas.microsoft.com/office/infopath/2003/dataFormSolution" xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2007-10-17T13:20:34" xmlns:xd="http://schemas.microsoft.com/office/infopath/2003">
<my:gpDesignatingInfo>
<my:txtOffice>ITS</my:txtOffice>
<my:txtDesignatingPerson>Administrator</my:txtDesignatingPerson>
<my:txtActingFor></my:txtActingFor>
<my:dtLeaveBegin xsi:nil="true"></my:dtLeaveBegin>
<my:dtLeaveEnd xsi:nil="true"></my:dtLeaveEnd>
<my:txtTypeOfLeave>Type1</my:txtTypeOfLeave>
<my:ContactInfo></my:ContactInfo>
</my:gpDesignatingInfo>
<my:gpDesignatedInfo>
<my:gpDesignatedPersons>
<my:txtDesignatedOffice>ITS</my:txtDesignatedOffice>
<my:txtDesignatedPerson>User01</my:txtDesignatedPerson>
<my:dtDesignatedBegin xsi:nil="true"></my:dtDesignatedBegin>
<my:dtDesignatedEnd xsi:nil="true"></my:dtDesignatedEnd>
</my:gpDesignatedPersons>
</my:gpDesignatedInfo>
</my:myFields>