<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/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>Geeky Girl : workflows</title><link>http://blogs.technet.com/jessmeats/archive/tags/workflows/default.aspx</link><description>Tags: workflows</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Reusable no-code workflows</title><link>http://blogs.technet.com/jessmeats/archive/2009/11/02/reusable-no-code-workflows.aspx</link><pubDate>Mon, 02 Nov 2009 14:54:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3290822</guid><dc:creator>JessMeats</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/jessmeats/comments/3290822.aspx</comments><wfw:commentRss>http://blogs.technet.com/jessmeats/commentrss.aspx?PostID=3290822</wfw:commentRss><description>&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;There are several short-comings with designing workflows in the current version of SharePoint Designer (but there’s always Visual Studio and some excellent third-party tools to combat those short-comings). One of the problems with SharePoint Designer workflows for MOSS 2007 is that you can’t reuse them. If I were to design a workflow on a document library and wanted to use that exact same workflow on a different document library, I would have to start all over again. &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;With the new SharePoint Designer for Microsoft SharePoint Server 2010, you just choose the option to create a reusable workflow in your initial design. Then you can attach the same no-code workflow to any list, document library or content type where it’s appropriate. You can also take an existing reusable workflow, use it as a template and make any necessary changes. This should cut the time needed to design multiple workflows considerably. &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;If you buy MOSS 2007 with Software Assurance now, you’ll get the upgrade rights to 2010 when it’s released. There’s no better time to buy!&lt;/FONT&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3290822" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/jessmeats/archive/tags/Business+Process+Management/default.aspx">Business Process Management</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/workflows/default.aspx">workflows</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/2010/default.aspx">2010</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/Microsoft+SharePoint+Server+2010/default.aspx">Microsoft SharePoint Server 2010</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/SharePoint+Designer/default.aspx">SharePoint Designer</category></item><item><title>Out of the box workflow customisation</title><link>http://blogs.technet.com/jessmeats/archive/2009/10/27/out-of-the-box-workflow-customisation.aspx</link><pubDate>Tue, 27 Oct 2009 10:34:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3289449</guid><dc:creator>JessMeats</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/jessmeats/comments/3289449.aspx</comments><wfw:commentRss>http://blogs.technet.com/jessmeats/commentrss.aspx?PostID=3289449</wfw:commentRss><description>&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;MOSS 2007 came with a few out of the box workflows to do tasks which are common in a huge range of organisations. One of these was the approval workflow, provided out of the box because the majority of companies have an approval procedure of some form. This is a very easy to use workflow that can be run on any content type allowing someone to approve or reject a document for publication. The problem was that no two companies do business in exactly the same way. &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;The out of the box approval workflow is very generic. Companies that wanted something slightly different would have to recreate the entire thing. With Microsoft SharePoint Server 2010, you have the ability to use the out of the box workflows as a template and customise them to get the precise workflow needed for your company policies. These changes can be made quite simply in SharePoint Designer 2010 with no need for custom code. &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;You can now make the out of the box workflows adapt to your needs without any coding and without having to start from scratch. &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;If you buy MOSS 2007 with Software Assurance now, you’ll get the upgrade rights to 2010 when it’s released. There’s no better time to buy!&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3289449" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/jessmeats/archive/tags/workflows/default.aspx">workflows</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/MOSS+2007/default.aspx">MOSS 2007</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/2010/default.aspx">2010</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/Microsoft+SharePoint+Server+2010/default.aspx">Microsoft SharePoint Server 2010</category></item><item><title>Scenario: Stock Ordering</title><link>http://blogs.technet.com/jessmeats/archive/2009/09/03/scenario-stock-ordering.aspx</link><pubDate>Thu, 03 Sep 2009 12:34:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3278904</guid><dc:creator>JessMeats</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/jessmeats/comments/3278904.aspx</comments><wfw:commentRss>http://blogs.technet.com/jessmeats/commentrss.aspx?PostID=3278904</wfw:commentRss><description>&lt;P&gt;Another simple scenario where SharePoint and InfoPath can work together to make life easier. A SharePoint dashboard which monitors stock levels is linked to an InfoPath form for ordering new stock, which kicks of a workflow to get the prodcuts delivered. &lt;/P&gt;
&lt;P&gt;
&lt;OBJECT width=425 height=344&gt;&lt;PARAM NAME="movie" VALUE="http://www.youtube.com/v/uQK6EfKKvng&amp;amp;hl=en&amp;amp;fs=1&amp;amp;"&gt;&lt;PARAM NAME="allowFullScreen" VALUE="true"&gt;&lt;PARAM NAME="allowscriptaccess" VALUE="always"&gt;
&lt;embed src="http://www.youtube.com/v/uQK6EfKKvng&amp;hl=en&amp;fs=1&amp;" mce_src="http://www.youtube.com/v/uQK6EfKKvng&amp;hl=en&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/OBJECT&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3278904" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/jessmeats/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/Business+Process+Management/default.aspx">Business Process Management</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/MOSS2007/default.aspx">MOSS2007</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/forms/default.aspx">forms</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/infopath/default.aspx">infopath</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/InfoPath+2007/default.aspx">InfoPath 2007</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/workflows/default.aspx">workflows</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/MOSS+2007/default.aspx">MOSS 2007</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/key+performance+indicators/default.aspx">key performance indicators</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/retail/default.aspx">retail</category></item><item><title>Scenario: Budget Request</title><link>http://blogs.technet.com/jessmeats/archive/2009/08/26/scenario-budget-request.aspx</link><pubDate>Wed, 26 Aug 2009 11:05:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3276998</guid><dc:creator>JessMeats</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/jessmeats/comments/3276998.aspx</comments><wfw:commentRss>http://blogs.technet.com/jessmeats/commentrss.aspx?PostID=3276998</wfw:commentRss><description>&lt;P&gt;&lt;SPAN&gt;Another scenario where InfoPath and SharePoint can aid business processes. In this demo, an employee fills out a budget request form, which is ammended by a manager and the results tracked using key performance indicators. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;
&lt;OBJECT width=425 height=344&gt;&lt;PARAM NAME="movie" VALUE="http://www.youtube.com/v/Xz7EkRN6fk0&amp;amp;hl=en&amp;amp;fs=1"&gt;&lt;PARAM NAME="allowFullScreen" VALUE="true"&gt;&lt;PARAM NAME="allowscriptaccess" VALUE="always"&gt;
&lt;embed src="http://www.youtube.com/v/Xz7EkRN6fk0&amp;hl=en&amp;fs=1" mce_src="http://www.youtube.com/v/Xz7EkRN6fk0&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/OBJECT&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3276998" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/jessmeats/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/MOSS2007/default.aspx">MOSS2007</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/forms/default.aspx">forms</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/infopath/default.aspx">infopath</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/InfoPath+2007/default.aspx">InfoPath 2007</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/workflows/default.aspx">workflows</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/MOSS+2007/default.aspx">MOSS 2007</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/BI/default.aspx">BI</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/Business+Intelligence/default.aspx">Business Intelligence</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/key+performance+indicators/default.aspx">key performance indicators</category></item><item><title>Scenario: Holiday Requests</title><link>http://blogs.technet.com/jessmeats/archive/2009/08/24/scenario-holiday-requests.aspx</link><pubDate>Mon, 24 Aug 2009 17:17:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3276351</guid><dc:creator>JessMeats</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/jessmeats/comments/3276351.aspx</comments><wfw:commentRss>http://blogs.technet.com/jessmeats/commentrss.aspx?PostID=3276351</wfw:commentRss><description>&lt;P&gt;This is a short demo showing a potential scenario for InfoPath and SharePoint workflows improving common processes. In this demo, an employee requests holiday, their manager reviews and approves the request, and then the holiday is added to a SharePoint team calendar. &lt;/P&gt;
&lt;OBJECT width=425 height=344&gt;&lt;PARAM NAME="movie" VALUE="http://www.youtube.com/v/X3Ji7AlMCVk&amp;amp;hl=en&amp;amp;fs=1&amp;amp;"&gt;&lt;PARAM NAME="allowFullScreen" VALUE="true"&gt;&lt;PARAM NAME="allowscriptaccess" VALUE="always"&gt;
&lt;embed src="http://www.youtube.com/v/X3Ji7AlMCVk&amp;hl=en&amp;fs=1&amp;" mce_src="http://www.youtube.com/v/X3Ji7AlMCVk&amp;hl=en&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/OBJECT&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3276351" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/jessmeats/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/Business+Process+Management/default.aspx">Business Process Management</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/MOSS2007/default.aspx">MOSS2007</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/forms/default.aspx">forms</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/infopath/default.aspx">infopath</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/demo/default.aspx">demo</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/InfoPath+2007/default.aspx">InfoPath 2007</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/workflows/default.aspx">workflows</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/MOSS+2007/default.aspx">MOSS 2007</category></item><item><title>Generating a unique form number - a SharePoint counter</title><link>http://blogs.technet.com/jessmeats/archive/2009/08/24/generating-a-unique-form-number-a-sharepoint-counter.aspx</link><pubDate>Mon, 24 Aug 2009 11:06:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3276261</guid><dc:creator>JessMeats</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.technet.com/jessmeats/comments/3276261.aspx</comments><wfw:commentRss>http://blogs.technet.com/jessmeats/commentrss.aspx?PostID=3276261</wfw:commentRss><description>&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;I’ve had a request to expand on my post about generating automatic numbers for InfoPath forms. I was asked to go into more detail about how to set up a SharePoint list to act as a counter. &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;Go to the SharePoint site where you have your document library and create a custom list by the standard process. There are a couple of different ways to do this. You can click Site Actions, then create. Or you can click on lists to get a list of all the lists on the site, and then click create. Or you can click on view all site content, then create. Either way, you will be taken to a menu screen offering a selection of things that could be created. The top link in the fourth column is custom list. Click this. &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;Now you have a new list with only one column showing, title, and no elements. &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;Click on settings and then create column. Add a column that contains a number with no decimal places. I’ve called this count. It doesn’t really matter what you call this column, so long as you remember the name. &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;Once you’ve got the column, add an element to the list. It doesn’t matter what you put in the title field but you need to put 0 in the count column (assuming there are currently 0 forms in your library). &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;That’s your counter made. &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;Now, open up SharePoint Designer. You’ll want to create a new workflow. Select the options to attach this workflow to the form library you want to set the auto-numbering in. Disable the options to allow users to manually start the workflow or to start the workflow when items change. Either of these would mess up your numbering. &lt;/FONT&gt;&lt;/P&gt;&lt;A href="http://s211.photobucket.com/albums/bb79/punctuationprecise/?action=view&amp;amp;current=blogpic29.jpg" target=_blank mce_href="http://s211.photobucket.com/albums/bb79/punctuationprecise/?action=view&amp;amp;current=blogpic29.jpg"&gt;&lt;IMG border=0 alt=Photobucket src="http://i211.photobucket.com/albums/bb79/punctuationprecise/blogpic29.jpg" mce_src="http://i211.photobucket.com/albums/bb79/punctuationprecise/blogpic29.jpg"&gt;&lt;/A&gt; 
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;Click next to get to the next screen in the wizard. This is an extremely simple workflow that only requires two actions. Click on the action button and add the inbuilt actions do calculation and update list item. Click on the first blue “value” links in the do calculation action, then click the function button that appears. This gives you the opportunity to choose an existing value. For source, choose your counter list with the count field as the field. Now SharePoint needs to know which item to bring back from this list, so set the field to be the ID field and the value to be 1 (since there’s only one item in this list). For the second value, just enter 1. &lt;/FONT&gt;&lt;/P&gt;&lt;A href="http://s211.photobucket.com/albums/bb79/punctuationprecise/?action=view&amp;amp;current=blogpic30.jpg" target=_blank&gt;&lt;IMG border=0 alt=Photobucket src="http://i211.photobucket.com/albums/bb79/punctuationprecise/blogpic30.jpg"&gt;&lt;/A&gt; &lt;A href="http://s211.photobucket.com/albums/bb79/punctuationprecise/?action=view&amp;amp;current=blogpic31.jpg" target=_blank&gt;&lt;IMG border=0 alt=Photobucket src="http://i211.photobucket.com/albums/bb79/punctuationprecise/blogpic31.jpg"&gt;&lt;/A&gt; 
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;In the update list item action, click the blue this list. From the drop-down menu, choose the counter list. Add a field to be updated and choose the count field, selecting as the new value the calculated value (from the workflow data). Again, you need to specify the exact list item. Select the field ID and the value 1. &lt;/FONT&gt;&lt;/P&gt;&lt;A href="http://s211.photobucket.com/albums/bb79/punctuationprecise/?action=view&amp;amp;current=blogpic32.jpg" target=_blank&gt;&lt;IMG border=0 alt=Photobucket src="http://i211.photobucket.com/albums/bb79/punctuationprecise/blogpic32.jpg"&gt;&lt;/A&gt; 
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;Then click finish. Now your counter will increment every time a form is added to your library. You can now reference this list from your InfoPath forms to create the form ID number. &lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3276261" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/jessmeats/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/Business+Process+Management/default.aspx">Business Process Management</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/WSS+3.0/default.aspx">WSS 3.0</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/forms/default.aspx">forms</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/infopath/default.aspx">infopath</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/InfoPath+2007/default.aspx">InfoPath 2007</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/workflows/default.aspx">workflows</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/MOSS+2007/default.aspx">MOSS 2007</category></item><item><title>Generating a unique form number</title><link>http://blogs.technet.com/jessmeats/archive/2009/08/10/generating-a-unique-form-number.aspx</link><pubDate>Mon, 10 Aug 2009 15:15:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3272073</guid><dc:creator>JessMeats</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.technet.com/jessmeats/comments/3272073.aspx</comments><wfw:commentRss>http://blogs.technet.com/jessmeats/commentrss.aspx?PostID=3272073</wfw:commentRss><description>&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;I’ve had someone ask me about automatically giving InfoPath forms a unique number. The scenario in question was one where the forms were being saved to a SharePoint document library with a unique number attached. &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;Documents in a SharePoint library do get given an ID, which is unique within document library. This can be used as the unique identifier of the forms out of the box with no additional work. The problem is, this only works so long as your forms remain in that document library. Once you start moving or copying forms (perhaps as part of a workflow) the ID will change. &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;In those situations, you will have to add a bit of work to your form to generate this number. You just have to be careful about when you generate it. If you have the possibility of multiple people filling out the form at the same time, you need to make sure the number is created in such a way that the method doesn’t result in forms being given the same number. If the form were to create this number on open, basing it on the number of files in the library, you would have issues when someone else opens the form template before the first form has been saved to the library. The easiest way round this issue is to have the number generated on submission. &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;Here I will describe a simple method of creating this auto number. &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;Firstly, you will need to create a data connection. If your forms (or a copy of them) are going remain in the document library they are submitted to, then you simply need to create a connection to retrieve data from that library. You only need to retrieve the data from one column. For the sake of argument, we’ll say the unique_number column. I’ll discuss another possibility in a bit for the scenario where forms will be moved or deleted from the library. &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;Set up the data connection using the wizard as you normally would, but uncheck the box when it asks whether to retrieve data when the form opens. You won’t want to get this information until the end. You will also want to set up the data connection to submit the form to the appropriate form library. Do this as you normally would, but make sure that one of your promoted fields is the unique_number field where you’ll be storing the unique ID of the form. From the submit options menu, uncheck the box labelled Show the Submit menu item and the Submit toolbar button. This is because you don’t want your users to just submit the form; you need the form to perform other actions first. &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;To allow your users to submit, add a button to the form. You’ll want this button to be set to trigger rules and custom code. Click on the Rules button, then Add, then Add Action. The action you want first is to query using a data connection. Choose the data connection you created to retrieve data from the form library.&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt;The second action is to set a field’s value. The field will be your unique_number field. Click on the function button next to the value field. Insert a function. You have a couple of different options here. You can choose to perform the count function on the items in any field, or the max function on the unique_number field. Either way, you should end up with the most recent unique number assigned. So now, you just add one to get your new one. &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;A href="http://s211.photobucket.com/albums/bb79/punctuationprecise/?action=view&amp;amp;current=blogpic27.jpg" target=_blank mce_href="http://s211.photobucket.com/albums/bb79/punctuationprecise/?action=view&amp;amp;current=blogpic27.jpg"&gt;&lt;IMG border=0 alt=Photobucket src="http://i211.photobucket.com/albums/bb79/punctuationprecise/blogpic27.jpg" mce_src="http://i211.photobucket.com/albums/bb79/punctuationprecise/blogpic27.jpg"&gt;&lt;/A&gt; 
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;The third and final action you need to add to this button is to submit the form. &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;So there you have it. Your form will now check how many items there are in the form library, create a unique number based on that value and save the form back. Brilliant! &lt;/FONT&gt;&lt;/P&gt;&lt;A href="http://s211.photobucket.com/albums/bb79/punctuationprecise/?action=view&amp;amp;current=blogpic28.jpg" target=_blank&gt;&lt;IMG border=0 alt=Photobucket src="http://i211.photobucket.com/albums/bb79/punctuationprecise/blogpic28.jpg"&gt;&lt;/A&gt; 
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;But you can probably see why this method only works for scenarios where you leave the forms in the library. If you have a process that involves moving the form from that library to another, the count value will almost certainly be wrong and the max value might well be. There are probably several different ways to work around this. One simple way is to create a SharePoint list to act as a counter. &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;Have a list with one numeric element. You’ll want to set this list up so that it’s not visible from the menus on the site since you’ll only want to access it through the form and workflows. Initially, this will have the value of 1. Create a one step workflow using SharePoint Designer and attach this workflow to the form library. The workflow should trigger every time an item is created in the form library and all it should do is add 1 to the value in the counter (using the calculate value and update list item inbuilt actions). Then your form should retrieve data from this list instead of the document library and use the counter value as the unique_number. &lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3272073" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/jessmeats/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/Business+Process+Management/default.aspx">Business Process Management</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/MOSS2007/default.aspx">MOSS2007</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/WSS+3.0/default.aspx">WSS 3.0</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/forms/default.aspx">forms</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/infopath/default.aspx">infopath</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/InfoPath+2007/default.aspx">InfoPath 2007</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/workflows/default.aspx">workflows</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/MOSS+2007/default.aspx">MOSS 2007</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/how+to/default.aspx">how to</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/data+connections/default.aspx">data connections</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/unique+id/default.aspx">unique id</category></item><item><title>SharePoint for Business Processes</title><link>http://blogs.technet.com/jessmeats/archive/2009/06/25/sharepoint-for-business-processes.aspx</link><pubDate>Thu, 25 Jun 2009 17:07:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3258617</guid><dc:creator>JessMeats</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/jessmeats/comments/3258617.aspx</comments><wfw:commentRss>http://blogs.technet.com/jessmeats/commentrss.aspx?PostID=3258617</wfw:commentRss><description>&lt;P&gt;Continuing my series of short introductions to how SharePoint can be used to solve various business problems. This video touches on custom and out of the box workflows, as well as browser-enabled InfoPath forms. &lt;/P&gt;
&lt;OBJECT width=425 height=344&gt;&lt;PARAM NAME="movie" VALUE="http://www.youtube.com/v/FvoCZB-RF6c&amp;amp;hl=en&amp;amp;fs=1&amp;amp;"&gt;&lt;PARAM NAME="allowFullScreen" VALUE="true"&gt;&lt;PARAM NAME="allowscriptaccess" VALUE="always"&gt;
&lt;embed src="http://www.youtube.com/v/FvoCZB-RF6c&amp;hl=en&amp;fs=1&amp;" mce_src="http://www.youtube.com/v/FvoCZB-RF6c&amp;hl=en&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/OBJECT&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3258617" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/jessmeats/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/Business+Process+Management/default.aspx">Business Process Management</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/MOSS2007/default.aspx">MOSS2007</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/WSS+3.0/default.aspx">WSS 3.0</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/forms/default.aspx">forms</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/infopath/default.aspx">infopath</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/demo/default.aspx">demo</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/InfoPath+2007/default.aspx">InfoPath 2007</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/workflows/default.aspx">workflows</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/MOSS+2007/default.aspx">MOSS 2007</category></item><item><title>Better with Office - Workflows</title><link>http://blogs.technet.com/jessmeats/archive/2009/06/01/better-with-office-workflows.aspx</link><pubDate>Mon, 01 Jun 2009 17:35:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3248813</guid><dc:creator>JessMeats</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/jessmeats/comments/3248813.aspx</comments><wfw:commentRss>http://blogs.technet.com/jessmeats/commentrss.aspx?PostID=3248813</wfw:commentRss><description>&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;SharePoint has two levels of workflow capabilities. With Windows SharePoint Services 3.0, you get the ability to create your own custom workflows either with code or using SharePoint Designer’s workflow wizard. With Microsoft Office SharePoint Server 2007 standard, you get that ability still, but you also get some out of the box workflows for common tasks such as document approval and collecting feedback. These capabilities can be accessed from within Office. &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;FONT size=3 face=Calibri&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;A href="http://s211.photobucket.com/albums/bb79/punctuationprecise/?action=view&amp;amp;current=blogpic6.jpg" target=_blank mce_href="http://s211.photobucket.com/albums/bb79/punctuationprecise/?action=view&amp;amp;current=blogpic6.jpg"&gt;&lt;IMG border=0 alt=Photobucket src="http://i211.photobucket.com/albums/bb79/punctuationprecise/blogpic6.jpg" mce_src="http://i211.photobucket.com/albums/bb79/punctuationprecise/blogpic6.jpg"&gt;&lt;/A&gt; 
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;One of the options from the Office menu is Workflows. When you select this option, you get a menu listing the various workflows associated with a document that can be manually started. This will include any workflows enabled over the whole SharePoint deployment as well as any specific to the document library the file is stored in. You can start any of these workflows from right within the Office document. &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;o:p&gt;&lt;FONT size=3 face=Calibri&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;A href="http://s211.photobucket.com/albums/bb79/punctuationprecise/?action=view&amp;amp;current=blogpic7.jpg" target=_blank&gt;&lt;IMG border=0 alt=Photobucket src="http://i211.photobucket.com/albums/bb79/punctuationprecise/blogpic7.jpg"&gt;&lt;/A&gt; 
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;For the out of the box workflows, this will open up a window within Office to enter any required information, for example, the name of the person to approve the document. With custom workflows, clicking on start from this menu will take you directly to a SharePoint webpage for the workflow to initiate it. &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;o:p&gt;&lt;FONT size=3 face=Calibri&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;A href="http://s211.photobucket.com/albums/bb79/punctuationprecise/?action=view&amp;amp;current=blogpic8.jpg" target=_blank&gt;&lt;IMG border=0 alt=Photobucket src="http://i211.photobucket.com/albums/bb79/punctuationprecise/blogpic8.jpg"&gt;&lt;/A&gt; 
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;o:p&gt;&lt;FONT size=3 face=Calibri&gt;&lt;/FONT&gt;&lt;/o:p&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;Once the workflow has started, this will assign tasks to the appropriate people. These tasks will be associated to the document. When someone opens this document, SharePoint will check whether that person has a workflow task assigned to them. If they do, a notification is given at the top of the document stating the task and with a button labelled “edit this task.” &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;o:p&gt;&lt;FONT size=3 face=Calibri&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;A href="http://s211.photobucket.com/albums/bb79/punctuationprecise/?action=view&amp;amp;current=blogpic9.jpg" target=_blank&gt;&lt;IMG border=0 alt=Photobucket src="http://i211.photobucket.com/albums/bb79/punctuationprecise/blogpic9.jpg"&gt;&lt;/A&gt; 
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;o:p&gt;&lt;FONT size=3 face=Calibri&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;If the workflow is one of the out of the box ones, a window will open up within Office to complete the task, otherwise, you will be taken to a SharePoint webpage to complete the task. &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;o:p&gt;&lt;FONT size=3 face=Calibri&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;A href="http://s211.photobucket.com/albums/bb79/punctuationprecise/?action=view&amp;amp;current=blogpic10.jpg" target=_blank&gt;&lt;IMG border=0 alt=Photobucket src="http://i211.photobucket.com/albums/bb79/punctuationprecise/blogpic10.jpg"&gt;&lt;/A&gt; 
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;o:p&gt;&lt;/o:p&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;So, if using the out of the box workflows, you can complete tasks from within Office without ever needing to open up a SharePoint page. With custom workflows, you can be alerted to tasks and directed to exactly the right place to complete your assigned tasks. You don’t need to check back with a SharePoint site to know what work you’ve got to do or navigate through task lists to do what’s required. &lt;/FONT&gt;&lt;/P&gt;&lt;FONT size=3 face=Calibri&gt;Users get to stay within Office as much as possible and so experience an interface they're familiar with. This can mean significantly lower training costs and much greater product uptake from within the organisation. &lt;/FONT&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3248813" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/jessmeats/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/document/default.aspx">document</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/libraries/default.aspx">libraries</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/MOSS2007/default.aspx">MOSS2007</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/WSS+3.0/default.aspx">WSS 3.0</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/workflows/default.aspx">workflows</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/MOSS+2007/default.aspx">MOSS 2007</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/Office/default.aspx">Office</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/Word/default.aspx">Word</category></item><item><title>InfoPath Introduction Part 6</title><link>http://blogs.technet.com/jessmeats/archive/2009/04/09/infopath-introduction-part-6.aspx</link><pubDate>Thu, 09 Apr 2009 13:34:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3224395</guid><dc:creator>JessMeats</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/jessmeats/comments/3224395.aspx</comments><wfw:commentRss>http://blogs.technet.com/jessmeats/commentrss.aspx?PostID=3224395</wfw:commentRss><description>&lt;P&gt;Continuing my introduction series, this demo shows InfoPath working with SharePoint workflows. &lt;/P&gt;
&lt;OBJECT width=425 height=344&gt;&lt;PARAM NAME="movie" VALUE="http://www.youtube.com/v/3SWAoXnthew&amp;amp;hl=en&amp;amp;fs=1&amp;amp;"&gt;&lt;PARAM NAME="allowFullScreen" VALUE="true"&gt;&lt;PARAM NAME="allowscriptaccess" VALUE="always"&gt;
&lt;embed src="http://www.youtube.com/v/3SWAoXnthew&amp;hl=en&amp;fs=1&amp;" mce_src="http://www.youtube.com/v/3SWAoXnthew&amp;hl=en&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/OBJECT&gt;
&lt;P&gt;Data entered&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3224395" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/jessmeats/archive/tags/MOSS2007/default.aspx">MOSS2007</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/forms/default.aspx">forms</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/infopath/default.aspx">infopath</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/InfoPath+2007/default.aspx">InfoPath 2007</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/Introduction/default.aspx">Introduction</category><category domain="http://blogs.technet.com/jessmeats/archive/tags/workflows/default.aspx">workflows</category></item></channel></rss>