workflow-foundation

Workflow 4.0 Argument Errors

I'm having two errors with workflow, one I think is caused by a bug in the compling with VS2010, its Error 1 Could not resolve attachable member {clr-namespace:;}Flowchart1.requestType C:\Documents and Settings\Hilliard\my documents\visual studio 10\Projects\WorkflowConsoleApplication1\WorkflowConsoleApplication1\Flowchart1.xaml Work...

Sequencial Workflow Question

Hi My workflow is hosted in Windows Forms application. At some point I need to wait for manager approval. The manager should not use windows worms app to approve/reject the task. I was thinking about using WebService, but then I would be forced to host my workflow in asp web service. How can I wait for the manager approval which would ...

Change paradigm to use WorkFlow

Was wondering advantages/disadvantages of using WorkFlow in new development? Seems like a bit of change of paradigm, wondering if it is worth the effort to incorporate. ...

Workflow Engine for .net

This is a multipart question: First, what is your personal opinion of WF? Second, are there any other good .net-based workflow engines? Some information about my usage: Using both static and dynamic workflows Integrate with Castle (monorail and windsor) Utilizing queuing via MSMQ We want a simple, clean, non-leviathan framework. GUI ...

State Machine Workflow designer for Windows WF

Hi, I want a designer for State Machine Windows WF, I find a sample code from microsoft and host visual studio desginer of Sequence Workflow in a Windows app, but I can't use it for State Machine , Is there any desginer for State Machine or can I host visual studio in another windows app? Thanks ...

Workflow persistence - WebServiceInputActivity

Hi I have created the IAdder interface with two methods: PassA and PassB. My workflow starts with webServiceInputActivity1 which is activated by PassA remote call. Another element in my workflow is another webServiceInputActivity2 element. This time the "IsActivating" property is set to false. I expect my workflow to be persisted afte...

DependencyProperty.Register() or .RegisterAttached()

What's the difference between the two, when should RegisterAttached() be used instead of .Register()? ...

How can I create WF rules in code?

I'm creating an ActivityToolboxItem for a custom Activity in WF. I'm trying to do as much work as possible for the designers within the CreateComponentsCore method. What I'm trying to end up with is the following: 1) My custom activity (TriggerActivity, a SequenceActivity), containing the following: 2) A TriggerEvaluatorActivity (a si...

How to set "Specific Version" property for project references in Visual Studio

I have got a Visual Studio Solution containing several projects and have set up the references between the projects as project references. When a reference to an assembly is added, the references' properties contain a setting for Specific Version = True|False This property is missing for project references. How can it be set? I'd lik...

Have Microsoft rewritten Windows Workflow Foundation in .NET 4.0?

I heard from a friend that Microsoft rewrote all the Windows Workflow Foundation (WF) again and changed everything was in .Net 3.5. Is that true? And what about what we learned about WF in 3.0 and 3.5? ...

Can anyone recommend a .Net open source alternative to Windows Workflow?

What alternatives are there to Windows Workflow in the .Net stack? And if you have used these solutions, what made you select them over Windows Workflow and was it a good choice. Update: I went ahead and selected stateless created by Nicholas Blumhardt. This is a very simple approach to modeling states in a domain. Below is sample...

Time Based Events in ASP.net

I need to perform some events (sending emails, etc.) based on time. What is the best way to accomplish this in ASP.net in a hosted (medium trust) environment? ex: Send email every day at 4:00pm. ex: Send email after 15min of login. ex: Send email after 10 hrs of last change to status. The triggering logic can be complex on some of ...

Dynamic Business Rules in a web application

Greetings! Working on a web based project were business rules and logic need to be customized by client. I want to do this without having to recompile the application every time we sign up a new client on the system. The architectures I have outlined so far are: Windows Workflow: Creating dynamic workflows and saving them to the dat...

How can I get WCF to close connections automatically?

When I create a WCF application using the built-in Visual Studio templates and try calling it while in a loop, only 5 requests get through. The service then stops responding. The only way that I can get around this is to close the connections after each call. I know that you are supposed to clean up after yourself, but I also know that...

Passing and Handling Large Objects in Workflows

Hi, I am having to pass a fairly large object/file to a workflow when it starts (in the order of hundreds of MBs). I am using secondary storage to dump the object and have as little of it as possible in the RAM at one time on Workflow side. Is there another way to pass and handle the object which is more efficient. Does WF provide any bu...

Workflow for Polling Application?

I am currently working on a new application (.Net 3.5/Win2008 Server environment) that does a nightly poll of a database table to find records that need processing. Very simple process overall. Previously, I have used a Windows Service "Shell" app to do the timer/sleep/poll process. My question is more of: Since I have the opportunity t...

Windows Workflow: Persistence and Polling

I'm currently learning the WF framework, so bear with me; mostly I'm looking for where to start looking, not necessarily a direct answer. I just can't seem to figure out how to begin researching what I'd like in The Google. Let's say I have a simple one-step workflow (much more complicated than that, but for simplicity's sake). This wor...

Windows Workflow: Starting a separate workflow from within a workflow

This seems to be more complicated than I first guessed. I have a workflow that needs to kick off another workflow in the code. How is this done? Do I have to get a reference to the current workflow instance's WorkflowRuntime first? ...

Windows Workflow: "singleton"-style workflow?

I have a workflow that will watch certain databases and kick off other workflows when it notices a trigger. I only want one instance of this "observer" workflow to be going at any point in time; otherwise, if two or more were running, they'd both notice the change and both fire off the same workflow, which wouldn't work well. This "obse...

Tracking workflow compilation error source from msbuild output

Hi, When building a solution on a machine without VS installed, and getting workflow compilation errors I would like to track down the source of the errors, but the msbuild output is not very helpful: C:\Program Files\MSBuild\Microsoft\Windows Workflow Foundation\v3.0\Workflow.Targets(80,3): error : The type or namespace name 'Foo' cou...