workflow-foundation

High Throughput and Windows Workflow Foundation

Can WWF handle high throughput scenarios where several dozen records are 'actively' being processed in parallel at any one time? We want to build a workflow process which handles a few thousand records per hour. Each record takes up to a minute to process, because it makes external web service calls. We are testing Windows Workflow Fou...

Implementing pure xaml workflows with some requirements

Hello, I'm currently charged of developing a way to use WF in our application and I have a set requirements that I need to follow. I need to be able to define the workflow purely on text so I can store it and retrieve it for execution. During the workflow execution a DataObject needs to be passed between the activities so they can per...

What are the restrictions on pure XOML workflows in WF (3.5)?

I'm trying to find out exactly what I can do and what I can't via no-code workflows. I'm trying to develop a solution where clients can author workflows without compilation, but need to check we can do all we need. I know I can't: use CodeActivities pass parameters in and out handle events CallExternalMethod, call web service etc (now...

Sharepoint Workflow Vs. WFF

The title is not very accurate. I am currently developing an addition to a site that allows multiple people to enter data. I need/want to use WFF, because the people will enter the data in a certain sequence. It is a customer complaint form. A salesman will fill out the initial form and submit the complaint. The complaint will be r...

Executing WorkflowInstance more then once.

If I have have a WorkflowInstance can I executed twice in a row? WorkflowInstance instance = workflowRuntime.CreateWorkflow(typeof(...)); instance.start(); instance.start(); When I do this I get and exception telling me that I don't have a persistence service configured. However my question is: after I execute the WorkflowInstance onc...

How to code hosting of the WF with WC 3.5 ReciveActivity in Windows Service (XP)?

I created a small VS solution that includes WF with WCF ReceiveActivity project (using basicHttpBinding) and a number of plain C# services. They all work perfectly when tested from VS 2008 using WCFTestClient. I deployed them into a single Windows Service. All but WF service work fine. I spent 6 hours browsing, but didn’t find a solu...

WF validation error at runtime

I have two workflow foundation (.NET 3.5 SP 1) application which compiles fine. It has two declarative rule conditions in it. Both are very simple, examples: - !this.Shutdown - this.Runtime == null The project builds correctly without error or warning, however when I run the application it fails with the exception: error 1342: Activity ...

Controlling WF persistence points transactions

I am using WF, and need to support transactions and persistence. I would like not to use the TransactionScopeActvity , but use my own transaction scope object, and still have a persistence point at the end which will be part of the transaction in the activity itself (similar to how the TransactionScopeActvity works on this aspect). I can...

Why use Windows Workflow?

What is the benefit of using Windows Workflow foundation (WF) versus rolling your own workflow framework? From what I can tell, WF only provides a pretty bare-bones runtime engine, a bunch of classes, and a schema (XAML-based) for defining workflows. All the hard stuff such as persistence, providing a host process for the runtime, and ...

How to get Windows Workflow templates in Visual Studio 2008?

I'm working through the book Pro WF Windows Workflow in .NET 3.5 and on page 5 it shows them opening a new project in Visual Studio 2008, "Visual C#/Workflow" is selected and 8 templates are showing: Empty Workflow Project Sequential Workflow Library SharePoint 2007 State Machine W... State Machine Workflow Library Sequential Workflow ...

DependancyProperty attach to a property of a property

I have a workflow with a property in it, declared like this: public Person userAccount {get;set;} Person is a class with it's own properties (like Person.Name) and with WF I can bind to the userAccount property fine yet I can't seem to bind to the userAccount.Name. Is it possible to do this? If so what do I need to change? ...

Workflow In Production Code

Hi I would like to know how many of you have used Workflow in your production environment and Was it good idea? I mean we can create the same thing using DB and scheduler service ...

How to avoid Name-itis in Windows Workflow (WF)?

I just started working with WF and what I find really annoying is that you have to name so many things. IMO, one of the most difficult things that a programmer deals with every day is constructing good names for things, and WF seems to take this to the extreme. Take the WF IfElse Activity for example. If I were coding this in raw C# ...

Should we use the SharePoint WF host for workflows that include external (to SharePoint) data sources?

We need to build a couple applications that require fairly advanced workflow functionality. The plan is to store the data in SQL Server, use Windows Workflow Foundation as the workflow engine, and build the frontend using an RIA technology such as Flex or Silverlight. We already have Sharepoint 2007 set up, and some of us (including me)...

How do I improve my middleware dev skills?

I need recommendations (books/links) for improving my skills in the following- Web Services ( SOAP and REST based ) Windows Communication Foundation (out of the box and REST based) Windows Workflow Foundation I rate myself as intermediate in web services and almost intermediate in WCF and WF. I would like to know some books/links tha...

Workflow Foundation Threading and WCF OperationContext

Hi, I am using the WorkFlowServiceHost(in .net 3.5) to host a State Machine Workflow. I use the WCF receive activities to handle calls into the workflow. I am using a WCF authorization policy to attach claims to the incoming requests based on info in the message headers. So, further down the chain I can use the ServiceSecurityContext...

Windows Workflow Foundation NullReferenceException

Hi, I got a NullReference problem using WWF and externaly raised events. The WWF state machine works together with a service instance raising events in the state machine to provide data and - of course - to change the state. While the "normal" operation works fine using events I got a strange problem. To handle timeout scenarios I let...

Windows Workflow Foundation example - moderation

Hi, As part of my Personal Improvement Program (PIP™), I'm trying to learn the basics of Windows Workflow Foundation. I decided to write a fairly simple blogging engine. I know there are tonnes out there, but this is just a playground project I can use for learning some cool stuff. One of the main features I wanted to implement is the ...

Windows Workflow - is this a good time to start?

I've heard rumors that the Windows Workflow team is re-implementing a lot of the existing framework for the next release. My company has a couple projects that would probably work really well with Workflow, and I'm familiar with the basics of the framework now, but I'm concerned that if we try to start implementing these in WF now, we'l...

Best practices for writing long running custom activities for WF 3.0/3.5

Best practices for writing long running custom activities for Workflow Foundation (3.0/3.5) suggest that it is not a good idea for an activity to perform a long-running task entirely within the Execute method of the activity. The single thread allocated to the workflow would be blocked, which prevents the processing of other scheduled ...