<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Workflow</title><link>https://www.infopathdev.com:443/forums/50.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>How to read a repeating table in a .net workflow</title><link>https://www.infopathdev.com:443/forums/thread/51709.aspx</link><pubDate>Fri, 12 Feb 2010 15:48:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51709</guid><dc:creator>birnbauma</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51709.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=50&amp;PostID=51709</wfw:commentRss><description>&lt;p&gt;I have an Infopath 2007 form that gets submitted to a MOSS 2007 doc lib and is then&amp;nbsp;supposed to get routed for approvals.&amp;nbsp; These approvals are mostly dynamic, meaning the requestor of the form can select who to send the approval notification to.&amp;nbsp; I am doing this in the form by integrating our Active Directory users into a dropdown list where the requestor can select any number of people from the list and add them individually to a repeating table.&amp;nbsp;That all works wonderfully.&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s an example of the repeating table:&amp;nbsp; 
&lt;table class="xdRepeatingTable msoUcTable CTRL138" style="TABLE-LAYOUT:fixed;WIDTH:666px;BORDER-TOP-STYLE:none;BORDER-RIGHT-STYLE:none;BORDER-LEFT-STYLE:none;BORDER-COLLAPSE:collapse;WORD-WRAP:break-word;BORDER-BOTTOM-STYLE:none;" class="xdRepeatingTable msoUcTable CTRL138"&gt;

&lt;tr id="L03993E208A864E68"&gt;
&lt;td class=""&gt;&lt;span class="xdTextBox CTRL139 ms-xedit-plaintext" id="L03993BA00C84BADF" style="WIDTH:100%;FONT-FAMILY:Calibri;"&gt;Smith, John&lt;/span&gt;&lt;/td&gt;
&lt;td class=""&gt;
&lt;div&gt;
&lt;div&gt;&lt;font face="Calibri"&gt;Approved&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;font face="Calibri"&gt;Denied&lt;/font&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;
&lt;td class=""&gt;&lt;span class="xdTextBox CTRL141 ms-xedit-plaintext" id="L0399376091B8BFCE" style="WIDTH:100%;FONT-FAMILY:Calibri;"&gt;Smith, John&lt;/span&gt;&lt;/td&gt;
&lt;td class=""&gt;&lt;span class="xdTextBox CTRL142 ms-xedit-plaintext" id="L039933C09551F391" style="WIDTH:100%;FONT-FAMILY:Calibri;"&gt;2010-02-12 9:24 AM&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr id="L03DE63E099305774"&gt;
&lt;td class=""&gt;&lt;span class="xdTextBox CTRL139 ms-xedit-plaintext" id="L03DE64009D0EBB77" style="WIDTH:100%;FONT-FAMILY:Calibri;"&gt;Smith, Jane&lt;/span&gt;&lt;/td&gt;
&lt;td class=""&gt;
&lt;div&gt;
&lt;div&gt;&lt;font face="Calibri"&gt;Approved&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;font face="Calibri"&gt;Denied&lt;/font&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;
&lt;td class=""&gt;&lt;span class="xdTextBox CTRL141 ms-xedit-plaintext" id="L03DE6440A4CB83DD" style="WIDTH:100%;FONT-FAMILY:Calibri;"&gt;Smith, Jane&lt;/span&gt;&lt;/td&gt;
&lt;td class=""&gt;&lt;span class="xdTextBox CTRL142 ms-xedit-plaintext" id="L03DE6460A8A9E840" style="WIDTH:100%;FONT-FAMILY:Calibri;"&gt;2010-02-12 9:24 AM&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr id="L09934040B23D2883"&gt;
&lt;td class=""&gt;&lt;span class="xdTextBox CTRL139 ms-xedit-plaintext" id="L09934080BBD06906" style="WIDTH:100%;FONT-FAMILY:Calibri;"&gt;Smith, Granny&lt;/span&gt;&lt;/td&gt;
&lt;td class=""&gt;
&lt;div&gt;
&lt;div&gt;&lt;font face="Calibri"&gt;Approved&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;font face="Calibri"&gt;Denied&lt;/font&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;
&lt;td class=""&gt;&lt;span class="xdTextBox CTRL141 ms-xedit-plaintext" id="L09934100CEF6EACC" style="WIDTH:100%;FONT-FAMILY:Calibri;"&gt;Smith, Granny&lt;/span&gt;&lt;/td&gt;
&lt;td class=""&gt;&lt;span class="xdTextBox CTRL142 ms-xedit-plaintext" id="L09934140D88A2C0F" style="WIDTH:100%;FONT-FAMILY:Calibri;"&gt;2010-02-12 9:24 AM&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr id="L07C1C040E04BEC52"&gt;
&lt;td class=""&gt;&lt;span class="xdTextBox CTRL139 ms-xedit-plaintext" id="L07C1C080E80DACD5" style="WIDTH:100%;FONT-FAMILY:Calibri;"&gt;Jones, Oopsie&lt;/span&gt;&lt;/td&gt;
&lt;td class=""&gt;
&lt;div&gt;
&lt;div&gt;&lt;font face="Calibri"&gt;Approved&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;font face="Calibri"&gt;Denied&lt;/font&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;
&lt;td class=""&gt;&lt;/td&gt;
&lt;td class=""&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;This table will always have 2 static approvers and may have 0 to unlimited (theoretically) dynamic approvers selected by the requester.&amp;nbsp; There is also tracking and verification occuring within the table to make sure that only the identified approver can actually approve/deny this request.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
&lt;p&gt;My problem is, how do I read this repeating table into the workflow in order to send out the notifications and/or assign tasks (I&amp;#39;m keeping track of the email addresses in a hidden field within the table)?&amp;nbsp; I also need to send the requester a notification for each approvers actions and when the entire request has been approved or denied.&amp;nbsp; Because it&amp;#39;s a repeating table, I can&amp;#39;t promote these values to the doclib and I can&amp;#39;t find any decent example of how to read the repeating table in a .net workflow.&amp;nbsp; I know how to do it in the code behind for the form, but the workflow accesses the form differently and I&amp;#39;ve never done this sort of thing before.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks - Al&lt;/p&gt;</description></item></channel></rss>