简体   繁体   English

如何:使用自定义列表共享点工作流

[英]How to: sharepoint workflow with custom list

I want to develop a workflow for sharepoint linked to a custom list. 我想为链接到自定义列表的共享点开发工作流。 The work flow will be based on a field of the list that represents the state. 工作流程将基于代表状态的列表字段。 I have looked for good tutorials on the Internet, but I can't find out one that is ok for me. 我已经在互联网上寻找了不错的教程,但是找不到适合我的教程。 My scenario is as follows: 我的情况如下:

  • As a new item of the list is created, the workflow should start. 创建列表的新项目后,工作流应启动。
  • In the next steps the user will be asked to fill in a form, submitting the form will make the workflow go on. 在接下来的步骤中,将要求用户填写表格,提交表格将使工作流程继续进行。

How can I make a form "communicate" with the workflow? 如何使表单与工作流“通信”?
Should this be achieved using a Modification form? 是否应该使用修改表格来实现?

Thank you. 谢谢。

I'm not sure you even need C# or Visual Studio. 我不确定您是否甚至需要C#或Visual Studio。

Check out the introduction to SharePoint Designer and Workflows . 查看SharePoint Designer和工作流的介绍。

Your workflow can run on any list - custom or not, doesn't matter. 您的工作流可以在任何列表上运行-自定义与否无关紧要。 The Workflow can actually run whenever the item it is running on has changed, which is exactly what you want: Whenever someone changes the "state" field, the workflow runs and does whatever it needs to do. 工作流实际上可以在运行的项目发生更改时真正运行,这正是您想要的:只要有人更改“状态”字段,工作流就会运行并执行所需的操作。

A good example of exactly this is the built in "Three State Workflow" - you only have to activate the feature. 内置的“三态工作流”就是一个很好的例子-您只需激活该功能。

Read up a bit on Workflows to propose a more detailed question. 阅读有关工作流的内容以提出更详细的问题。 There simply is no answer to your second question whether you should use state machine or sequence workflow - it depends on your use case. 对于您应该使用状态机还是序列工作流,您的第二个问题根本没有答案-这取决于您的用例。

Basically you want this: 基本上,您需要这样:

  1. Run Workflow automatically when item changed 项目更改时自动运行工作流程
  2. Check field "State" 检查字段“状态”
  3. Switch field state, if state = "teststate" do this, else do that. 切换字段状态,如果state =“ teststate”则执行此操作,否则执行该操作。

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

相关问题 通过SharePoint中的自定义顺序工作流调用工作流 - Invoke Workflow through Custom Sequential Workflow in SharePoint 如何在Workflow Sharepoint 2010中重新分配工作流程任务? - How to Reassign Workflow Tasks in Workflow Sharepoint 2010? SharePoint沙盒自定义工作流活动可基于多个条件从另一个列表中获取价值 - SharePoint Sandboxed Custom Workflow Activity to get value from another list based on multiple criteria 如何在Sharepoint上创建工作流应用 - How to create a workflow app on Sharepoint 无法在自定义工作流sharepoint 2010中发送电子邮件 - Cannot send Email in custom workflow sharepoint 2010 自定义Sharepoint工作流抛出“WinWF内部错误,终止工作流”错误 - Custom Sharepoint Workflow throwing “WinWF Internal Error, terminating workflow” error 如何保护SharePoint自定义列表中的数据 - how to secure data in sharepoint custom list 如何将事件接收器附加到 sharepoint 中的自定义列表? - how to attach an event receiver to a custom list in sharepoint? Sharepoint工作流程任务列表标题URL - Sharepoint Workflow Task List Title URL 获取实例化工作流的SharePoint列表数据? - Get SharePoint list data that instantiated workflow?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM