手动启动 Sharepoint 工作流程
我们正在尝试使用 Sharepoint 实现以下目标:
向用户呈现一张表格,并由他们填写。单击“提交”后,Sharepoint 使用输入的信息运行工作流程,将文档复制到列表、生成报告等。
我们考虑通过让用户运行站点工作流程并将表单呈现为工作流程启动表单来实现此目的。然而,我们遇到的问题是,似乎没有一种简单的方法可以让用户运行工作流程并显示表单。
有没有一种简单的方法来运行特定的工作流程?我知道用户可以查看所有网站工作流程并使用网站操作 -> 运行它们查看所有网站内容->网站工作流程,但这对于我们的用户来说并不理想,他们只想填写表单并单击提交。
任何建议将不胜感激,我花了几个小时在这个网站上搜索信息,这看起来确实应该很容易做到。
We are trying to achieve the following using Sharepoint:
The user is presented with a form, which they fill out. Upon clicking 'submit', Sharepoint runs a workflow using the inputted information that copies documents to lists, generates reports etc.
We were thinking of achieving this by getting the user to run a site workflow, and presenting the form as a workflow initiation form. The problem we have, however, is that there doesn't seem to be an easy way for getting the user to run the workflow, and be presented with the form.
Is there an easy way to run a specific workflow? I'm aware that the user can view all the site workflows and run them using Site Actions -> view all site content -> site workflows, but this isn't ideal for our user, who only wants to fill out the form and click submit.
Any suggestions would be appreciated, I've spent hours googling and searching this site for info, and this does seem like something that should be easy to do.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
因此,您可以在用户提交表单时捕获该事件,然后从代码启动您的工作流程。要启动工作流,请遵循以下博客文章:启动 SharePoint 2010代码中的站点工作流程。
So you could catch the event when the user submits the form and then start your workflow from code. To start a workflow, follow this blog article: Starting SharePoint 2010 Site Workflows from code.