UML WF

This next question is actually outside of this thread but along the same lines. Microsoft has moved away from UML yet many apps in the market were modeled with UML. It seems the workflow in WWF is simular to dynamic diagrams like activity diagrams. Is there any easy or theoretical transform from UML diagrams (?through XMI) to workflow diagrams?
[352 byte] By [mmarsh] at [2007-12-17]
# 1

This could be an interesting discussion. As I see it UML and Workflow are providing different value to software developers. So I wouldn't ask the question of how to convert from one to the other since there's an inherent impedance mismatch. I'm not saying it can't be done, just that it would be hard, probably incomplete and represents a different way of thinking about software development.

UML provides a common language for software designers as they structure their ideas about the archtiecture and design of a software project. The primary focus of this common language is to aid the people involved in the business process to understand the problem that they are solving. The design is structured so that it can be easily implemented in software and as a later step the completed design can be used to generate code. The code generation from UML is generally secondard however to the use of the UML for discussion and collaboration between the people involved in software design.

Workflow gives us a runtime and the designer that we provide allows developers to create workflow models that can be executed on that runtime. The primary focus of the designer is to provide editing functionality for the executable aspects of a workflow model. The workflow model is build to allow executable parts of the workflow including state management and execution management to be represented. A workflow model could be used as a common language for software designers as they structure their ideas about the architecture of a software project. But that's not the primary focus of the technology.

The more interesting question to me would be, "how can I generate workflow models from a UML dynamic diagram?"

PaulAndrew at 2007-9-9 > top of Msdn Tech,Software Development for Windows Vista,Windows Workflow Foundation...
# 2
..."The design is structured so that it can be easily implemented in software and as a later step the completed design can be used to generate code. The code generation from UML is generally secondard however to the use of the UML for discussion and collaboration between the people involved in software design."...

The use of MDA tools to convert PIM's (platform independent models) to PSM (platform specific models) is interesting but in practice hard to keep the discipline of maintaining models after the coding has begun. Models and code can quickly go out of sync especially in terms of dynamic models. In addition the domain specific nature of many projects mitigates benefits of UML, as the Software Factory folks argue.

The question of converting UML dynamic diagrams through MDA into workflow models, I think in practice, suffers from the round tripping problems for dynamic diagrams. Everyone can round trip class diagrams. There is one tool out there I know of that attempts to reverse engineer dynamic diagrams. Once code starts, I think, the dyanamic diagrams become a reference or documentation rather than a live member of the developement project.

..."The workflow model is build to allow executable parts of the workflow including state management and execution management to be represented. A workflow model could be used as a common language for software designers as they structure their ideas about the architecture of a software project. But that's not the primary focus of the technology."...

Another thought is to have WF, VS 2005 Class designer, and Software Factories as a replacement of UML.

Most of the UML dynamic or "behavioral" diagrams (state, activity, collaboration, communication, sequence, timing, and interaction) can be viewed as a workflow for different perspectives. Rules might be considered the superset analog to OCL (object contraint language).

The idea is to have WF designer to the utlize the visual motifs of UML to get different views of a workflow. WF and class designer would then replace UML as a design, documentation, and "code generation" tool. WF, as opposed to UML/MDA, is closer or rather on the pavement. This assumes a philosophy that everything is essentially workflow and rules. Design of a software project may not be the primary focus of WF but it may be an extension.

I want to apologize after the fact. I am a non-technical stakeholder who has gone through the UML-MDA process. I liked the idea of MDA, in that you have the most skilled persons, i.e. architects, control the process. In practice, the UML-MDA paradigm requires great discipline that generally disipates in the heat of battle.

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

Software Development for Windows Vista

Site Classified