<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Retrieving workflow status into a infopath form - data connection not displaying the status field</title><link>https://www.infopathdev.com:443/forums/thread/91651.aspx</link><pubDate>Fri, 26 Jul 2013 09:59:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:91651</guid><dc:creator>seanbjack</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/91651.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=91651</wfw:commentRss><description>&lt;p&gt;Hi Alex &lt;/p&gt;
&lt;p&gt;Thanks, that really helped me make&amp;nbsp;sense of it. I will try use a secondary workflow and see how that goes and will let you knwo. Thanks again for your help with this&lt;/p&gt;
&lt;p&gt;cheers&lt;/p&gt;
&lt;p&gt;Sean&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Retrieving workflow status into a infopath form - data connection not displaying the status field</title><link>https://www.infopathdev.com:443/forums/thread/91650.aspx</link><pubDate>Fri, 26 Jul 2013 08:35:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:91650</guid><dc:creator>AlexStone</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/91650.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=91650</wfw:commentRss><description>&lt;p&gt;FYI: When an infopath form has fields that get submitted to a sharepoint list/library to appear&amp;nbsp;in a column then that&amp;nbsp;is called&amp;nbsp;&amp;#39;promoting&amp;#39; fields. The fields are &amp;#39;promoted&amp;#39; from the form to the library. Maybe you&amp;#39;ve done this before. As a side note: you can use a workflow and the action&amp;nbsp;&amp;#39;get inner xml&amp;#39; to take values from fields within your form and use them as variables in your workflow. Once they are available as variables in the workflow you can then have that workflow place them into columns in the Sharepoint list/library. I recommend this and never use the promotion method as it can complicate things when you later change the form/library/workflow. This &amp;#39;get inner xml&amp;#39; stuff is well worth looking into.&lt;/p&gt;
&lt;p&gt;Your issue: the status isn&amp;#39;t updating because the &amp;#39;Populate Status&amp;#39; workflow isn&amp;#39;t triggered. I think are three options.&lt;/p&gt;
&lt;p&gt;1. Have the Change Request approval workflow updates the &amp;#39;approval status&amp;#39; field everytime the approval status changes.&lt;/p&gt;
&lt;p&gt;2. Have the Change Request approval workflow update any part of the form record as this will consitute a change and thus trigger the Populate Status workflow.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;3. Have the Change Request approval workflow &amp;#39;start another workflow&amp;#39; namely the Populate Status workflow.&lt;/p&gt;
&lt;p&gt;This problems you&amp;#39;re having are all about what can trigger what to happen. This is a difficult area.&amp;nbsp;SharePoint workflows aren&amp;#39;t great at&amp;nbsp;&amp;nbsp;monitoring progress. i.e. its hard to have one workflow running waiting for some value to change. Its better in my experience to have workflows that initiate when&amp;nbsp;an form/item&amp;nbsp;is changed that then assess the item (looking at fields like status) and&amp;nbsp;triggering actions according to the situation.&lt;/p&gt;
&lt;p&gt;Secondary&amp;nbsp;workflows are a powerful tool in this area: &lt;a href="http://office.microsoft.com/en-gb/sharepoint-designer-help/create-a-secondary-workflow-HA010237656.aspx"&gt;http://office.microsoft.com/en-gb/sharepoint-designer-help/create-a-secondary-workflow-HA010237656.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I hope this helps and that I&amp;#39;ve understood you.&lt;/p&gt;</description></item><item><title>Re: Retrieving workflow status into a infopath form - data connection not displaying the status field</title><link>https://www.infopathdev.com:443/forums/thread/91632.aspx</link><pubDate>Thu, 25 Jul 2013 16:06:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:91632</guid><dc:creator>seanbjack</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/91632.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=91632</wfw:commentRss><description>&lt;p&gt;Apologies, I should have been clearer. It seems tthe problem is more as described below as I have been playing around with it&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have&amp;nbsp;created &amp;nbsp;2 workflows&lt;/p&gt;
&lt;p&gt;The first is straight forward&amp;nbsp;Approval workflow&amp;nbsp;(Change Request approval) - &amp;nbsp;Its is manually kicked-off&amp;nbsp;when the form is ready for approval so it does not kick-off when the form changes.&lt;/p&gt;
&lt;p&gt;I then created another workflow (Populate Status)&amp;nbsp;to populate (promote to?)&amp;nbsp;the additional status column I created (as per your suggestion)&amp;nbsp;with the value of the workflow status. This workflow I have set to run automatically&amp;nbsp;when the item changes&lt;/p&gt;
&lt;p&gt;The issue I have is that when the approval&amp;nbsp;workflow status is kicked-off&amp;nbsp;and when the approval status initially changes to &amp;quot;in progress&amp;quot; it is not updating the status. (I have attached an example screenshot). If I open the form and close it again then it does update. &lt;/p&gt;
&lt;p&gt;Not sure why its doing this?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Retrieving workflow status into a infopath form - data connection not displaying the status field</title><link>https://www.infopathdev.com:443/forums/thread/91629.aspx</link><pubDate>Thu, 25 Jul 2013 15:15:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:91629</guid><dc:creator>AlexStone</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/91629.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=91629</wfw:commentRss><description>&lt;p&gt;Right, ok. I&amp;#39;m still confused because: &lt;/p&gt;
&lt;p&gt;1. Workflows have their own &amp;#39;status&amp;#39; such as &amp;#39;in progress&amp;#39; or &amp;#39;complete&amp;#39;. Make sense? So if the workflow runs sucessfully it&amp;#39;s status will become&amp;nbsp;&amp;#39;complete&amp;#39;. &lt;/p&gt;
&lt;p&gt;2. The workflow may, as one of its action, set the &amp;#39;Status&amp;#39; of a form where the &amp;#39;Status&amp;#39; is a field that has been created by the form author (you). Are you &amp;#39;promoting&amp;#39; that column to form library? &lt;/p&gt;
&lt;p&gt;My first response thought you were talking about (1). Your last response sound like you&amp;#39;re talking about actions in (2). Please clarify?&lt;/p&gt;
&lt;p&gt;Also, when you say &amp;#39;&lt;em&gt;trigger the approval if the value of the approval field changes&amp;#39;&lt;/em&gt; can you clarify: when you say &lt;em&gt;&amp;#39;the approval&amp;#39;&lt;/em&gt;&amp;nbsp; do you mean the workflow?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Retrieving workflow status into a infopath form - data connection not displaying the status field</title><link>https://www.infopathdev.com:443/forums/thread/91625.aspx</link><pubDate>Thu, 25 Jul 2013 14:44:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:91625</guid><dc:creator>seanbjack</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/91625.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=91625</wfw:commentRss><description>&lt;p&gt;It&amp;#39;s an approval&amp;nbsp;workflow I&amp;#39;ve built in sharepoint designer&lt;/p&gt;</description></item><item><title>Re: Retrieving workflow status into a infopath form - data connection not displaying the status field</title><link>https://www.infopathdev.com:443/forums/thread/91624.aspx</link><pubDate>Thu, 25 Jul 2013 14:23:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:91624</guid><dc:creator>AlexStone</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/91624.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=91624</wfw:commentRss><description>&lt;p&gt;This workflow - is it an out of the box sharepoint &amp;#39;approval workflow&amp;#39; or is it a workflow you built that supports an approval process?&lt;/p&gt;</description></item><item><title>Re: Retrieving workflow status into a infopath form - data connection not displaying the status field</title><link>https://www.infopathdev.com:443/forums/thread/91623.aspx</link><pubDate>Thu, 25 Jul 2013 14:07:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:91623</guid><dc:creator>seanbjack</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/91623.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=91623</wfw:commentRss><description>&lt;p&gt;Hi Alex,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for yor help on this. I have just tried this and it does work, I am able to get the value into another column and then pass it to the form. The only issue is that the workflow only runs if the form has changed and&amp;nbsp;not if the workflow status has changed. Do you perhaps know if its possible to trigger the approval if the value of the approval field changes?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks again&lt;/p&gt;
&lt;p&gt;Sean&lt;/p&gt;</description></item><item><title>Re: Retrieving workflow status into a infopath form - data connection not displaying the status field</title><link>https://www.infopathdev.com:443/forums/thread/91619.aspx</link><pubDate>Thu, 25 Jul 2013 11:16:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:91619</guid><dc:creator>AlexStone</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/91619.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=91619</wfw:commentRss><description>&lt;p&gt;Hi Sean,&lt;/p&gt;
&lt;p&gt;I know that you can access workflow status fields/columns from workflow (I&amp;#39;ve done&amp;nbsp;that with sharepoint designer). One possibility would then be to have a workflow run every time your infopath form changes that would copy the value of the workflow status to another column that your form can access via a data connection (so that would need to be a column you&amp;#39;ve created in your library). So the workflow just copies the status from a field you can&amp;#39;t access to one you can. It should work but someone may have a prettier answer.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Regards,&lt;/p&gt;
&lt;p&gt;Alex&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Retrieving workflow status into a infopath form - data connection not displaying the status field</title><link>https://www.infopathdev.com:443/forums/thread/91581.aspx</link><pubDate>Tue, 23 Jul 2013 16:07:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:91581</guid><dc:creator>seanbjack</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/91581.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=91581</wfw:commentRss><description>&lt;p&gt;Hi &lt;/p&gt;
&lt;p&gt;I have done a search in the forum and there seems to be a couple of similar issues with this&amp;nbsp;with no simple resolution so I thought I&amp;#39;d try ask the question again.&lt;/p&gt;
&lt;p&gt;I have setup a form library with an approval workflow in sharepoint 2010. I would like be able to run a set of rules within the infopath form based on the approval status. I have set a secondary data connection to the library however the status field is not available to select even though it is visible as a column/field in the form library. Does anyone have an idea how I can pull the workflow&amp;nbsp;field into infopath via a data connection?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Sean&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>