简体   繁体   English

SharePoint 2010中的工作流入门

[英]Getting started with Workflows in SharePoint 2010

I'm a starting sharepoint developer asked to implement the following scenario in sharepoint 2010. We're a bit lost on the best approach to get started.. I'm really struggling to find the best practise solution. 我是一个开始的sharepoint开发人员,要求在sharepoint 2010中实现以下场景。我们在开始的最佳方法上有点迷失。我真的很难找到最佳实践解决方案。

This is the requested flow: 这是请求的流程:

  • A user can make a request with a title and a description. 用户可以使用标题和描述发出请求。
  • A mail gets sent to the representative with a link to a form. 邮件将通过表单链接发送给代表。
  • A representative can approve or reject the request. 代表可以批准或拒绝该请求。
    • If approved: A mail gets sent to Board with a link to form 如果获得批准:邮件将通过表单链接发送给董事会
    • If rejected: A mail gets sent to the user with the message that it has been rejected. 如果被拒绝:邮件将被发送给用户,并显示邮件已被拒绝。
  • when the request was approved by the representative, the board can approve or reject the request. 当代表批准该请求时,董事会可以批准或拒绝该请求。
  • A mail gets sent to the user and the representative with the descision of the board. 邮件被发送给用户和代表与董事会的决定。

So the list has the following fields: 所以该列表包含以下字段:

  • Request title 请求标题
  • Request description 请求说明
  • Representative approval 代表批准
  • Representative description 代表说明
  • Board approval 董事会批准
  • Board description 董事会描述

The user should see the following form: 用户应该看到以下形式:

  • Request title (editable) 请求标题(可编辑)
  • Request description (editable) 请求说明(可编辑)

The representative should see the following form: 该代表应看到以下表格:

  • Request title (read-only) 请求标题(只读)
  • Request description (read-only) 请求说明(只读)
  • Representative approval (editable) 代表批准(可编辑)
  • Representative description (editable) 代表性描述(可编辑)

The Board should see the following form: 理事会应看到以下表格:

  • Request title (read-only) 请求标题(只读)
  • Request description (read-only) 请求说明(只读)
  • Representative approval (read-only) 代表批准(只读)
  • Representative description (read-only) 代表说明(只读)
  • Board approval (editable) 董事会批准(可编辑)
  • Board description (editable) 董事会描述(可编辑)

My questions: 我的问题:

  • What tool is most appropriate for making the forms? 什么工具最适合制作表格? Infopath? InfoPath中? SPD? SPD? VS2010? VS2010? How do I handle rights to make sure only the board can access the board edit form? 如何处理权限以确保只有董事会可以访问董事会编辑表格?
  • What kind of workflow do I use? 我使用什么样的工作流程? When do I start the workflow(s)? 我什么时候开始工作流程? What do I use to develop the workflow(s)? 我用什么来开发工作流程?
  • How do I handle rights when showing the listview with all requests? 在显示包含所有请求的列表视图时,如何处理权限?
  • How can I build the links in the mails sent to the different groups. 如何在发送给不同组的邮件中构建链接。

Thanks in advance for any advice. 提前感谢任何建议。

Regarding some of your questions.... I am not 100% sure, but in the 2007 version, InfoPath was an enterprise function. 关于你的一些问题....我不是100%肯定,但在2007版本中,InfoPath是一个企业功能。 So the use of InfoPath may be a function of the version you have (Foundation vs 2010 Enterprise). 因此,InfoPath的使用可能与您拥有的版本(Foundation vs 2010 Enterprise)有关。

SPD may be a good start for you, especially since you can now export your SPD developed workflows and import them into VS 2010 to update the functionality. SPD可能是一个良好的开端,特别是因为您现在可以导出SPD开发的工作流并将其导入VS 2010以更新功能。

Regarding the board editing... Based on your security implementation (FBA vs AD) you probably want to do some kind of role check on the load of the edit form. 关于电路板编辑...根据您的安全实现(FBA与AD),您可能希望对编辑表单的负载进行某种角色检查。 I would probably start by having a ASPX form (not Infopath) that you can determine the type of user you have. 我可能首先要有一个ASPX表单(不是Infopath),你可以确定你拥有的用户类型。 Based on the user, you can display or not display appropriate fields and fire up event handlers to buttons as need be. 根据用户,您可以显示或不显示相应的字段,并根据需要启动事件处理程序到按钮。

I would most likely start with a sequential workflow since you do not have numerous steps that need to be worried about. 我很可能从顺序工作流开始,因为您没有需要担心的众多步骤。 State Workflows are for more complex implementations. State Workflow用于更复杂的实现。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM