workflow-foundation

Windows Workflow Foundation with Windows Presentation Foundation

Iam Trying To Create a WPF Window in a Workflow Com Service but iam getting the following Error: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: The calling thread must be STA, because many UI components require this. at System.Windows.Input...

Is this a scenario where one would use wwf?

For a web based order workflow application I am considering whether or not to use windows workflow foundation. Essentially the status of an order may be considered as approx. one column in a database. Depending on the status of an order and the role of a user different asp.net pages are presented to the user. Is this a scenario where on...

what is the architecture of workflow server ?

we are planing to develop a wf server with Microsoft WF4 the requirements is to create a end user designer for the workflows , client application so every user track the tasks what is the best architecture for this server ? I appreciate your help More details : we are developing a document management system , we need to create workf...

Changing the Duration of DelayActivity with a Different Duration

My custom activity has a delay that will need to be set different values at different times. The first time it is set, it might be 5 seconds. The second time, it might be 10 seconds, and so on. How can one do this... Delay does not have an ActivityContext lambda that will allow me to get a workflow variable. ...

Is Work Flow good for tracking lots of items in an automated system?

Is Windows Work Flow (WF) good for tracking lots of items in a warehouse? Say for example I have a warehouse that has 20,000 packages move through it a day. Those packages arrive and move around to 0 to 5 locations in the warehouse using a semi-automated system and then move to a storage location for a while. Is WF a good technology t...

How to assign an argument to the variable in Workflow Foundation 4.0?

Hi Guys, This simple code fails with the following error: The following errors were encountered while processing the workflow tree: 'ArgumentValue': The argument named 'Parameter' could not be found on the activity owning these private children. ArgumentReference and ArgumentValue should only be used in the body of an Activity defini...

[C#] [Windows Workflow Foundation] problem with custom property being persisted to resources

I have developed a custom UITypeEditor for a WWF project, and the custom property (a Dictionary) is being persisted through the resources file of the main workflow. So far, so good! Problem is, when I change the property value, and rebuild, I get no errors but the designer stops showing anything, and instead spews out The name 'dict...

Categorizing properties of XAML activities

Using a code activity (i.e. activity built out of C#) we can add category attributes to our properties and display them nicely in the property grid of the workflow designer e.g. [RequiredArgument] [Category("Input")] public InArgument<Guid> TermbaseId { get; set; } Is the same functionality possible in an XAML activity? E...

How to transtale some elements in rehosted workflow designer?

Hi! I want to translate some elements such as: "Variables" control, "Arguments" , "Expand all", etc. to another language (to Spanish, for example). Thanks in advance! ...

Wf 4 Receive Activity: Difference between Messages and Parameters

Receive activities in WF4 can take two kind of values, Message or Parameters. Does anybody know the different between these two? cheers ...

What is the point of a .NET 4.0 TryCatch Activity if the Finally is not guaranteed to execute?

I was designing an Activity today and I came across an issue by which rethrowing an exception within the Catch of a TryCatch block does not execute the Finally which is also associated with it. Upon further investigation I came across the following http://connect.microsoft.com/wf/feedback/details/557601/try-catch-activity-never-execut...

What are the different microsoft created Workflow templates for?

I'm trying to create my first workflow. I can't find a reference for what the use cases or primary uses are for the different project types I'm finding in VS2010 ultimate. I'm interested almost exclusively in Microsoft developed workflow templates. I currently have showing: Activity Designer Library Activity Library WCF Workflow Servi...

Planning to make an application need help

Hi Guys, I am planning on making an application which automates some taks for me, these tasks are getting same file from two folder, setting folder name to current date + some text, making a .zip of the folder, opening outlook and attaching that .zip file to new mail. So can you guys advice should i make this application on windows wo...

Method to Prevent Workflow Foundation 3.5 from persisting an executing workflow

Is there a way to prevent a WCF 3.5 workflow from being persisted? I have an issue where some items in the workflow cannot be serialized so I need to block persistence. Is there a way do this in .NET 3.5? ...

REST-ful Workflow Service with .NET 4.0

With WCF, we can create services that can accept leverage HTTP POST and simple accept an XElement as it's parameter. I'd like to do something similar with a workflow service so that I can use jQuery to post an xml infoset to a service, have it run through a bunch of rules and then return an xml infoset. With a WCF service, I can simply ...

Tools to make TFS 2010 Build customization easy

Are there any visual tools for the TFS2010 Build engine? I just don't need to know WorkFlowright right now. It would be nice to just pickup a tool and make my custom builds rather than digging into WorkFlow, then into TFS 2010's way of using WorkFlow. ...

How to fix sqlexception caught when calling sqlTrackingQuery.GetWorkflows(sqlQueryOptions)?

When i clear all workflow tables and start my web application(asp.net with vb.net) i don't have any problems, after few days of using the application, when i create more workflows, suddenly the function to get the running workflows sqlTrackingQuery.GetWorkflows(sqlQueryOptions) throws a SQLException: Class 11, ErrorCode -2146232060,...

.Net Workflow Foundation design: Multiple workflows or one big workflow with IfElse activities?

I've been reading about workflow designs a bit and I am confused on how to model my application. Any help is greatly appreciated! Here's the requirement: Sequential workflow with 5 top level Activities Each top-level activity may contain 1 - 5 child activities. New child activities may be introduced in future. The input to the wo...

How to mock web service call in a WF workflow?

I'm implementing a WCF web service based on WF. This web service consumes other web services which I'm not in charge of. So basically my service workflow contains several Send activities. I'm following the TDD approach, so the service implementation is to be covered by unit tests. I want to test proper invocation of 3rd party services. ...

Is WWF project more useful than the typical project in .net ?

Is WWF project more useful than the typical project in .net ? Is WWF used or it's just another experimental feature from microsoft. Kindly elaborate more. Thanks in advance. I read about WWF here. ...