workflow-foundation

Problem with create new task in sharepoint workflow 2007

Hi all: I have CreateTaskWithContentType and TaskCreated Activities , when i debugging the workflow the TaskCreated fired but the task doesn't added to sharepoint list. Is There any idea about this issue? ...

deadlocked on lock resources found in SqlWorkflowPersistenceService,WF

Hi all I use WF 3.0 to process many orders. Perhaps much more than 2000 instances will exist at the same time. I use a while activity to process each order,which will do something,then the last delayActivity will call persistence service. I find if there is a small number of instances,that will be ok. But when larger,an exception will be...

How to customize activity in re-hosted Workflow 4 Designer?

This article shows how to create a custom activity in a rehosted Workflow designer (with Workflow Foundation 4). In that example, a MyDelayActivity is created by implementing the IActivityTemplateFactory interface, and specifying the default value to the Delay inputs. However, is it possible to modify the inputs of the activity as well...

Migrate workflow and activity from .net 3.5 to .net 4.0

Any one has recommendation, links to how to migrate workflow 3.5 to 4.0? Any issues to look for, does MS provide some tool to facilitate migration? Or the only was is to re-write the whole thing .... ...

How to use WF4 activity to wait for an event?

I found that you can use Pick activity and this activity will contain a few PickBranches, each of which contains a Trigger and an Action. How do I tie the Trigger activity to any .NET event? for example, Timer.Tick event, Key pressed event, or perhaps my own event? ...