0
голосов
1ответов
101 просмотров

.NET Hosted workflow clustering problem

I am attempting to reproduce a server farm in my test environment, in order to try something out for an application that I am busy designing. I have two web servers, running IIS 6.0 and 7.0 respectively, each hosting a workflow service with exactly the same dlls. They share a persistence databas...

0
голосов
1ответов
521 просмотров

Re-hydrated workflow throws Profile cannot be null exception

We have a workflow as webservice application. We use custom tracking profile for each workflow type. The worklfow assembly version got changed, so I changed the profile version too. So as the older workflows should work fine. Now I started the workflow runtime , a workflow got triggered and per...

0
голосов
1ответов
560 просмотров

Run WF 4.0 as a server-side component

For a new project, we need to use WF 4.0 for deploying and running workflows. Instead of hosting workflows within the application itself, we decided to implement a server-side component that is in charge of running workflows. Before WF 4.0, one had explicit access to the the runtime engine (Work...

1
голосов
1ответов
500 просмотров

Using Windows Workflow Foundation in applications with reporting requirements

I am wondering, very generally, about the feasibility of a WF solution in an application, where the business owners want extensive reporting capabilities on application state and data. The main issue that I see is that WF tends to hide data, such as a recipient list, that is serialized inside th...

1
голосов
1ответов
128 просмотров

WF 3.5 stateful activities

I'm using WF 3.5 and looking for a way to develop an activity preserving its state among different iterations of the standard WF "while" activity. The problem is that normally the Execute() method of an activity should return the "Closed" execution status. Once it did that - it cannot get back to...

0
голосов
1ответов
5524 просмотров

Error loading and running event receiver Microsoft.SharePoint.Workflow.SPWorkflowAutostartEventReceiver

I have a custom SharePoint workflow attached to a custom ItemAdded event receiver that was working fine up until the last type I promoted it using WSPBuilder. My code is very close to this example: http://www.codeproject.com/KB/sharepoint/MOSS_FolderContentTypeWF.aspx I used WSPBuilder in the...

1
голосов
1ответов
266 просмотров

How to disable Activity cloning in WF?

Is it possible to control this nasty behavior? I'm trying to execute() some stateful activity I wrote (activity that increment an index on each execution) inside a loop (While) activity. WF engine is cloning my activity on each iteration. Since the clone is made from a template activity and not f...

0
голосов
1ответов
222 просмотров

Prevent WF Runtime or persistence service from loading WF instances

I'm developing an utility in order to work with persisted WF instances in a WF DB. I'm using the standard SqlWorkflowPersistenceService to access the WF DB. I'd like to use the persistence service functionality such as GetAllWorkflows() und load individual instances via GetWorkflow(). While I'...

3
голосов
2ответов
374 просмотров

What are the conventions for naming workflow activities in windows workflow foundation?

What naming conventions to be followed when naming the activities?. For example what should be the name for a CodeActivity that sends email to the user.

4
голосов
1ответов
1473 просмотров

Windows workflow foundation. Should I use it?

I'm developing an application that I suspect is suitable for using workflow. (It's easy to visualise the physical workflow and tasks between different users.) My question is what are the advantages to using this method, do you recommend that I go down this route. Is there a better approach. I'v...

1
голосов
1ответов
233 просмотров

How do I use the Result from a CodeActivty<string> in WF 4.0?</string>

I've created a custom activity in a .NET 4.0 beta 1 WF project. It's defined as: public class GetCurrentUserMailAddress : CodeActivity&lt;string&gt; because I've read that this is the most efficient way of returning a single result. At the end, I set the Result using: context.SetValue(Res...

10
голосов
3ответов
2078 просмотров

Where is Windows Workflow Foundation used?

Is WF used at user interface or business layer? If at UI layer, then does someone coding in business layer even need to use or learn it?

1
голосов
6ответов
263 просмотров

Will WF 4.0 make me Obsolete

I saw a post on Oslo about making us obsolete. I just happened to listen to the latest Deep Fried Episode with Brian Noyes. They were talking about SharePoint and Windows Workflow and how the "dream" of Windows Workflow is to let mere Business Analyst Drag and Drop their way to a functioning serv...

2
голосов
5ответов
5863 просмотров

How well does Rule Engines performs?

I've been having a look at WF Rules Engine and NxBRE and it seems interesting but I'm unsure of how well it will perform in real life scenarios. The one I have in mind is something like a fact base with between 10 and 100 million facts and rules like: Object.Field &lt;5000 AND Object.Field&gt; ...

0
голосов
1ответов
227 просмотров

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.

0
голосов
1ответов
380 просмотров

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 t...

0
голосов
1ответов
567 просмотров

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 config...

4
голосов
3ответов
1905 просмотров

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 ...

0
голосов
2ответов
1098 просмотров

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?

7
голосов
1ответов
2022 просмотров

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

1
голосов
1ответов
209 просмотров

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?

1
голосов
4ответов
775 просмотров

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 ...

2
голосов
3ответов
791 просмотров

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: ...

4
голосов
1ответов
709 просмотров

How do you manage versions in Workflow Foundation?

How do you manage versions of work flows in WF when you have long running work flows 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?

3
голосов
6ответов
10142 просмотров

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...

1
голосов
1ответов
117 просмотров

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 sc...

1
голосов
1ответов
201 просмотров

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...

0
голосов
2ответов
157 просмотров

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?

6
голосов
3ответов
641 просмотров

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://ww...

2
голосов
3ответов
1790 просмотров

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/da...