Welcome to MSDN Blogs Sign in | Join | Help

Developing Workflows in VS: Part 2 - Planning Your Workflow: Two Things to Keep in Mind

Before writing any code, a little planning to map your business process to SharePoint workflow can go a long way. The two most important things to keep in mind are that

a)      SharePoint workflows are document-centric, meaning they run process around a document or list item, and

b)      They are human-based, meaning that they can drive people process by assigning tasks, in addition to automated computational process.

How do these things help?  Well, knowing the capabilities and strengths of SharePoint workflow can help you plan the structure of the workflow’s surrounding SharePoint objects, what the workflow should do, and how it can get the information that it needs.  For example, since a workflow instance runs on an item, you have access to the content and fields on that item; do you want the workflow to manipulate metadata, and if so, what columns do you need? 

If you’re designing a workflow that doesn’t really “process” or route a single document, e.g. a workflow that involves reviewing a set of documents instead of just one, would it work to use items that link to those documents in a regular list instead of a document library as starting points for the workflow? 

If you need to drive people to do different tasks, where and when should tasks be assigned, and what data do you need to collect from those people when they complete their tasks? 

Also, workflows run as System Account (Administrator privileges) so that it can do things that ordinary people cannot, like creating audit entries.  Can you take advantage of this for any part of the process?

Once you have a sense of what your workflow needs to do, you can start the authoring process.

 

In the next entry, I'll be starting the Five Steps in Developing Workflows.:)  Next: Step 1: Model Your Workflow in VS 

-Eilene

Published Tuesday, November 21, 2006 9:00 AM by sptblog
Filed under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: Developing Workflows in VS: Part 2 - Planning Your Workflow: Two Things to Keep in Mind

Hi Eilene!

You write that workflows run as System Account. However, I noticed that when using MOSS B2TR (haven't got the RTM installed yet, but I'm on my way) that workflows are running as the user who started the workflow, at least from the point where the workflow is started until (if) it is suspended when it waits for an event or when a delay activity is running. When the workflow is reactivated (when the delay timer expires or event fires), it seems run as System Account.

Is this something that's changed in the RTM version or have I done something strange to experience this?

Tuesday, November 21, 2006 7:08 AM by Per Gårdebrink

# re: Developing Workflows in VS: Part 2 - Planning Your Workflow: Two Things to Keep in Mind

Coool, waiting for next step :)

Tuesday, November 21, 2006 9:51 AM by Masooma

# re: Developing Workflows in VS: Part 2 - Planning Your Workflow: Two Things to Keep in Mind

Hey Per!  This has always been the case, even for B2TR.  But there are some ways you can impersonate the user (I believe SPD workflows do this.)  How do you know that it's running as the user?

Tuesday, November 21, 2006 3:09 PM by Eilene Hao

# re: Developing Workflows in VS: Part 2 - Planning Your Workflow: Two Things to Keep in Mind

Very Interesting Post....:)

Read it 3 Times for Clear Understanding..

Looking for Next ARticle.:)

JERRY

Thursday, November 23, 2006 7:15 AM by Jerry

# Workflowentwicklung für SharePoint

Gestern hat das SharePoint Products und Technologies Team den vierten Artikel einer Serie zur Entwicklung

Monday, November 27, 2006 2:37 PM by XML is the glue...

# OnePage Workflow in SharePoint 2007

OnePage : der einfache Blick auf das Wesentliche - die wichtigsten Informationen zu einem Thema auf einer

Tuesday, November 28, 2006 4:11 AM by SharePoint, SharePoint and stuff

# Implementare un workflow con Sharepoint

Visto che mi avete chiesto info a riguardo vi giro i link alle prime 7 lezioni: Lezione 1 Lezione...

Monday, December 04, 2006 6:34 AM by Romeo Pruno

# OnePage Workflow in SharePoint 2007

OnePage : der einfache Blick auf das Wesentliche - die wichtigsten Informationen zu einem Thema auf einer

Tuesday, December 05, 2006 2:37 PM by SharePoint, SharePoint and stuff

# Creating Workflows with Visual Studio 2005 (Walkthrough)

Im not sure how many have found this yet but Eileen Hao has put together a Seven Part walkthrough with...

Thursday, December 07, 2006 12:24 PM by Bob Fox's Sharepoint Blog

# WF inside of SharePoint

I'm a little late to notice this, but Eilene Hao, a PM on the SharePoint Workflow team, has put together

Wednesday, December 13, 2006 4:51 PM by Matt W's Windows Workflow Place

# SharePoint 2007 workflow development

Encontrei esta compilação interessante de recursos sobre desenvolvimento de workflows para

Saturday, December 16, 2006 8:23 PM by Miguel Isidoro

# Start Learning Workflows!!

Wow such an exciting topic to learn!! its nice and fun yet its a bit difficult to grasp easily,,, This

Thursday, April 12, 2007 9:45 AM by Code Eater

# 2007 MOSS Resource Links (Microsoft Office SharePoint Server)

2007 MOSS Resource Links (Microsoft Office SharePoint Server) Here is an assortment of various 2007 Microsoft

Wednesday, September 12, 2007 11:13 AM by The Boiler Room - Mark Kruger, Microsoft SharePoint MVP

# Development--

Body: Application Development on MOSS 2007 & WSS V3 Beginning custom SharePoint development with

Tuesday, December 11, 2007 10:54 PM by Mirrored Blogs

# SharePoint resources

Gracias a Mark Kruger (SharePoint MVP) por esta lista de recursos de SharePoint donde podréis encontrar

Monday, February 18, 2008 10:20 AM by SharePoint mola

# SharePoint resources

Gracias a Mark Kruger (SharePoint MVP) por esta lista de recursos de SharePoint donde podréis encontrar

Monday, February 18, 2008 11:08 AM by SHAREPOINTBlogs.com Mirror

# Thanks to Lexis Nexis!

We are about to start a great day showing technologies like .NET 3.5, Visual Studio 2008, and SharePoint

Wednesday, April 30, 2008 7:40 AM by Kirk Allen Evans's Blog

# 应用SharePoint的Workflow须记住的10句话!

1)SharePoint的工作流是基于文档的工作流,只能关联到列表,文档库和内容类型上 2)SharePoint的工作流模板利用网站功能(Feature)来发布 3)SharePoint的...

Tuesday, September 23, 2008 11:11 PM by 晃晃悠悠

# 微软sharepoint产品组博客——使用VS进行工作流开发系列博客

最近的两个月一直在研究SharePoint的内容,从配置到开发,从配置,到sharepoint对象模型,webpart,eventhandler,workflow,contenttype,自定义字段...

Monday, November 24, 2008 12:33 AM by virus

# 使用VS进行工作流开发系列博客2-Developing Workflows in VS: Part 2 - Planning Your Workflow: Two Things to Keep in Mind

Monday, November 24, 2008 1:05 AM by virus

Leave a Comment

(required) 
required 
(required) 
 
Page view tracker