<?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>Re: Approval Workflow with dynamically defined Approvers</title><link>https://www.infopathdev.com:443/forums/thread/23439.aspx</link><pubDate>Thu, 04 Oct 2007 10:24:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23439</guid><dc:creator>adamrharding</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23439.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=50&amp;PostID=23439</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The only way to do it is to have a relationship between an AD field and the corresponding field in your other datasource otherwise how does the form know which manager belongs to which employee.&amp;nbsp; There are two ways to achieve this, firstly&lt;/p&gt;
&lt;p&gt;1) In my managers table I would have another linked table on the manager employee ID to a daugher table containing all employees linked by key of the manager ID eg&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Primary table&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Daughter Table&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Adam, 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Louise, 4, 1; Amanda, 5, 1; Derek, 6, 1;&lt;/p&gt;
&lt;p&gt;Geoff, 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alan, 7, 2; Jennifer, 8, 2; Steve, 9, 2;&lt;/p&gt;
&lt;p&gt;Arnie, 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sharon, 10, 3; Elizabeth, 11, 3; John, 12, 3;&lt;/p&gt;
&lt;p&gt;So, if Jennifer filled in the form, the form would know that Jennifer&amp;#39;s boss is Geoff, because here data in the daughter table gives Geoffs ID.&lt;/p&gt;
&lt;p&gt;Personally I would get the employee ID of the user from AD and then publish the rest of the data from the Daughter and Priamry table to the form so AD would provide the key to the individual and hence their authoriser.&lt;/p&gt;
&lt;p&gt;2) Publish in AD each persons authoriser, this way is very simple but fraught with upadating problems and accuracy&lt;/p&gt;
&lt;p&gt;There are inherent problems with automatically assigning authorisers in case of sickness or holdiays so what I normally do is provide a drop-down list of all people that could authorise the item so her boss, her bosses boss, and so on.&amp;nbsp; If this is put in a flat table then the drop-down list is presents to the user can be the list of all people that can sign-off.&amp;nbsp; One other benefit of this way is that you can filter the DD List by other criteria.&amp;nbsp; For example,&lt;/p&gt;
&lt;p&gt;If I was filling an expense form in for £2,000.00 and my boss could only sign off £1,000 then the DD List would only show my bosses boss and on up.&lt;/p&gt;
&lt;p&gt;I hope this helps&amp;nbsp;and if you have any furher questions feel free to ask.&lt;/p&gt;
&lt;p&gt;Adam&lt;/p&gt;</description></item><item><title>Approval Workflow with dynamically defined Approvers</title><link>https://www.infopathdev.com:443/forums/thread/21900.aspx</link><pubDate>Mon, 23 Jul 2007 18:50:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21900</guid><dc:creator>bjoernscher</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21900.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=50&amp;PostID=21900</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;I hope someone of you can help me out(once again). I am creating an Infopath browser-enabled form to publish it to a Sharepoint Form Library. I would like to establish an Approval Workflow for this form. Here comes my quest : I do not want the approvers to be predefined by the workflow. In the Infopath form I already lookup the username of the user who filled out the form from Active Directory and the managers username from another datasource. I want this username ( manager&amp;#39;s username ) to be the approver for this document, so that the approver is always the manager of the person who fills out the document.&lt;br /&gt;&lt;br /&gt;Does anyone know, how to set the approver field dynamically ?&lt;br /&gt;&lt;br /&gt;Hope to hear from you guys .&lt;br /&gt;&lt;br /&gt;Bjoern&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>