视觉跟踪/监控工作流程(WF) 4.0

发布于 2024-10-17 22:14:41 字数 461 浏览 7 评论 0原文

我计划使用 WF 4.0ASP.NET 4.0 中构建自定义 Web 应用程序,用户希望能够自己修改工作流程,为此我们将使用 WPF 客户端用户可以使用它,我们将重新托管工作流程,为此有很多博客和指南可用。

但我不确定如何满足用户想要查看/跟踪工作流程的视觉表示(图表/图像)的要求,描述哪些阶段已经结束,当前阶段是什么等这需要在网页上完成。可能是相同的工作流程,带有描述状态的图标。这与 SharePoint 2010 中 Visio 工作流可用的视觉效果类似。甚至 AgilePoint 工作流也提供了这样的视图。

类似的问题这里,但我猜它是针对WinForms/WPF的。我需要这个用于 ASP.NET。

有什么想法吗?

I am planning to build a custom web application in ASP.NET 4.0 using WF 4.0, the user wants ability to modify workflows himself, for this we will be using a WPF client which the user can use and we will do workflow re-hosting, lots of blogs and guidance is available for this.

But I am not sure how to the meet one requirement where the user wants to see/track a visual representation (diagram/image) of the workflow, depicting what stages are over, what is the current stage etc. This needs to be done on a web page. Possibly the same workflow with icons depicting status. This is something similar to the visual available for Visio workflows in SharePoint 2010. Even AgilePoint workflows provide such a view.

Similar question here, but its for WinForms/WPF I guess. And I need this for ASP.NET.

Any ideas?

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

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

发布评论

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

评论(2

唐婉 2024-10-24 22:14:41

有一个有趣的示例可能有用:AppFabric 参考实现:管理工作流服务的生命周期。它涉及重新托管设计器,并在此设计表面上显示状态,即。工作流程已经进展到什么程度。它基本上利用 AppFabric 监控存储中的数据格式来实现此目的。该示例是一个 winforms 应用程序,但相同的原则也适用于基于 Web 的场景。

There's an interesting sample that might be useful: AppFabric Reference Implementation: Managing the LifeCycle of a WorkFlow Service. It deals with re-hosting the designer, and showing state on this design surface, ie. how far the workflow has come. It basically utilizes the data format found in the AppFabric Monitoring store to achieve this. The sample is a winforms app but the same principles would apply in a web based scenario.

久而酒知 2024-10-24 22:14:41

我已经创建了自己的调试器实现,您可以在 WPF 工作流设计器中获得该调试器。最初的想法来自Andrew Zhu的书http ://xhinker.com/post/WF4Microsoft-Windows-Workflow-Foundation-40-Cookbook-is-available-now.aspx,我还使用reflector来看看IDesignerDebugView接口的实现是什么(http://xhinker.com/post/WF4Microsoft-Windows-Workflow-Foundation-40-Cookbook-is-available-now.aspx) /msdn.microsoft.com/en-us/library/system.activities.presentation.debug.idesignerdebugview.aspx),然后将其添加到我的重新托管的工作流设计器中。

我还没有找到一种很好的方法来将工作流设计器视图转换为图像以在网络上显示,我们目前将这方面作为 clickonce 应用程序提供。

I've created my own implementation of the debugger that you get in the WPF workflow designer. The original idea came from Andrew Zhu's book http://xhinker.com/post/WF4Microsoft-Windows-Workflow-Foundation-40-Cookbook-is-available-now.aspx, I also used reflector to see what the implmentation of the IDesignerDebugView interface (http://msdn.microsoft.com/en-us/library/system.activities.presentation.debug.idesignerdebugview.aspx), then added that to my rehosted workflow designer.

I have not found a nice way to convert the workflow designer view into an image to show on the web, we currently deliver this aspect as a clickonce application.

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