What is the purpose of the Windows Workflow Foundation (WF)?

I read about the foundation of the Windows workflow, where people use it to model a business process, why not use UML?

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

What other tools are equivalent to WF?

+4
source share
3 answers

The foundation of Workflow is an executable workflow. The framework includes an engine that performs the workflow.

It allows you to write pieces of workflow logic in code.

I suggest reading this developer introduction on MSDN.

UML does nothing - you cannot use code as part of your UML or execute your UML workflows.

UML is intended as a tool for documentation and communication.

Workflow Foundation is a software tool that is used to model and execute workflows.


Domain modeling suitability update.

Since the core of the Workflow Foundation is workflow modeling, you must use it for this. If the primary domain is not a workflow, you should model it in a more traditional way. You can use the Workflow Foundation to model the workflows of your model.

+7
source

When a program (process) has to run for a long time, and most of its time is spent waiting (for input, for a timeout ...), it still consumes memory and processor time. Windows Workflow Foundation can run such a program and change it to persistent storage (for example, SQL Server) and activate it again when the process continues.

The designer you are talking about is a good way to draw a program, rather than writing it to C #.

UML is a completely different thing (a "beast" if you want); it is a language for analyzing and designing processes and software.

+4
source

The Windows Workflow Foundation is a real runtime environment โ€” a real, tangible framework for running long C # programs that target the Microsoft CLR.

UML, on the other hand, is simply an abstract way of defining โ€œprogramsโ€ on paper, metaphorically. It is possible that someone could design a workflow in UML and then ask someone to execute it for WWF, i.e. Write the actual code or use UML for the XAML generator.

0
source

Source: https://habr.com/ru/post/1386854/


All Articles