<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Can a SharePoint Workflow write to an InfoPath form?</title><link>https://www.infopathdev.com:443/forums/thread/70825.aspx</link><pubDate>Mon, 03 Oct 2011 20:23:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70825</guid><dc:creator>smonczka</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70825.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=70825</wfw:commentRss><description>&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;span style="font-size:10pt;"&gt;Scot thank
you very much for your reply. Yes you understood exactly what I was trying to
do. And it looks as if this will fix my issue. Though with the amount of tasks
I have to create, my whole solution may take to much time to complete. We are
creating an OnBoarding process for new hires. This form would be initiated by
HR. Once submitted workflows would be fired off for each and every task
associated with a new hire, i.e. make AD account, get desk equipment set up,
phone number, email address, business cards and so on. The process would actually
go out to a year after the new hire was hired with a final reminder to the HR
department to schedule the employees yearly review. In at last look there were
175 different tasks that needed to be set. I may have to review this project
and see if it will be worth the time. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;span style="font-size:10pt;"&gt;Sorry about
that... What I meant to say was thank you again for your help. :) &amp;nbsp;I can still use
this solution for another project I’m working on so your time will not have been for not! &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;span style="font-size:10pt;"&gt;thanks,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;span style="font-size:10pt;"&gt;Steve &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: Can a SharePoint Workflow write to an InfoPath form?</title><link>https://www.infopathdev.com:443/forums/thread/70824.aspx</link><pubDate>Mon, 03 Oct 2011 20:09:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70824</guid><dc:creator>smonczka</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70824.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=70824</wfw:commentRss><description>&lt;p&gt;Hilary thank you very much for responding.&amp;nbsp; Though I have used that fix for other situations it would not work for this one as I need the workflow to write back to the form so users can open the form to see what has tasks have been completed.&amp;nbsp; This allows them to chose to kick off other workflows if needed / or not.&amp;nbsp; I find it hard to beleave I am the first one ever to try having a workflow write to a form?&amp;nbsp; &lt;/p&gt;&lt;p&gt;Again thank you very much for taking the time to write me back.&lt;/p&gt;&lt;p&gt;Steve&lt;/p&gt;</description></item><item><title>Re: Can a SharePoint Workflow write to an InfoPath form?</title><link>https://www.infopathdev.com:443/forums/thread/70786.aspx</link><pubDate>Sat, 01 Oct 2011 14:57:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70786</guid><dc:creator>Scott Rooke</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70786.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=70786</wfw:commentRss><description>Hi Steve - &lt;br /&gt;&lt;br /&gt;To answer your short question, the answer is Yes.  I&amp;#39;m guessing there is more to it than what you have written.  But let me see if I can help break this down for you. &lt;br /&gt;&lt;br /&gt;Assumptions:&lt;br /&gt;--There are separate tasks that get sent to users to complete related to each task in the form.  Separate, meaning different tasks which represent a different part of the process and not the one task to 3 different people.  If it is the same task assign to 3 people then you need to approach the solution differently.  For this response let&amp;#39;s assume you have several steps in a process, each assigned to one person:&lt;br /&gt;&lt;br /&gt;1.) Initiate Order&lt;br /&gt;2.) Process Order&lt;br /&gt;3.) Post Order Cleanup&lt;br /&gt;

&lt;br /&gt;You will need to have fields in your form that represent the status of these tasks.  They could be in the form of a Checkbox, Radio Button or Textbox.  My recommendation would be to use the Checkbox or Radio Button.  You will want to set the data type properties for Checkbox to be boolean or Radio Button to a whole number - a whole number is easier to update from the workflow.  You&amp;#39;ll need to promote these fields when you publish the form.  In the publishing wizard there is a screen that exposes all of the fields from the Form, select Add, pick your field from the list to promote.  In the box below, InfoPath allows you to pick the mapping field from the form to SharePoint.  If you don&amp;#39;t already have a field in SharePoint, you can let InfoPath do this for you.  Best Practice is to create your own Site Column and associate it to a Content Type.  But this is the very important part - the name of this field is the name you need to know when you are want to update the status from the workflow.  Finish by publishing the form.  
&lt;br /&gt;&lt;br /&gt;
Now, to the workflow.  When the task is complete for each step on the process, the next step in the process Add the Action &amp;quot;Update List Item&amp;quot;  Use the Current List and then select the corresponding field you mapped from InfoPath.  What I have found to be the best solution when setting the value for a checkbox field is to use the Fx (function) true() or false() for the value.  Typing  TRUE or FALSE into the value field doesn&amp;#39;t always yield the results you are looking for. &lt;br /&gt;&lt;br /&gt;So hopefully this will help you along.  If you have the same task assigned to multiple individuals then it&amp;#39;s a little more complicated and would most likely require developing an example form.&lt;br /&gt;&lt;br /&gt;

Something else to consider is what to do when the workflow is cancelled.  If you have 2 of 3 tasks completed and someone terminates the workflow.  Your form is left in a state with two tasks completed and no corresponding process to complete the 3rd task.  If this happens you&amp;#39;ll either need to manually uncheck these fields or put a cleanup task in there that can address this and check to see if and of the previous tasks have been completed and set there value to false() if you intend to restart the process again.  This is in most cases the hardest part of developing forms and workflows is dealing with the variety of outcomes.  Getting the form and workflow to behave base on a successful completion of a given process is usually very linear and easy to implement.&lt;br /&gt;&lt;br /&gt;Hope this helps.  Let me know if there is something I miss understood.&lt;br /&gt;&lt;br /&gt;Scott</description></item><item><title>Re: Can a SharePoint Workflow write to an InfoPath form?</title><link>https://www.infopathdev.com:443/forums/thread/70784.aspx</link><pubDate>Sat, 01 Oct 2011 13:39:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70784</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70784.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=70784</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m not positive on this - but I wonder if you promoted the field and set it so it could also be edited from the library - it seems to me that in that case you should be able to set values for the form from your workflow....&lt;/p&gt;</description></item><item><title>Can a SharePoint Workflow write to an InfoPath form?</title><link>https://www.infopathdev.com:443/forums/thread/70735.aspx</link><pubDate>Thu, 29 Sep 2011 17:56:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70735</guid><dc:creator>smonczka</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70735.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=70735</wfw:commentRss><description>&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Is it possible to create a SharePoint workflow that will write to an
InfoPath form?&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;I have a form that list several to do items for different people. This is a
master form that the manager for a group might use. The manager opens the
request form and checks off what each person needs to do. when the form is
submitted a workflow sets tasks for each person in a SharePoint Task List.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;When a user completes the task I want it to check off the associated task in
the master form. The manager can then open up the form to see what has been
completed and once a check box is marked true other rules fire off and other
tasks are generated. &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;But in short can a workflow populate a field in an InfoPath form? &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Using SharePoint 2010 Enterprise and InfoPath 2010 Browser Based Forms.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;Thanks, Steve&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>