Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows Workflow Services - What are they?

I'm just beginning to learn Windows Workflow and am working through a book on the subject. I've seen several references to something called Workflow services. For example, the Model Service is one of them. What I haven't seen is a very good explanation as to what these services really are. Can someone help me with this?

like image 727
Hosea146 Avatar asked Jan 02 '12 15:01

Hosea146


People also ask

What is Windows Workflow Foundation used for?

Windows Workflow Foundation (WWF or WF) is a framework for creating and managing workflows within . NET applications. It treats each step of a process as an activity, working with a . NET library of activities and adding custom activities for other kinds of functionality.

Is Windows workflow still supported?

Windows Workflow Foundation - . NET Framework | Microsoft Learn. This browser is no longer supported. Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

What is the workflow?

A workflow is a system for managing repetitive processes and tasks which occur in a particular order. They are the mechanism by which people and enterprises accomplish their work, whether manufacturing a product, providing a service, processing information or any other value-generating activity.

What is Visual Studio workflow?

The Workflow Designer is a visual designer and debugger for the graphical construction and debugging of Windows Workflow Foundation (WF) applications in Visual Studio.


2 Answers

EditingContext Services are a set of services used by workflow designer hosting environment. They can provide very usefull information and functionality of your workflow designer. You are able to inject your service implementation to change a behavior, get information or be notified about designer changes.

Some examples on services and a brief explanation of each one:

  • IDesignerDebugView - Controls breakpoints, debug state, and source locations for debugging
  • IExpressionEditorService - Creates expression editors that can provide intellisense on Visual Studio(using .net VB stuff) and in rehosted scenarios.
  • IValidationErrorService - Used to show workflow validation messages in custom controls
  • ModelService - Raise events on designer changes, get workflow root and find itens. See more here

See this link for complete list of EditingContext services:

like image 57
Davi Fiamenghi Avatar answered Oct 06 '22 05:10

Davi Fiamenghi


A Workflow service is a WCF service implemented using a WF4 workflow. It typically starts with a Receive activity that is triggered when a SOAP message is received. When the workflow is ready to send a response to the client a SendReply activity is used. However the workflow is free to keep on running and can receive more events later on in its life.

like image 34
Maurice Avatar answered Oct 06 '22 07:10

Maurice