workflow-foundation

WF OutputParameters - How do I stop a dependency property from becoming one?

In WWF 3.5, how do I stop a property of the workflow from becoming part of the OutputParameters after the workflow's completed? ...

Entering Data in a Custom Activity at Design Time (WF 4.0)

I want to better understand the capabilities and limitations of what can be done with custom activities in WF 4.0 at design time. More specifically, what we can do in a custom activity such that we can allow the designer to interact in a customized way at the design time for specifying details/data about an activity. For example, I wou...

WF 4.0 Resources Collection

Though WF 4.0 beta1 released, we dont have much resources available on the net to understand the concepts.. i know lot of bloggers are keep putting some materials about WF 4.0. it would be great if we share all the resources here.. From my side, Linked list all WF 4.0 Collection... http://www.codeproject.com/KB/WF/WF4Services.aspx h...

Is there a forum that specialises in Workflow Foundation?

I know I can get answers here but I was wondering if anyone knows of a forum that specialises in WF as well as forums.asp.net for asp.net? ...

Where do I get my list of outstanding workflows?

I'm trying to get my head round WF. I'm visualizing a State Machine Workflow with long-running workflows that will be stored in using the SQL persistence service. A user may have more than one outstanding workflows assigned. I can't work out two things. How do I get a list of all outstanding workflows? How do I get a list of workflo...

Workflow Foundation: where do I put my data?

I'm new to Workflow Foundation. I've worked my way through one book (K. Scott Allen's Programming Windows Workflow Foundation) which was okay but I'm left with several questions. The biggest one is 'where do I put the data'? Throughout the book he uses the idea of a Bug Tracking system; the scenario isn't too far from what I want to d...

Write a simple workflow system

As a part of our application I need to write "simple" workflow system which will be used for supporting document creation life-cycle. It should support: - different activities: edit document, verify document (approve, reject), publish document... - assign this activities to different people/users - "parallel split and join". For example ...

How do you manage versions in Workflow Foundation?

How do you manage versions of workflows in WF when you have long running workflows and you might have two or three versions in the persistence store at the same time and have to be able to access them all? ...

WF -- how do I use a custom activity without creating it in a separate Workflow Activity Library?

I am trying to accomplish something that seems like it should be very simple. I have a State Machine Workflow Console Application with a workflow in it. I have created a custom activity for it. This activity will NEVER be used ANYWHERE ELSE. I just want to use this activity on my workflow, but: It does not appear in the toolbox. I cann...

Workflow Foundation: Do I use a Web Service or WCF - what's best for my WF?

I'm building a workflow app to investigate the technology. I can't decide whether to go for a web service (and a technology with which I'm basically familiar) with WebServiceInputActivity's or WCF and ReceiveActivity's (and a new technology that I'll have to learn). Are there any major reasons to go either way? Clarification: Are the...

Can a WF/WCF 4.0 service be accessed from 3.5 SP1 clients/websites?

If I was to develop a workflow hosted in WCF using .NET 4.0, is there anything that will prevent me from accessing it using a 3.5 SP1 based client or website? ...

How to query a workflow instance for its execution state.

I have created a workflow, and Im running it via WorkflowInstance.Run(). This workflow has numerous bookmarks, and I would like to be able to query it for which bookmark is responsible for the current idle-state. How might I do this? Thanks ...

Is it possible to inject values into Workflow Arguments?

I have a .net 4.0 Workflow, which I am hosting myself (just with WorkflowInstance.Run) and when I rehydrate the workflow I would like to initialize some of its internal arguments so that subsequent activities can use these values... How might I go about doing this? ...

Best way to run multiple workflows concurrently in WF 4.0

I have a routine that creates n instances of a particular workflow and runs them each serially. How could I fire them off async? Current p-code: forloop // Create var syncEvent = new AutoResetEvent(false); WorkflowInstance myInstance = new WorkflowInstance(new SomeWorkflow(), parameters); ...

Changing statemachine workflow at runtime error

I have a Windows Workflow Foundation (3.0) StateMachine workflow with about 20 states. I can successfully remove a simple state from it at runtime, but if the state is more complex (ie. it can transition into or from multiple states) I run into an error. Because properties can't be changed at runtime I have to remove activities and the...

XC1020: Build error occurred in the XAML MSBuild task: 'Could not load file or assembly'

I am facing a strange issue. I had a console application project with some referenced dlls and it was working fine. Now i am trying to convert that project into a workflow based project. I created a sequential workflow console application project. Now when I add reference of same set of dlls which were reffered in the console applicatio...

How to use a WF DelayActivity in an ASP.Net web based workflow

I have a web application that I am adding workflow functionality to using Windows Workflow Foundation. I have based my solution around K. Scott Allen's Orders Workflow example on OdeToCode. At the start I didn't realise the significance of the caveat "if you use Delay activities with and configure active timers for the manual schedulin...

WF Extend Activity Behavior (or like Template Activity)

I want to create WF activity (let's call it Template Activity) with the following structure: several predefined activities (including conditions like if and so on) + one or more placeholder activities (for example sequence activities could be place holders). That mean, when I drag this activity to the workflow in designer, I will not be ...

Difference among three kinds of dependency properties in .NET Workflow Foundation.

In .NET Workflow Foundation, there are three kinds of dependency proprieties: instance properties, meta properties, and attached properties. Can someone explain what the difference and proper usages are? Thanks. ...

Editing custom workflows with Workflow Re-hosting

I've been prototyping this Workflow editor for end users and I've based my source from [MSDN]http://msdn.microsoft.com/en-us/library/aa480213.aspx. So far, I've made the following tweaks: I've added a new project called Workflow.Core which will house custom activities and default workflows. The toolbox now shows custom activities that ...