I have a workflow, that at a certain point, needs to be triggered recursively.
I can't seem to figure out how to do this.
I tried the following code but context ends up being null??
private void codeTriggerChildren_ExecuteCode(object sender, EventArgs e)
{
ActivityExecutionContext context = sender as ActivityExecutionContext;
...
I am trying out Workflow 4.0 and hoping to write a custom activity to start an external executable, wait for that process to complete and then resume subsequent steps in the workflow.
I found the following example that shows (towards the bottom of the page) how to write an activity to waiting for a file to arrive in a specific directo...
I have a sequential workflow, which is hosted in IIS as a Workflow Service.
My workflow starts with a ReceiveActivity, and inside the ReceiveActivity a call is made to a WCF service with a SendActivity. If this call receives an exception, there is a FaultHandlerActivity on my ReceiveActivity which is meant to handle the call, and send a...
I know the calls are going out, as I've used an incremented variable to track it. But some just never make it to the output window. Is this a known issue? Is there a workaround?
Similarly, breakpoints in the workflow are very unreliable. Stuck with this?
...
I've installed a complete SharePoint Server (MOSS) 2007 on my dev box + the latest Visual Studio (SP1) + the latest full Windows SDK. According to the Windows Workflow Foundation page http://msdn.microsoft.com/en-us/netframework/dd980558.aspx, that is all I should need to do to be able program against the .NET Workflow APIs.
And yet, a...
Hello, I'm a beginner with WF, but I've read a book and done a lot of googling. I want to write an inventory management service. The inventory is made up of individual items which have a state:
Spare
Installed
In-Repair
Items may spend months in each state, and there are thousands of items.
The question is, do I create a state machi...
Hello,
I'm having a problem passing an object for some reason and I'm not sure why. I'm getting a Object reference not set to an instance of an object error.
Essentially from my client application I make a call to a Windows Work...
Client Code
Workflow1Client client = new Workflow1Client();
ACME.Order newOrder = new ACME.Order();
ne...
I re-hosted the workflow designer in a standalone application. Is there a way to force the designer to not include the version of the Assembly containing my custom activities.
What is happening is that my custom activity assembly version changes quite often. Thus, my rehosted designer throw an exception since the version in the xoml is ...
I like the idea of WF and would like to persist long running workflows to a SQL database. To that end, what is the appropriate architecture at the SQL level for the persistence database? Should the persistence tables exist inside the project's database or is the Persistence datatables project agnositc and only one persistence database ...
I'm working with the SqlTrackingService in Workflow Foundation and I'd like to make sure my tracking data is persisted before I continue executing any code. From what I've read, the tracking service should do one of the following:
If the tracking service is transactional, tracking data is persisted whenever workflow state is persisted ...
Hi, anyone kwnos how to do this?
...
I have been tasked with building a new workflow system to handle our service orders. I have been investigating Windows Workflow Foundation as the engine for managing the workflow steps, and like what I see up until file processing.
We have a step in our workflow where we are waiting for a file to be returned from a vendor. The file con...
I have implemented a queuing mechanism including UI for running specific types of workflows (WF 3.5), where I wanted to include a possibility for a user to cancel / terminate the workflow. The termination doesn't have to be synchronous, it would be enough to show that the cancellation is in progress and let him refresh the state later.
...
How to solve this problem (in WF4):
I create a workflow in xaml and start several instances of it, I have a persistancestore and all workflows persist on a bookmark half way their workflow.
Now I stop the application
If I restart te application everything is resumed, en nicely completes.
But what if I want to change the workflow defi...
Hi All,
We are in the process of designing a web site were users can fill an application form and submit it. Once an application is created, it goes through different departments for review.After each review, the department persons log on to the website and update the status of the application. Once review is completed, the application ...
I'm working with the Beta 2 version of Visual Studio 2010 to get some advanced learning using WF4. I've been working with the SqlTracking Sample in the WF_WCF_Samples SDK, and have gotten a pretty good understanding of how to emit and store tracking data in a SQL Database, but haven't seen anything on how to query the data when needed. ...
I have state machine, some state owns by HandleExternalEventActivity. It accepts some event with simple string flag. Basing on this string I need dispatch which next state must be activated. Most obvious is use IfElseActivity, but I have no idea how to get to this string from IfElse.
Most simplest way to place property on entire state-ma...
I know how to hook up a designer activity to a NativeActivity or CodeActivity with the Designer attribute on the class. Like so:
[Designer(typeof(ParallelActivityDesigner))]
I would like to also hookup a designer to a composite activity (composed of some activities in only a xaml file), is that possible at all?
...
I used the rehosted workflow designer in an ASP.NET application to generate images of workflows, basically adopting the WorkflowMonitor sample in a similar way like the Atlas Workflow Monitor. Now I have started to worry about the behavior of this solution after redeployment when the installed version of the libraries no longer match the...
Hi,
What is the best way to use Windows Workflow Foundation in ASP.NET 3.5 Web Application.
In my case there are several workflows(sequential) which includes numerous steps, user has the privilege to save and exit at any of these steps; the state must be persisted, possibly in SQL Server.
Exposing workflows as web service is good i...