Building Permit Application Solution: SharePoint Designer Workflow

This is the fourth installment in a series about the building permit application, an end-to-end solution built entirely with the 2007 Microsoft Office release. The previous post identified the new InfoPath e-mail attachment options. This post focuses on workflow logic.

Microsoft Office SharePoint Designer 2007 enables site administrators to create workflow logic for any SharePoint list. Within the Workflow Designer, users can specify action sets—which contain conditions and actions—without having to write any custom code.

For the building permit application solution, a workflow is associated with the document library where the form is published. In the first page of the Workflow Designer, the Building Permit Application document library is selected as the SharePoint list to which the workflow is attached. In addition, the options to start the workflow when an item is created or changed are both selected, as shown in the following figure:



If you recall from an earlier post, the RoleID node in the InfoPath form is used to identify the role of the current user. The RoleID node value is updated by the workflow based on the values of certain promoted fields. Note though that the workflow will start every time an item is changed. So, when the action to set the RoleID value is executed, the workflow is triggered again.

In order to prevent the workflow from firing repeatedly after a file is updated, the InfoPath form's Processing node value is used in each action set. The Processing Boolean is set to true (or Yes) during the InfoPath form's submit operation. In the workflow, an evaluation of the Processing node is included in the list of conditions for each action set. Then, in the corresponding action, the Processing node is set to false (or No). The following figure shows how the Processing node is used in each of the workflow action sets:



In addition to setting form field values, the workflow performs other actions such as sending dynamic e-mail messages and copying items to the Archived Building Permit Applications document library. In my next post about this solution, I will show how form conversion for archiving is enabled for the Archived Building Permit Applications document library.

Print | posted on Tuesday, June 27, 2006 12:44 PM

Feedback

# Building Permit Application Solution: Archival Policy

Left by Inside David's Head at 6/30/2006 9:17 AM
Gravatar This is the fifth installment in a series about the building permit application, an end-to-end solution built entirely with the 2007 Microsoft Office release. The previous post described how routing logic was developed with SharePoint Designer. This post focuses on the creation of an archival policy...

# Building Permit Application Solution: Archival Policy

Left by Inside David's Head at 8/31/2006 2:38 PM
Gravatar This is the fifth installment in a series about the building permit application, an end-to-end solution built entirely with the 2007 Microsoft Office release. The previous post described how routing logic was developed with SharePoint Designer. This post focuses on the creation of an archival policy...

# re: Building Permit Application Solution: User Roles

Left by Inside David's Head at 8/31/2006 3:08 PM
Gravatar

# re: Building Permit Application Solution: SharePoint Designer Workflow

Left by Mike Knuth at 9/25/2006 7:46 AM
Gravatar Is this solution actually available somewhere to download? I see this building permit application referenced in several places and I was wondering if that was a sample that was generally available.

Thank you.

# re: Building Permit Application Solution: SharePoint Designer Workflow

Left by David Gerhardt at 9/25/2006 8:15 AM
Gravatar Hi, Mike.

This solution is not available for download now, but it should be soon in the next issue of the Beta Experience Newsletter (http://www.microsoft.com/betaexperience/enus/newsletter.aspx). It would have been available in the previous issue had there not been a last-minute change that resulted from a feature cut.

Regards,
David

# Updating List Items with SharePoint Designer

Left by Inside David's Head at 10/26/2006 10:39 AM
Gravatar A few months ago I wrote about how a Microsoft Office SharePoint Designer 2007 workflow can be used to update SharePoint list items. In that post the workflow logic that was described was attached to a specific document library, and the Update List Item action was used to set field values for files in that library. I have since found out that Office SharePoint Designer 2007 workflow functionality can extend to other SharePoint lists...

# Updating List Items with SharePoint Designer

Left by Inside David's Head at 10/26/2006 10:41 AM
Gravatar A few months ago I wrote about how a Microsoft Office SharePoint Designer 2007 workflow can be used to update SharePoint list items. In that post the workflow logic that was described was attached to a specific document library, and the Update List Item action was used to set field values for files in that library. I have since found out that Office SharePoint Designer 2007 workflow functionality can extend to other SharePoint lists...

# re: Using Variables in SharePoint Designer Workflows

Left by Inside David's Head at 3/19/2007 9:54 AM
Gravatar

# re: Building Permit Application Solution: SharePoint Designer Workflow

Left by Adam Flenar at 6/13/2007 6:53 AM
Gravatar I found the solution and a tutorial for this. It is available here:

http://www.microsoft.com/betaexperience/nlarchive/bexp2/issue_5/BuildingPermitApplication.aspx

# re: Building Permit Application Solution: SharePoint Designer Workflow

Left by David Gerhardt at 6/14/2007 2:25 PM
Gravatar Yes, that is the lab that I authored for the Beta Experience newsletter.
Comments have been closed on this topic.

Copyright © David Gerhardt

Design by Bartosz Brzezinski

Design by Phil Haack Based On A Design By Bartosz Brzezinski