Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Whats the purpose of Windows Workflow Foundation (WF)?

I have read about windows workflow foundation where people use this to model a business process, why not to use UML?

According to some answers, the workflow can be my domain?

What other tools are equivalent to the WF?

like image 551
Acaz Souza Avatar asked Dec 17 '11 19:12

Acaz Souza


2 Answers

Workflow foundation is an executable workflow - the framework includes an engine that executes the workflow.

It allows you to write parts of your workflow logic in code.

I suggest reading this developers introduction on MSDN.

UML doesn't do either thing - you can't use code as part of your UML or execute your UML workflows.

UML is intended as a documentation and communication tool.

Workflow Foundation is a software tool that is used for modelling and executing workflows.


Update, regarding suitability for modelling the domain.

Since the core of Workflow Foundation is to model workflows, that is what you should use it for. If you core domain is not workflows, you should model it in a more traditional manner. You can use Workflow Foundation to model the workflows of your model.

like image 95
Oded Avatar answered Oct 07 '22 11:10

Oded


When a program (process) needs to run for a long time and much of its time is spent waiting (for input, for a timeout, ...) it still consumes memory and CPU time. Windows Workflow Foundation is able to run such a program and swap it out to a persistent store (such as SQL Server) and activate it again when the process should continue.

The designer you are referring to is a nice way to draw the program instead of writing it in C#.

UML is a totally different 'thing' ('beast' if you like) it is a language for analyzing and designing processes and software.

like image 26
Emond Avatar answered Oct 07 '22 10:10

Emond