workflow-foundation

Java alternative to Windows Workflow Foundation

What Java alternatives are there to Windows Workflow Foundation? I am looking for something that provides at least the same features that WWF does, and has the same flexibility and relative ease of use. I would very much prefer a free solution. ...

WF performance with new 20,000 persisted workflow instances each month

Windows Workflow Foundation has a problem that is slow when doing WF instances persistace. I'm planning to do a project whose bussiness layer will be based on WF exposed WCF services. The project will have 20,000 new workflow instances created each month, each instance could take up to 2 months to finish. What I was lead to belive that...

WF Persistence - remove old workflows

When using Workflow Foundation with persistence there comes a point we want to drop some (or all) workflows out of it which no longer should be persisted/run. Any script/tool that I can use for this? ...

A UI over Windows Workflow

Hi there, Are there any build in UI capabilities when using Windows Workflow.. Lets say I have a workflow that takes an hour to run where different activities are happening all the time. While it's running I want to see what activity is currently active, what activities have already ran etc.. Do I have to code this UI myself or does ...

Adding new states to existing Windows workflow?

If I have a long running Workflow (that lasts for months....) and if I need to for example add a new state or change it. (because of a bug fix or new feature). What happens to existing workflows? will they be lost? or do I need to some versioning? or will it accept the new state an go on? ...

can i pass dictionary or Listentity through Call External Method User control

Hi, I have a statemachine worklfow in my asp.net application. My question is : i have list of login table entity which has the values( username,password)from my database. then how to pass that listEntity to callexternalmethod control. Then only i can able to pass that listEntity to UI. Otherwise any other alternate way to pass that l...

How to deserialize Enumerable.ToList<>() to List<>

I'm trying to build an object that looks something like this: public class MyObject { private IList<AnotherObject> items; public List<AnotherObject> Items { return items.AsEnumerable().ToList<AnotherObject>(); } } I'm using NHibernate as my DAL and have it mapping directly to the items field and all that wo...

how can bind listentity from workflow to gridview

Hi i have listentity passed from workflow to gridview.That listentity binded in grid but it wont show in my application. grid visible option also true. when i bind listentity to grid from page_load event it binded successfully. but i cant bind when i use below method. void workflowRuntime_WorkflowCompleted( object sender, Me...

Is it possible for Windows Workflow wca.exe tool to include more than one assembly?

I would like to create an interface that references my business objects for a Windows Workflow, but when I use the wca.exe tool to create the Invokes and Sinks files, I receive an error stating that the assembly for the business object can not be found. Here is my a snapshot of my code to further explain: using System; using System.Col...

Integration of Asp.Net website and Workflow Foundation

I'm building a web application which has some processing of user requests involved. A user submits request for something, it goes through few steps and channels and its status changes through some predefined statuses, in the organization before being approved or rejected. During processing the ball may roll back to the user's court for s...

Exchanging data with activity event in state machine workflow.

In a event driven activity in a stage in state machine workflow, when an event occurs how can I send some data to work flow and send some data back to host after occurrence of the event. Also if I don't use SetState activity, can I set next state of the workflow programmatically? ...

How do I get data out of a state machine workflow before the workflow enters its completed state?

I'm working with a state machine workflow and using the ExternalDataExchange service to handle events in the host and get data into the workflow via eventargs. However, now I need to get data out of the workflow and I'm having difficulties. The outputparameters are only available in the workflow completed event, but my workflow isn't c...

Sharepoint OnWorkflowItemChanged before/after properties lists

I would like to use the OnWorkflowItemChanged event in a WSS 3.0 State machine workflow to check for changes made to the list item that kicked off a workflow. The properties of this event include before and after change properties and I can bind to the after properties with no problem and get a property set with the changed values of the...

State Machine Workflow - Event Driven - Requires State Transition?

Within a state machine, if an event is handled within an event driven activity, is it required that a state transition (i.e. SetStateActivity) occur? My goal is to allow the same logic within the particular event driven activity to occur repeatedly (by being signaled multiple times) until a certain condition is met at which time the st...

Workflow Designer Unusably Slow. Is it the Xoml?

I've got a WF State Machine which I use to handle page navigation on a WPF Media Center App. It's got a half-dozen states which each have Initialization handlers and one or two EventDriven handlers. When you first make a StateMachine workflow using a VS template, you have the option of using a code-behind model, or a code-separate model...

Handling same event in more than one states in Workflow Foundation

I'm using StateMachine Workflow. There are scenarios where same event can be fired in more than one states in workflow. I want to know if i can handle same event in more than one states? ...

WorkflowInstance aborts when persisting

I have got workflow instances running in a WorkflowServiceHost. The workflow is built as a state machine. I'm using the out of the box SqlWorkflowPersistenceService, configured with UnloadOnIdle = true and a instance lock time of 5 minutes (tried different values here). These workflow instances are long running, when they wait to receiv...

When does a windows workflow process go 'idle'?

When does a windows workflow process go 'idle'? Does it wait a certain amount of time? (can this time be changed?) Or does it go idle immediately when an activity is blocking/listening? ...

Compare object properties in Windows Workflow Foundation?

We are starting a rather complex new project at work, and need some sort of rules engine to make decisions by comparing the values of 2 objects. Here is a simple scenario: An account comes in, and based on its properties (balance, payment due, etc), it can fit into one or many different plans. Each plan will define a specific set of att...

Should I communicate with my Windws Workflow Host throught ExternalDataExchange or rather using WCF?

I know I can communicate with my Windows Workflow host (FROM my workflow) using either the ExternalDataExchange on an interface. Or I can communicate with my host using WCF using the SendActivity provided with .NET 3.5. I am not sure which method I should choose. Any suggestions on the pro's and con's of these approaches? ...