SharePoint 和工作流程
使用 MOSS 2007(这个问题可能也适用于 WSS,但我目前正在 MOSS 中工作)是否可以在网站集中的每个页面列表上拥有相同的工作流程?
我们正在部署一个具有基本两阶段审批者工作流程的网站,因此我不会开发自定义工作流程,只是使用现有的审批者工作流程,但有 2 个审批组按顺序工作(请参阅此博客文章:http://www.sharepointblogs .com/tommysegoro/archive/2008/08/18/configuring-sharepoint-moss-2007-multi-stage-approval-workflows.aspx)。
问题是,当您创建发布网站时,它会(默认情况下)获得单个审批者工作流程,而不是我想要的。
我可以在整个网站集和任何子网站集上强制执行工作流吗? 或者我是否需要创建自己的站点模板(甚至可以在部署时定义工作流程吗?)?
编辑
只是为了澄清一下,我希望能够创建一个新的 MOSS 发布网站,该网站对 SharePoint 中开箱即用的标准审批者工作流程进行了一些细微的修改。 我不想部署不同工作流程,只需修改现有工作流程即可。
创建发布网站时,您将获得“并行审批者”工作流,该工作流将工作流任务分配给名为“审批者”的组,并设置为并行运行工作流任务。 我需要更改组(添加一个新组)并将其设置为连续的。
With MOSS 2007 (the question is probably applicable to WSS as well but I'm working in MOSS at the moment) is it possible to have the same Workflow on every Pages list within the site collection?
We're deploying a site with a basic 2-stage approver workflow so I'm not developing a custom one, just using the existing Approver workflow but having 2 approval groups working sequientially (see this blog post: http://www.sharepointblogs.com/tommysegoro/archive/2008/08/18/configuring-sharepoint-moss-2007-multi-stage-approval-workflows.aspx).
The problem is that when you create a Publishing Site it gets (by default) a single approver workflow, not the one I want.
Can I have the workflow enforced across the site collection and for any child site collections? Or do I need to create my own site template (and can that even define the workflow as it's deployed?)?
Edit
Just to clarify, I'm wanting to have the ability to create a new MOSS publishing site which has some slight modifications to the standard Approver workflow which is out of the box within SharePoint. I'm not wanting to deploy a different workflow, just modify the existing.
When you create a Publishing Site you get a "Parallel Approver" workflow which assigns workflow tasks to a group called Approvers and is set to run the workflow tasks in parallel. I need to change the groups (add a new one) and set it to be sequential.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以创建一个功能,该功能在使用 SPFeatureReceiver 类激活时会将第二个工作流添加到页面库,并使用功能装订将该功能装订到现有的发布网站站点定义。
以下是有关使用功能事件接收器和功能装订的 MSDN 帖子:
http://msdn.microsoft.com/en-us/library/bb862634。 .aspx
http://msdn.microsoft.com/en-us/library/bb861862。 ASPX
You can create a feature which will add the second work flow to the Pages library when activated using the SPFeatureReceiver class, and staple that feature to the existing Publishing Site site definition using feature stapling.
Here are MSDN posts on using feature event receivers and feature stapling:
http://msdn.microsoft.com/en-us/library/bb862634.aspx
http://msdn.microsoft.com/en-us/library/bb861862.aspx