workflow-foundation

How do you resume one workflow from another process in windows workflow foundation?

Hi, I have an application that uses Windows Workflow and I am trying to write a service that will periodicly reload the workflows and check whether they have changed state based upon time events (DelayActivity). Any ideas how to do this? I thought it would be simple and straight forward but I can't get it to work quite right and I hav...

WorkflowView force refresh when new child Activity is added.

My application is using workflow designer rehosting to let end-users develop workflows. I have an Activity available that requires the user set some state. To accomplish this, in the designer I override Initialize(Activity) and show a form which I then use to set values in my Activity. This is for setting the state when the Activity is i...

what's the best scenarios for used Windows Workflow?

i am learning it, but don't know the best scenarios for use them(both state machine workflow and sequential workflow. ...

WorkflowServiceHost in Windows Workflow - .NET 4 version

I'm having trouble finding any worthwhile documentation on the new version of WorkflowServiceHost that ships with .NET 4 / VS 2010 Beta 2. The new version of the WorkflowServiceHost now lives in System.ServiceModel.Activities and has different contructors than the old, .NET 3.x version that lived in System.ServiceModel. I want to be a...

How can I apply Work Flow to ASP.NET? What existing problems with ASP.NET would a Work Flow oriented approach solve?

In simple terms: Why use Work Flow? Just for the somewhat graphical interface? Note: I don't plan to use MVC so applications implementing MVC with Work Flows are not what I'm looking for. ...

Are State Machines created in Windows Workflow 3.5 compatible with version 4.0?

If I have a State Machine created in version 3.5 will I be able to upgrade to .Net/WF 4.0, or will I have to re-create the functionality? I heard / read that 4.0 does not support State Machines. Finally, if you have a State Machine in 3.5, what is your plan for migrating to 4.0? ...

Can i add a workflow as an activity to another workflow?

I would like to create compositions of workflows in WF (3.5). Is it possible to directly use a workflow as an activity inside another workflow? I don't want to use the InvokeWorkFlowActivity, since it executes the workflow asynchronously. ...

What is the best approach to versioning the tracked data within workflows ?

This is a general question concerning the Workflow Foundation (.NET 3.5) and versioning the data that it works with. We have a lot of custom activities that work with some data and this data may be interesting also for the future analysis of the already completed workflows (provided that we configure the tracking in such a way that it st...

What's the best way to share Durable WCF components? WF?

Hi all. I'm currently experimenting with Durable WCF components which persist themselves in between method calls. This uses the [DurableService] attribute. This allows me to add some state to a component, close my connection to the client, perhaps wait for a while, create an entirely new client, hook back to the previous component and...

When do you favor the use of state machines over linear workflows

State machines can reduce complexity of workflows when there are multiple loops and branching or logic when the workflow must "react" to answers supplied by users. This would be an event-driven workflow. In what circumstances have you elected to use a state machine and what type of pain did reduce in terms of time and complexity? ...

How does WF hosted as WCF in IIS 6 resume after delay?

Does a WF hosted as WCF (.NET 3.5) in IIS 6 resume after a delay activity when persisted to SqlWorkflowPersistenceService ? And if so, which kind of thread is being used (one from the ASP.NET worker threads or a background thread from IIS ?) ...

Windows Workflow Delay problem

Hi all. I'm quite new to Workflow and have a question. I have a While Loop in my designer which checks a conditon. The while loop works fine and the condtion checking works fine. What I'm trying to do, is to set a delay so that the while loop only checks the condition every x seconds/minutes. I've tried the delay control inside the wh...

Windows WF 3.5 How to drop activity on Custom Composite Activity in Workflow

I have a custom activity which is a composite of several activities. There are some activities on the composite where I would like users of the custom activity to be able to drop more activities at design time on the Worfkflow surface. Custom Composite activities don't allow drag-drop actions out-of-the box, but I have tried using a cu...

Managing workflow lifecycle without a "persistence service"

I'm using Windows WF right now for a simple way to state machines. In fact, I'm not even using a state machine, I'm using a sequential workflow. Eventually, I will ditch WF in favor of something else, but since I already have the code working, I need to get the Abort, Suspend, and Resume methods working. My application spawns a thread...

Comparison between Stateless (on google code) and Windows Workflow

I'm starting to think that I should ditch Windows WF in favor of something simpler. I don't necessarily need to pause workflow execution for extended periods of time and restore them later. I would like a simple state machine framework that does have basic suspend / resume / abort (without serialization), however. I've downloaded the ...

Windows Workflow Persistence data (VS 2010 RC / .NET 4.0)

I have started working with Windows Workflow recently (the VS2010 RC / .NET 4.0 version) and am stuggling to get to grips with the SQL persistence functionality. I have managed to attach persistence to my WorkflowServiceHost via an SqlWorkflowInstanceStoreBehavior object and in my database there are rows appearing in the [System.Activit...

MS Validation Block or Workflow Rules engine?

For a large application that will be developed, we are in the process of selecting a Validation framework. Although the Workflow Rules engine is not strictly a Validation framework, it can be used by itself without using the Workflow foundation. It appears to give flexibility of specifying the rules in a database that is used at runtime....

Is sequential workflow console application available in Visual Studio?

Hi, I have Visual Studio 2010 beta2 installed in my system. The Issue is I am not finding Sequential Workflow console application option under File ->New -> Project->Workflow for (.net framework 4). I am trying to learn a workflow example tutorial for workflow 4.0. But in that example -explaining to create a new Sequentialworkflow Con...

WCF Design: using both: session and per call mechanism?

I am to design a webservice using WCF that yields methods that don't require a session (like static calls, eg: giving back some information about the webservice itsself) and other methods that require a session. furthermore, the session based methods are using Workflows that are supposed to be able to be changed at runtime. my current ...

Workflow 4.0 Activities not found

I am working on Visual Studio 2010 Beta2. I am creating a new workflow project.But under New_Project_WorkFlow the sequential activity workflow was not listed for .net framework 4. And even if i choose workflow console application i dont have an option to add a seqential activity in add -new item by right clicking on the project Toolbo...