Sharepoint 工作流程修改未禁用
我正在研究 Sharepoint Server 2007 状态机工作流程。 到目前为止,我有一些状态和一个使用 InfoPath 2007 创建的自定义 Association/InitiationForm。此外,我还有一些修改表单。 我在删除工作流程状态页面中的修改链接时遇到问题。
我有一个状态,并且在该状态的初始化块中出现我的 EnableWorkflowModification 活动。 因此,在状态开始时,修改处于活动状态。 在同一状态下,我有一个 OnWorkflowModification 活动,它捕获由 EnableWorkflowModification 活动引发的事件。 在此状态之后,我的修改结束,链接应该在状态页面中消失。 但这种情况并非如此。 两个活动具有相同的关联令牌(修改)和相同的所有者(拥有状态)。 有人知道为什么链接没有被删除以及如何删除修改链接吗?
提前谢谢你,斯特凡!
I am working on a Sharepoint Server 2007 State machine Workflow. Until now I have a few states and a custom Association/InitiationForm which I created with InfoPath 2007. In Addition I have a few modification forms. I have a Problem with the removing of the modification link in the state-page of my workflow.
I have a state and in the initialize block of this state my EnableWorkflowModification Activity appears. So at the beginning of the state the modification is active. In the same state I have an OnWorkflowModification activity, which catches the event raised by the EnableWorkflowModification activity. After this state my modification is over and the link should disappear in the state-page. But this is not the case.
Both activities have the same correlation token (modification) and the same owner (the owning state).
Has anybody an idea why the link is not removed and how to remove the modification link?
Thank you in advance, Stefan!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您是否检查过 OnWorkflowModification 事件处理程序实际上正在触发? 尝试调试或添加一些事件日志跟踪以确保它是正确的。 我在 OnWorkflowItemChanged 事件处理程序中遇到了类似的问题。
Have you checked the OnWorkflowModification event handler is actually firing? Try debugging or adding some eventlog traces to make sure it is. I've run into similar issues with OnWorkflowItemChanged event handler.
确保 eventHandlingScopeActivity 中具有enableWorkflowModification 和 onWorkflowModified,并将其设置为每个的 OwnerActivityName。
Make sure you have the enableWorkflowModification and onWorkflowModified inside an eventHandlingScopeActivity, and set that as the OwnerActivityName for each.