I have developed a workflow for automatically closing appointments that are 28 days past the start date. To do this I have created a organisation scoped workflow using a Workflow timeout activity to wait until 28 days after the start date before closing.
I am concerned that this may place an increasingly large load on the CRM implementa...
I have two customers that have the same workflow (Create file ->transport file -> wait for response -> send response to internal team); however the implementation of each step is different for each customer. For example, one customer requires a flat file to be sent via SFTP, while the other customer requires an XML file to be sent via FT...
I am currently using sequential workflows in Windows WF, but need to break up the process because I now have multiple workflows that need to share a piece of functionality. I believe there's a way to create custom code activities in WF that would basically accomplish this, but my plan is to eventually ditch WF in favor of Stateless; the...
Hi There,
we have an Array which is converted via a Binded Converter:
else if (TTools.IsOfBaseClass(value.GetType(), typeof(System.Activities.Presentation.Model.ModelItemCollection)))
{
OurBaseClass[] test = (value as ModelItemCollection).GetCurrentValue() as OurBaseClass[];
List<OurBaseClass> list...
I am using the VS2010 RC, and trying to put a "ReceiveAndSendReply" activity into a Flowchart. When I drag the activity out of the toolbox and drop it into the Flowchart, all I wind up with in the designer is an empty Sequence activity. Using Receive and Send activities separately seem to work fine.
Does WF4 support the ReceiveAndSendRe...
Hello,
I am trying to host a WF4 (RC) Service dynamically. I have a test solution with two projects. The first is a declarative workflow service library with one root Flowchart activity in it, and a simple custom code activity. The workflow service library does not depend on any other custom assemblies or references. The second is my ho...
Hello all,
I have Googled a bit, and cannot seem to find any examples of Xaml-fying Activities - good, bad, or otherwise!
public static string ToXaml (this Activity activity)
{
// i would use ActivityXamlServices to go from Xaml
// to activity, but how to go other way? documentation
// is slim, and cannot infer proper usage...
Hi,
I have a workflow service (defined declaretively in a .xamlx file) that currently contains one Recieve activity. As you may know, services usually expose more than one operation.
And that's what I would like to do with my service too. How do I add more operations to this service? Without WF, that's really easy. Just add as many meth...
I have a workflow with a parallel activity, where one branch does work and the other has a receive activity that can shut the workflow down (is the proper way to do this with a HandleExternalEvent instead?). The problem, of course, is that if the receive activity is never called, the work branch completes and waits on the receive activi...
Can anybody please provide any links and/or recommendations for the processing of batch information with Windows Workflow.
Specifically, I am looking at an invoicing scenario where there are complex rules required for the generation of prices and I am looking to be able to read in excess of 50k rows of data from a SQL Server 2008 databa...
Hi, so I have this requirement to kick off Activities provided to me at run-time. To facilitate this, I have set up a WorkflowService that receives Activities as Xaml, hydrates them, and kicks them off.
Sounds simple enough ...
... this is my WorkflowService in Xaml
<Activity
x:Class="Workflow.Services.WorkflowService.WorkflowSe...
We have some objects that have an associated workflow instance. The objects are identified with a GUID, which is also the GUID of the workflow instance associated with the object. We need to restart (see NOTE 3 for the meaning of 'restart') the workflow instance if the workflow definition changed (there is no state in the workflow itself...
Hi,
I am using VS2010 ultimate Beta2 and under Visual C# -> Workflow -> I don't see the Sequential workflow console application or state machine console application
Could someone please advise why these are missing in VS2010. I am able to see them on VS2008 ->Workflow.
Thank you
...
I'm having touble trying to attach a custom tracking participant in workflow foundation 4.0. I have a class that inherits from TrackingParticipant but I cannot see any other way of attaching it to my WorkflowServiceHost other than through lots of messy app.config entries like the SDK example demonstrates below (in the system.servicemodel...
I made a custom activity with a simple DependencyProperty that I dropped onto my code separation workflow. I then dropped an "IfElseActivity" hoping to use a Declaritive Rule Condition on the DependencyProperty I made in my custom activity. Unfortanately, the Rule Condition Editor does not see my custom activity. If I try this same sc...
For GUI purposes I need by current state of state machine to enumerate possible available states of transition. For example there is transitions: A->B, A->C, B->D, C->D. Assuming state machine is in A state, so I need get list of B and C.
...
I'm using Workflow Foundation. I have a requirement to allow administrative users to restart a workflow at a particular activity. This might be the case if a user forgot to do something during some data entry at that activity and needs to go back in and fix it.
Is there any way to do this? It seems I'd need to set the ExecutionStatus of...
I would like to bind multiple dependency properties of other activites to a dependency property (of type object[]) in my custom activity. Is it possible to define this multibinding :
In the workflow markup (probably somehow combining multiple ActivityBind's)
Set up the property editor in such a way that I can even edit this binding in...
I'm using WF 3.5 and during the process of spinning up a couple of WorkflowRuntimes, I sometimes get the following exception:
System.Data.SqlClient.SqlException: Transaction (Process ID 108) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
at System.Data.SqlClien...
I've got a typical n-tier app that has a heavy workflow component to it, so I'm interested in using WWF. There's a server-side piece that runs as a Windows Service, and there's the client-side piece written in Silverlight.
To have a really great, seamlessly integrated experience for my users, what I want is to incorporate both a workfl...