c# - How to get the Activities of a Workflow from within the rehosted WorkflowDesigner -


in rehosted workflow, if have variable of type of workflowdesigner, , create workflow within (from ui), how list of activities later programmatically?

so input instance of workflowdesigner , desired output programmatically list of activities within workflow in c# of course.

i take book, url , hints. confused between modelservice , modelitem , sequence , activity , activitybuilder. have been looking @ msn documentation no avail.

thanks.

  found answer :    ienumerable<modelitem> xyz = modelservice.find(modelservice.root, typeof(activity)); 

http://social.msdn.microsoft.com/forums/vstudio/en-us/124c9199-c23c-469c-93c5-309f097dc92e/how-to-get-modelitem-collection-from-the-workflowdesigner


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

c++ - Clear the memory after returning a vector in a function -

erlang - Saving a digraph to mnesia is hindered because of its side-effects -