Questions tagged [workflow-foundation-4]

Windows Workflow 4 is Microsoft's framework for declarative composable business logic for .NET.

Windows Workflow Foundation (WF) is a Microsoft technology that provides an API, an in-process workflow engine, and a rehostable designer to implement long-running processes as workflows within .NET applications. The current version of WF was released as part of the .NET Framework version 4 and is referred to as (WF4).

A workflow is a series of distinct programming steps or phases. Each step is modeled in WF as an Activity. The .NET Framework provides a library of activities (such as WriteLine, an activity that writes text to the console or other form of output). Custom activities can also be developed for additional functionality. Activities can be assembled visually into workflows using the Workflow Designer, a design surface that runs within Visual Studio. The designer can also be hosted in other applications. Encapsulating programming functionality into activities allows the developer to create more manageable applications; each component of execution can be developed as a Common Language Runtime object whose execution will be managed by the workflow runtime.

1640 questions
125
votes
8 answers

To Workflow or Not to Workflow?

I am responsible for a team of developers who will are about to start development of a light weight insurance claims system. The system involves a lot of manual tasks and business workflows and we are looking at using Windows Workflow (.NET 4.0).…
Kane
  • 16,471
  • 11
  • 61
  • 86
40
votes
3 answers

Windows Workflow Foundation 4 and ASP.NET MVC

We are evaluating Windows Workflow Foundation 4 to use in MVC 3 based Web Applications. We would like to create flexible order workflows for different projects. Does anybody know good information about the general architecture or hands-on-labs for…
slfan
  • 8,950
  • 115
  • 65
  • 78
38
votes
5 answers

A strong case for WF

I have struggled for so long to find a compelling use case for workflow (ie: WF) as against regular imperative programming. Each time I fall back to the conclusion that I should just leave WF out or defer getting into it until later. But I keep…
Pita.O
  • 1,864
  • 1
  • 19
  • 27
33
votes
5 answers

Windows Workflow Foundation 4.0 Tutorials / Introductions

Pretty much all of the tutorials/introductions to Windows Workflow Foundation seem to be targeted at versions prior to 4.0, or are somewhat simplistic and don't really show me anything about WHAT the real strengths of Workflows are. Could someone…
Rob
  • 45,296
  • 24
  • 122
  • 150
33
votes
2 answers

How to get service reference to generate correctly with message contracts based on 3rd party WSDL, or force no message contracts in WF Service project

I have a problem that given 3rd party WSDL I am able from a Console App to easily create a service proxy that works, but from a WF4 WF service I am not. The generated proxy in the latter case is clearly buggy, involving specifically 2 problems: a)…
Sentinel
  • 3,582
  • 1
  • 30
  • 44
22
votes
2 answers

Windows workflow 4 : difference between WorkflowApplication Cancel, Terminate and Abort

Can any one explain what the difference is between the following methods of WorkflowApplication: Abort Cancel Terminate
rekna
  • 5,313
  • 7
  • 45
  • 54
21
votes
1 answer

WF4 - Display workflow image in asp.net and highlight an activity

I need to display current status of a document approval workflow task in asp.net web page with a specific activity highlighted. I have seen the Visual workflow tracker example (in wf & wcf samples) but I have two issues, I have to render workflow…
mudasar
  • 319
  • 2
  • 6
19
votes
3 answers

Service Bus Workflow Activities

I would like to access Service Bus Queues and Topics from Workflows with some specific activities. I couldn't find anything fitting this scenario (this MSDN article and this article by Roman Kiss) are the nearest one. I would like to design a custom…
fra
  • 3,488
  • 5
  • 38
  • 61
15
votes
2 answers

WF 4 or BizTalk 2010?

I've got a question - BizTalk or WF? And let me clarify that I realize the analogous technologies behind the first three artifacts, and realize I could build them, but I don't find that they are built-in to WF and so I'm trying to understand why I…
15
votes
1 answer

IObservable<> missing .Subscribe extension methods

I'm using RX extensions and WF4 to create a workflow which reacts to observable messages to progress the workflow. To do this, I bring in an object containing an IObservable (ModuleMessage being my abstract class.) The problem I'm having is that…
Sprague
  • 1,610
  • 10
  • 22
13
votes
4 answers

How to correctly load a WF4 workflow from XAML?

Short version: How do I load a WF4 workflow from XAML? Important detail: The code that loads the workflow shouldn't need to know beforehand which types are used in the workflow. Long version: I am having a very hard time loading a WF4 workflow from…
Daniel Hilgarth
  • 171,043
  • 40
  • 335
  • 443
12
votes
1 answer

Dependency injection / IoC in Workflow Foundation 4

Is it possible to use DI in your workflow activities? and if yes, how? For example if you have an activity like public sealed class MyActivity : CodeActivity { public MyClass Dependency { get; set; } protected override void…
12
votes
7 answers

Please confirm: Is Windows Workflow Foundation a good horse to be backing right now?

We are in the process of selecting a workflow solution for a company that uses Microsoft products end to end. Given the news on WF4, in that it seems to be essentially a rewrite of previous versions, is it a wise move to back the current version or…
KevinT
  • 3,094
  • 4
  • 26
  • 29
11
votes
2 answers

What's the best design for a web app that adopts WF?

We are currently building an application that makes use of a non-simple approval process, which involves multiple levels of approval, returning, reviewing, notifications etc.. Because of the said requirement, we were asked to make use of a workflow…
Mel
  • 3,058
  • 4
  • 26
  • 40
11
votes
3 answers

Binding data to Combobox in custom activity designer

I have a custom activity, with a single in argument which is a string. However, rather than allow the designer to enter an arbitrary string, I want the designer to be presented with a Combobox with the list of options, the options are dynamic and…
Chris Taylor
  • 52,623
  • 10
  • 78
  • 89
1
2 3
99 100