状态机工作流中的 SharePoint 修改表单

发布于 2024-07-06 21:11:28 字数 246 浏览 9 评论 0原文

我最近对 ​​SharePoint 状态机工作流程的工作感到困惑。 我希望向工作流程添加一些修改表单,以便我可以在任务状态下重新分配任务。 不幸的是,在我能找到的任何地方,似乎都没有记录与状态机工作流程一起使用的修改表单(尽管对于序列工作流程来说非常简单)。 ScopeHandlingActivity 及其关联事件处理程序的使用似乎与状态机不太吻合。

有没有人获得了在状态机工作流程中工作的修改表格,您是如何做到的?

谢谢!

I've been perplexed lately working on a SharePoint state machine workflow. I was hoping to add some modification forms to the workflow so that I could reassign a task while in its state. Unfortunately, modification forms don't seem to be documented for use with state machine workflows (pretty straight forward for sequence workflows though) anywhere that I can find. The use of the ScopeHandlingActivity and its associated event handlers don't seem to mesh well with the state machine.

Has anyone gotten modification forms to work in a state machine workflow and how did you go about doing it?

Thanks!

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

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

发布评论

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

评论(2

情绪 2024-07-13 21:11:55

首先,我知道这是一个超级旧的线程,但由于它在搜索引擎结果中的排名很高,我想我应该将解决方案放在这里。

您需要做的就是使用您的修改 GUID:

  1. 在工作流的初始状态中添加 EnableWorkflowModification 活动
  2. 将 EventDriven 活动添加到 WORKFLOW 范围。 这是设计模式中的最外边框
  3. 在该 EventDriven 活动中添加 OnWorkflowModification 活动

其他注意事项:

  • 标签中的 GUID 必须小写
  • 对将所有者设置为工作流本身的修改活动使用单独的令牌,以便它始终在

希望 范围内这个答案对将来的人仍然有用!

First, I know this is a super old thread but since it was high on the search engine results I figured I'd put the solution here.

All you need to do is this with your Modification GUID:

  1. Add EnableWorkflowModification activity in the workflow's Initial State
  2. Add EventDriven activity to the WORKFLOW scope. This is the outer most border in the Design mode
  3. Add OnWorkflowModification activity in that EventDriven activity

Additional Notes:

  • GUID in the tag MUST BE LOWERCASE
  • Use a separate token for the modification activities that have the owner set as the Workflow itself so it's always in scope

Hope this answer is still useful for someone in the future!

不及他 2024-07-13 21:11:50

为什么不直接修改任务形式并通过重新分配任务的可能性来扩展它?

Why don't you just modify task form and extend it by possibility to reassign task?

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