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

本文探讨了在开始编写代码之前,如何通过了解SharePoint工作流的特点来规划业务流程。重点介绍了工作流围绕文档或列表项运行及驱动人员任务的能力,并讨论了如何利用这些特性进行有效设计。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

 

 

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 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值