Answer Questions
Nirupam Pratap Reddy StateMachine / Tracking Service / Not Logging Final State Change
Hi, Using WWF Beta 2 (Jan CTP). In reviewing tracking history for a statemachine workflow, the final statechange doesn't seem to be logged or it's not being returned via SqlTrackingWorkflowInstance.UserEvents with UserDataKey of "StateActivity.StateChange". I'm using the default tracking profile and have tested against a few different workflows. The workflow status itself is completed. One note is that the final workflow does not have ...Show All
PatGO Modelling a collection and item relationship
I'm looking to implement a state machine for a job system. The lowest level item is a Job, but I would also like to have the ability to group jobs together i.e a batch of Jobs. Both a batch and a job would have states like Open, Assigned, Completed, Closed etc. So you could have a Open batch with half of the Jobs completed one Closed and one assigned. Valid states for a batch would be dependent on all the Jobs in the batch i.e only closed ...Show All
MKSubb State Machine Design Question
I am trying to build a state machine workflow that contains a state called the "ReviewState". The purpose of the review state is to wait until N users perform a review on a target document. Also, if a review by a particular user is not performed within a specific time I would like to take some alternate action. My question is as follows: How do I design a State such that it stays in the state until N users perform some discrete action ( like fir ...Show All
RolandKlein Error: EventDeliveryFailedException ?
I have got a dual WinForms/ASP.NET workflow application working, except for raising events to workflow from ASP.NET. The events work ok if raised under WinForms app, with DefaultWorkflowScheduler. Under ASP.NET I raise the same event (same code in same DLL) I get the error below. The ASP.NET code raising the event is this: ASP.NET Code: '...Get the GUID of the task Dim ID As String = Me.GridView1.SelectedRow.Cells(4).Text Dim ins ...Show All
Bill Barnett - MS Why can't call custom Activity with parameter In "while Activity"?
I have a SequentialWorkFlow project. In this project i created a MainWorkFlow and a custom Activity(SequenceActivity). The "MainWorkFlow" can call the "SequenceActivity" with parameter. The structure like this: MainWorkFlow CodeActivity(set parameter) custom SequenceActivity Usually it runs fine. But if i call "SequenceActivity" several times in while activity,the parameter can't be passed curr ...Show All
Dave Fackler StateMachine: Having state without IEventActivity as first child?
Hey guys, I have the following problem (including not so pretty workaround): In a state machine I want to be able to transition state but immediately continue working in that other state. In my particular case one state can be reached from multiple other states (of course, that's the purpose of a state machine) but the first activity in there is not an IEventActivity, i.e. I'm not receiving an event but continue with a couple ExternalMetho ...Show All
duda65607 WorkflowPersistence simple question
Hi there, I'm writing my own workflow persistence service to support another database. I have following two save methods to override in my service: SaveCompletedContextActivity(Activity root) SaveWorkflowInstanceState(Activity root, bool unlock) The question is quite simple, how do I find in these two methods when I need to INSERT workflow record in database and when I need to UPDATE workflow record in database I can't find any b ...Show All
Doriak WWF and Business User
Hi, I would like to have clarifications on the usage of WWF in a business environment. Lets take a scenario in a company XYZ. The company XYZ can have multiple internal processes. for example ... 1. Leave application processing 2. Sales Order Processing 3. Purchase Request processing Consider that we have one .net application managing these processes. And all these processes involve human approvals. How should the business use ...Show All
JJ Brychell How do I Pass Values from an Event Sink
Hi, I have an event sink which has passed into it custom event args (similar to the statemachine sample). That event sink invokes a Code Activity - my question is what is the syntax for extracting the parameters out of the event sink for use in the Code Activity. private void SendMailCode_ExecuteCode(object sender, EventArgs e) { //TODO:pick up parameters from event sink and pass to this code to ...Show All
Jon Jung Scheduling workflow
I have a workflow application (my first) that has several sequential workflows defined that are triggered based on incoming messages from a network socket. What I'm not sure on is how to marshal the incoming requests into the workflow, I could have up to 50/sec inbound requests that each need to be processed via a workflow. At the moment, for each request I do a CreateWorkflow().Start, and while that works for OK for the moment, I'm not s ...Show All
starkami More simplistic conditions and branches
IfElse is fine, but we would like a very simple YesNo container that branches based on a property value of the preceding activity. Any suggestions on how this might be implemented Is it possible to determine the task immediately before your task What steps are required to present a drop-down list of the available boolean properties on the preceding task We could use reflection and build our own custom UITypeEditor, but I know the EventSink does ...Show All
AVNIP ASP.Net & ManulScheduler Nightmares...
Well the isues go on... The details: 1. When a delay activity is arrived at in a workflow and that instance is persisted. 2. When a new instance is created, the previous instance is loaded, but doesn't go any where, and when the delay is reached the item is persisted. Why doesn't it carry on I did some digging and found out that you needed to call the RunWorkflow(Guid) method on the Manual Scheduler, so I added the following code to my Workflow ...Show All
adi Turtle beach catalina drivers
Cannot install the catalina driver on 5231, anybody got a clue on where to find those drivers or a solution. Thanks. ...Show All
DeepScratch Activity Re-use
In Beta 1, a majority of the activity classes in the System.Workflow.Activites namespace are sealed. Are these classes going to be sealed in the RTM version If so, what is the recommended mechanism for re-using functionality provided by the built-in activities For example, I might want to - extend the behavior of an activity - significantly modify the appearance of the activity in the designer (outside of what ...Show All
YRaj Can direct show write a MPEG-2 movie?
Hi all, I'm a newbie. 1. Can direct show create "write" a MPEG-2 movie, from several image, like Windows Media Format Video Image ability 2. Where should i start to learn that Thank's 1. The answer is No. Microsoft does not provide MPEG-2 encoders. 2. Learn DirectShow and its DES. The only good learning place I have found for the DES is the DirectShow SDK documentations, there is no b ...Show All
