Can I view a diagram of my running Windows Workflow instance?

只谈情不闲聊 提交于 2020-01-06 05:47:34

问题


I have a windows workflow host with Persistence and Tracking services enabled. I would like to show my persisted/idling workflow instance as a Diagram (like in the visual studio workflow designer). Is there an easy way to do this?

Note that I would like to display this diagram in an Admin-like Web Interface that system administrators can use to view the state of a running workflow instance.


回答1:


You can rehost the designer. Not easy but doable. You could then colour/annotate the diagram's activities based on knowledge of workflow state via tracking. See here : http://msdn.microsoft.com/en-us/library/aa480213.aspx




回答2:


This link by Kirk Evans explains how to use an the Ajax Workflow Monitor to display the state of running instances on a web page. Looks promising!




回答3:


Go to this link and then click on the download sample...That will include a workflow monitor already created for you with windows forms.

Workflow Monitor



来源:https://stackoverflow.com/questions/1037291/can-i-view-a-diagram-of-my-running-windows-workflow-instance

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!