[英]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:
我的情况如下:
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: 基本上,您需要这样:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.