Answer Questions
johnmurray SqlWorkflowPersistenceService: Exception thrown while persisting instance: The transaction has already been implicitly or explic
Hi, I use SqlPersistenceService. I found that SqlPersistenceService has bug, it does not write values to ownerId and ownedUntil colums in instanceState table (SqlPersistenceDatabase). The problem was in constructor, the connection with parameters was broken so I changed the constructor to this NameValueCollection stateServiceSettings = new NameValueCollection (); stateServiceSettings[ "OwnershipTimeoutSeconds" ] = "10&q ...Show All
NTCin Bham Windows Vista CTP - 64-bit - Build 5231 Install Problems
Has anyone had any success installing the new x64 version of Vista I keep getting "an error occured while copying files" error during the install process. I have downloaded the ISO multiple times and burned it using different drives and software but still get the same problem. I can run therough the 32 bit install with no issues. Well it isn't a 32 or 64Bit issue. It is an general issue. Vis ...Show All
arghhhhhh Deriving, CodeConditions and HandleExternalEvent Activities.
Hi all, Thanks to great help previously, I'm up and cooking with my derived StateMachineWorkflow activity. Hence - another problem. In the 'dervivedWF' I want to call a common 'RunCodeCondition' method from a set of IfThenElseBranch/CodeConditions - however, the method does not display in the drop down Funny enough - from a HandleExternalEventActivity, part of the bindings for input parameters..... inData *IS* selectable for a parameter. I ...Show All
Rory Bannon Bind parameters to dependant properties?
Curently you can bind dependant properties of one activity to a property of another. But I don't see a way to bind a dependant property to a parameter passed into the workflow. Is there a way to do this Could it be added Jared ActivityBind bind1 = new ActivityBind(); bind1.ID = "/Workflow"; bind1.Path = "Parameters[\"ParameterName\"].Value"; someActivity.SetBinding(SomeDependencyProperty, bind1); To ans ...Show All
Nick W Workflow Designer Rules Support
Hi, I'm in the process of trying to setup a demonstration application which shows an example of workflow and rules management. I need to basically setup a workflow, set some properties, then run the workflow from the designer. Part of this demo include the use of an IfElse activity and a Policy activity which link with the rules engine portions. I've trundled through the examples and the current samples get things about 75% of the way there, an ...Show All
Earnest Developer CodeDomDesignerLoaderNoRootSerializer appears
Hi guys, I have the same problem as: >>I'm having problems loading WWF b1.2 onto VS2005 RTM on WinXP. >>Getting error: CodeDomDesignerLoaderNoRootSerializer. >>The version for VS RTM is 8.0.50727.42 >>I've tried install/deinstall/reinstall several times on 2 separate machines. >>Any suggestions >>TIA However a fiend of mine does not have it. The only difference between our cases is tha ...Show All
KluchCode PROBLEM with HttpContext.Current
we are creating as ASP.NET application using WWF in which we are using http handlers as like the following the example. http://www.devx.com/dotnet/Article/29992#codeitemarea . When an event is fired from WF, the event handler has to be executed which was written in HttpHandler . This event hanlder has the following code. HtttpContext.Current.Response.Redirect(" ~/testpage.aspx", false) Here, HttpContext.Current v ...Show All
Ian Price (Beta2) How to bind WF params to activity properties at runtime?
I have another beta2 question - stems from one of the (many) changes from beta1. Workflows now dont have a concept of 'parameters' as was in beta1 but instead parameters are defined/used just as get/set type of properties on the workflow class/type. In beta1, we would have activities that would bind their properties to WF parameters dynamically like using the following code below executed from within their c'tors: ActivityBind bi ...Show All
Elliotte Where do I find the build script for state persistence database
OK, I hope that's the last beginner question for tonight. WWF didn't install any database so I figure somewhere there must be a build script for that one Thanks, Christoph The scripts to create the schema are usually either at: X:\WINDOWS\WinFX\v3.0\Windows Workflow Foundation\SQL\EN or X:\Windows\Microsoft.NET\Framework\v2.0.50215\Windows Workflow Foundation\SQL or if you have downloaded the ...Show All
Mahidhar Updating Workflow
Hi, Scenario: a production server with maybe a 1000 instances persisted to a SQL database. A crucial addition to the workflow is done (near the end of the workflow). I want these instance to follow the new workflow if they did not progress past the insertion point. Is this possible Is it as simple as not incrementing the version of the assembly Any issues I should be aware of Thank you in advance. Heinrich T ...Show All
Donaghy WorkflowWebRequestContext in Beta 2.2
I just installed Beta 2.2 and ASP.NET sample code, but ASP.NET sample failed to compile. It says WorkflowWebRequestContext is not available in the default.aspx.cs. When I looked at the help file, I can see that WorkflowWebRequestContext class should belong to System.Workflow.Runtime.Hosting, but when I look at the classes in that namespace, I can't find it. I can see other classes in that namespace such as WorkflowWebHostingModule. Anyone ...Show All
Benjamin Arroyo Using rules without WF
Hi, I am able to create a ruleset and execute it with out using workflow as given below. Rule: If subject.state=="WA" then subject. TaxRate=10 I am trying to build the rule using APIs RuleSet rSet = new RuleSet("TaxPolicy"); Foo subject = new Foo(); System.Workflow.Activities.Rules.Rule _rule = new System.Workflow.Activities.Rules.Rule("WATax"); CodeThisReference ...Show All
NandaRengasamy About persistence, IEventActivity, Transactions and correlations
Hi, I have a bounch of questions. 1. Persitance The activity can be adorned with the [PersistOnClose] attribute. What happens in the following scenario: - we have a sequential workflow with 2 activities: A1 followed by A2 - activity A1 is adored with the [PersistOnClose] - A1 finishes executing and moves to Closed state - the runtime persists the activity A1 - the computer crashes - after the computer is restarted, the workflow hosts is s ...Show All
jpresley At Last Got it !! [The Book Presenting Windows Workflow Foundation, Beta Edition in .chm ]
Hi to all group members At last i finally got the Presenting Windows Workflow Foundation, Beta Edition in chm . This is a result of constant struggle to find that book and finally i got it . So any of you who wants it just leave a Messge Here. WWF Rocks! Hi Paul, The book is still under Beta 1 version, is there another edition for this book releasing soon for B ...Show All
Deepak Raghavan HandleExternalEvent: event filter / correlation
Hello folks, I am new to WF and I am completely baffled by correlation. What I am trying to do is very simple: I have a State workflow activated by a single event from my local service with a parameter in the event args to do the disambiguation. The HandleExternalEvent activities knows those values at design time, but not at compile time. What I wanted to do initially, and what is my preferred solution, is to derive a new class from HandleExtern ...Show All
