Drill down in free form designer or sequential workflow designer

Hello,

When using the State Machine workflow designer, after you add a supported activity (e.g. EventDriven) to a State activity, you can double click on the child activity and the State Machine workflow designer will update; all the top level states will be hidden and the user sees just those activities that are children of the selected activity (e.g. EventDriven). For example, if you have a State Machine workflow with five State activities, and the first state Activity contains a StateInitialization and an EventDriven activity, if you double click the EventDriven activity, the workflow designer will change, showing just the EventDriven activity and all of its children activites. This effectively provides a way to drill down on activities, as an alternative to the sequential workflow designer's notion of expanding and collapsing composite activities.

Is this ability possibile in the Sequential Workflow designer, if I extend the SequentialWorkflow class with my own class, and attribute this class with a DesignerAttribute of another class that extends SequentialWorkflowWithDataContextDesigner? Or is there any other way to achieve this? What about when the free form designer infrastructure is available in Beta 2; will it be possible to create similiar designer behaviour as what's availabe in the State Machine workflow designer?

Thanks,

Notre

[1394 byte] By [Notre] at [2007-12-18]
# 1

Anybody care to comment on this?

Notre

Notre at 2007-9-8 > top of Msdn Tech,Software Development for Windows Vista,Windows Workflow Foundation...
# 2
Notre I think it is very useful functionality for Sequential workflow designer but it is not avaiable at this moment and only MS people can answer you
NguyenVoLong at 2007-9-8 > top of Msdn Tech,Software Development for Windows Vista,Windows Workflow Foundation...
# 3

The free form designer improvements in WF Beta 2 are for the state machine designer only. Whilst it may be possible to create a container activity which shows a sub-workflow designer when you double click on it, this is not implemented in WF Beta 2.

Instead you can create a composite activity as a separate project item and use that in your workflow model. Or you can use the little plus symbol on a container activity to shrink the screen real estate it uses.

Regards,
Paul

PaulAndrew at 2007-9-8 > top of Msdn Tech,Software Development for Windows Vista,Windows Workflow Foundation...
# 4

Thanks for your reply Paul. I'm a bit confused by your comment:

Paul Andrews wrote:

The free form designer improvements in WF Beta 2 are for the state machine designer only

I've been under the impression that Beta 2 would offer a free form designer infrastructure that is quite different and separate from either the sequential workflow or the state machine designer. This is suggested in posts such as http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=162495&SiteID=1 and http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=159564&SiteID=1. Are you able to confirm whether Beta 2 will actually offer the free form designer suggested in these posts?

Thanks,

Notre

Notre at 2007-9-8 > top of Msdn Tech,Software Development for Windows Vista,Windows Workflow Foundation...
# 5

Now that the FreeFormActivityDesigner is available and there is a sample, I'd like to reiterate this question. How can I achieve the "drill down" effect of the statemachine diagram in my custom designer, based on FreeFormActivityDesigner? This goes back to the notion of paging and why this has advantages over the opening/collapsing behaviour as discuss an earlier post.

Notre

Notre at 2007-9-8 > top of Msdn Tech,Software Development for Windows Vista,Windows Workflow Foundation...

Software Development for Windows Vista

Site Classified