none
Custom FlowDecision designer

    Question

  • I want to create custom flowdecision designer and activity for it? do any one have any sample?

    thanks in advance

    Wednesday, August 25, 2010 4:29 AM

Answers

  • There's a blog series I did on getting the most basic parts of ICompositeView working, however, it was hard slog, I didn't get very far, and there's lots of bugs, so I don't think it has been that useful to people looking for a simple solution. (sample bug:

    http://social.msdn.microsoft.com/Forums/en-US/wfprerelease/thread/8d946fbf-0c6c-4a4d-8816-9c4b6000a4f7)

    Second option is downloading the State Machine source code from codeplex and using that as a basis for your own custom flowchart. It is a complex sample code but full of features and much less buggy. Of course you don't have to modify State Machine if State Machine already solves your problem. If you do want to modify it, or encounter bugs with it you might be able to get some support via this forum.

    [A last ditch option for those who want to be broken by future .net releases that I have seen people doing is interesting hacks in designer, like modifying the visual tree directly.]

    But in summary - there is no really easy way to add the custom flowdecision feature to flowchart.

    Tim

    Saturday, August 28, 2010 12:38 AM
    Moderator

All replies

  • Hi, you might want to read this old thread, or look up the state machine on wf.codeplex.com.

    Tim
    Friday, August 27, 2010 6:29 AM
    Moderator
  • Hi, you might want to read this old thread, or look up the state machine on wf.codeplex.com.

    Tim


    Hi Tim, i want the sample code. couldnt understand from codeplex.

    do you have sample code ?

    Friday, August 27, 2010 8:17 AM
  • There's a blog series I did on getting the most basic parts of ICompositeView working, however, it was hard slog, I didn't get very far, and there's lots of bugs, so I don't think it has been that useful to people looking for a simple solution. (sample bug:

    http://social.msdn.microsoft.com/Forums/en-US/wfprerelease/thread/8d946fbf-0c6c-4a4d-8816-9c4b6000a4f7)

    Second option is downloading the State Machine source code from codeplex and using that as a basis for your own custom flowchart. It is a complex sample code but full of features and much less buggy. Of course you don't have to modify State Machine if State Machine already solves your problem. If you do want to modify it, or encounter bugs with it you might be able to get some support via this forum.

    [A last ditch option for those who want to be broken by future .net releases that I have seen people doing is interesting hacks in designer, like modifying the visual tree directly.]

    But in summary - there is no really easy way to add the custom flowdecision feature to flowchart.

    Tim

    Saturday, August 28, 2010 12:38 AM
    Moderator
  • Thanks Tim. I tried with WorkflowViewElement. But that also is buggy. Will check your options.
    Monday, August 30, 2010 6:21 AM
  • Ok, probably much too late for Swagata, but if anyone is interested in making a sort of custom designer for a flow decision, here is a pretty good link I found:

    http://morganskinner.blogspot.co.il/2011/10/morphing-conditional-activities.html

    Hope this helps someone


    Say what?

    Tuesday, August 21, 2012 4:46 AM