任务项上的共享点工作流未启动

发布于 2024-08-15 15:35:24 字数 870 浏览 8 评论 0原文

我有以下场景:

  • 一个工作流程与一个项目列表关联,
  • 该工作流程为不同的人创建各种任务,
  • 因为监视该工作流程中每个任务项目的 dueDate 非常复杂,我 我想我会创建一个与任务列表相关联的新工作流程,其中有非常简单的逻辑,只是为了在任务截止日期临近时发送电子邮件

但是(当然,对于 Sharepoint,总是有一个但是!),尽管我可以将第二个工作流程关联到第一个工作流程的任务列表,它不会自动启动, 我也无法手动启动它们,因为 ECB 菜单上甚至没有用于此类任务的工作流程项。

它确实适用于正常的任务内容类型,但不适用于我用于工作流程任务的内容类型。我的内容类型源自 Sharepoint 任务内容类型。

更新:我尝试将工作流程添加到内容类型本身,然后收到此错误: “工作流可能不会与基于‘WorkflowTask’的内容类型相关联”

有什么想法或解决方法吗?

更新:根据office.microsoft.com上的文章 - http:// office.microsoft.com/en-us/sharepointdesigner/HA102376561033.aspx#2 这应该是可能的:

“例如,假设每次 新文档已添加到您的 审查文档库,a 在该库上运行的工作流程 创建一个任务来审阅文档 在您的任务列表中。您可以创建一个 任务列表中的辅助工作流程 在到期日设置一个值 每项新任务的领域。 ”

感谢您的帮助!

I have the following scenario:

  • a workflow is associated with an item list
  • this workflow creates various tasks for different people
  • since it is quite complex to monitor dueDate for each task item in this workflow, I
    thought I'd create a new workflow that would be associated with the task list and have very simple logic in it, just for emailing when a dueDate approaches on a task

However (of course with Sharepoint, there is always an however!), although I can associate the second workflow to a task list of the first workflow, it does not start automatically,
Nor can I start them manually, as there is even no Workflows item on the ECB menu for these kinds of tasks.

It does work on a normal Task content type, just not on the content type that I use for my workflow tasks. My content type derives from the Sharepoint task content type.

Update: I've tried adding a workflow to the content type itself and then I get this error:
"Workflows may not be associated with content types whose base is on 'WorkflowTask'"

Any ideas why this is or any workarounds?

Update: according to article on office.microsoft.com - http://office.microsoft.com/en-us/sharepointdesigner/HA102376561033.aspx#2 this should be possible:

"For example, suppose that each time a
new document is added to your
Documents for Review library, a
workflow running on that library
creates a task to review the document
in your Tasks list. You can create a
secondary workflow on the Tasks list
that sets a value in the Due Date
field of each of those new tasks. "

Thank you for your help!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

紅太極 2024-08-22 15:35:24

在系统帐户下运行的工作流无法触发辅助工作流。这是 SP1 中给出的安全修复程序

这就是问题所在,相信我,我遇到过它:)...

希望这会有所帮助...

A workflow running under the system account cannot trigger a secondary workflow. This was Security Fix given in SP1

This is the problem, believe me, I faced it :)...

Hope this helps...

煞人兵器 2024-08-22 15:35:24

对我来说听起来像是一个硬编码的限制。这种并行方法在 SharePoint 中确实非常复杂,尝试使用辅助列表来同步所有任务(当任务完成时向该列表添加新项目,同时还更改原始项目上的某些内容),并且原始项目将有一个OnChange 类型的行为,用于检查所有触发的任务是否已完成和/或哪些任务接近截止日期。

Sounds like a hardcoded limitation to me. This kind of parallel approach is indeed very complicated in SharePoint, try having a secondary list to sync all the tasks (add new items to that list when a task is completed while also changing something on the original item) and the original item will have a OnChange type of behavior to check if all the fired tasks are completed and/or what tasks are close to the due date.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文