workflow-foundation-4visualization

How to visualizate workflows?


I am using windows workflow foundation in version 4. I want to ask if there is any way to simply show/visualize working workflow instance on the website using html5 and js. I dont want to use re-hosting designer. I found WorkflowInspectionServices class, but to be honest it is not so easy to extract workflow graph structure from that(different handling parallel activities or flowcharts). And is the workflow tracking system only way for discovering workflow instance state/progress?

Has anyone tried anything similar? Any ideas would be helpful.


Solution

  • The WorkflowDesigner is a WPF component so doesn't play well with HTML but as you din't want to use that I guess not very important although you could use it to generate an image of the workflow and display that in the browser. I am not aware of any viewer that turns an workflow definition into an HTML structure. XAML is just XML so it would certainly be possible but I doubt it would be a simple exercise to do as you would have to duplicate at least part of all the activity designers.