问题
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