Welcome to Windows Workflow Foundation (WF)
Top Tasks :

WF Community Bloggers

Browse by Tags

All Tags » Windows Workflow Foundation   (RSS)

  • Advantages on using HandleExternalEventActivity

    Hello there
     
    I'm happy coz I have got a cool concept thanks to Kavita Kamani (Program Manager, Connected Framework); everything started when I did the Travel Booking Applicatin example (available from WinFX community site) I found an extensible inteface using; then I got this question: what's the advantange of doing it by this way and not by referencing directly  the appropiate project ?
     
    I supossed the first advantage it was having a less tightly coupled code but what I really liked knowing it was that this is like a service oriented pattern, I mean, what one does it's using these activities for generic communications and then implementing deatils for each service which ones will consume them.
     
    Here you can find more on HandleExternalEventActivity & CallExternalMethodActivity:
     Activities:
     
     
    Cheers
     
    JC
  • Travel Application Sample

    Hello everybody
     
    This entry is about my experience doing the TravelApplication lab available from http://wf.netfx3.com/files/folders/sample_applications/entry308.aspx; the purpose of this lab is showing the use of declarative rules, the conditioned activity group and the using of HandleExternalEventActivity & the CallExternalMethodActivity; this is a big sample & Í was only running it and checking out the concepts exposed; the huge interfaces using had make me many doods I post in the relationed forum (http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1447133&SiteID=1&mode=1); I think this continuoisly interface using it's coz the fexibility to handle event's and methods without "hard bounding" them .
     
    I ´ll wait for the response and I ´ll share my conclusions.
     
    Bye
     
    JC
  • Hosting WorkFlows

     
    Hello gays
     
    I wanna write a tutorial & material for other people who is starting the speechflow dev way, so I have been playing around with WWF's samples & code from different sources for learning myself doing this kind of material; okay this entry It's about the experience of doing the Hands-On Lab (Lab Manual) called "Lab 03 – Hosting the Windows Workflow Foundation Runtime" from http://wf.netfx3.com/files/folders/documentation/entry5618.aspx.
    I could see 3 approaches on this lab:
    -Introduction to Hosting WorkFlows
    -Handling WWF runtime environment events
    -WorkFlow configuration & tracing
     
    I could did 2 of the 3 lab exercises; on the last one I got an error on this line:

    using (WorkflowRuntime workflowRuntime = new WorkflowRuntime("WorkflowConsoleApplication1"))

    According with the lab, this is where the App tells the WWF runtime where logging & tracing; I make everything according the lab but that´s work; I could not understand well ok this section and what's the SQL Server role.
    So I post it:
     
    When I got this solved, I´ll have it resolved enterily and I'll share you.
     
    Thanks!
     
    JC

     

     
     
  • PageFlow Kit not ready yet

    Some of you are requesting example applications that are using the PageFlow tools. Please be patient. I am working out bugs in the project on a real world rewrite of the Pets Best enrollment process. Until I have it working well enough a robust example application is not possible. There are still some aspects of workflow that are not completely clear and thus result in some challenges in the toolkit. It is mostly working. The page flow aspects are working great to drive navigation. I am now pushing through the remaining challenges with sending objects (data) from a workflow back to the application in a way that will work consistently with persisted workflows. Read More...
  • Resume: ASP.NET Page Flow Project

    After a couple months of being sidetracked on a different project I am now back on the ASP.NET Page Flow project again. I am pleased to announce that I also have a CodePlex project for it. I encourage everyone who is interested to join the project, get the code and start making suggestions and contributions. I will be putting it to its first use on the Pets Best Enrollment process. Over the next 4 weeks I will be working with the Pets Best team to perfect the starter kit to a point where it can be trusted for a production release with their Pet Insurance enrollment process. Read More...
  • atlas based workflow designer

    finally, jon flanders put his atlas powered workflow designer online. you can read about it and download it at [1], or have a look at the online demo at [2]. looks like a good point to start from for hosting the designer in a custom web application. [1] atlas based workflow designer [2] online demo Read More...
  • Link - Synchronous call of a workflow from an activity

    Jon Flanders provides an example where an activity creates and calls syncronously another workflow by using a custom service. Read More...
  • Arbitrary loops (GOTO activities) in sequential workflows

    The following BPMN diagram presents a situation where there is an arbitrary loop with two entry points (one before Task A and one before Task B) and one exit point (after Task C). In situations like that it is not possible to implement this loop with a WhileActivity, because the WhileActivity works only with well-structured [...] Read More...
  • cutting edge sudoku

    great! i just noticed Ashish Shetty’s post about his netfx3-based p2p version of sudoku [1], get it at [2]. his implementation takes advantage of windows communication foundation, windows presentation foundation as well as windows workflow foundation, requiring the june ctp available at [3]. for solving your daily sudoku without the need of installing anything you could also [...] Read More...
  • two more wwf books in the queue

    there are two more books on the windows workflow foundation listed at amazon and waiting to be published: (scheduled for october 2006 according to amazon) (scheduled for november 2006 according to amazon) i’m [...] Read More...
  • BPMN-WF Mapping: The GOTO problem

    I expected that the transformation of a BPMN diagram to a WF workflow would be accomplished by mapping each BPMN Process to a Sequential Workflow. But, there is a structural difference between the BPMN diagram and the Sequential Workflow. The difference is that the Sequential Workflow is block-structured (i.e. all paths from a split or [...] Read More...
  • Introducing an ASP.NET PageFlow Starter Kit

    This post will introduce the first part of a starter kit for doing Page Flows in ASP.NET with Windows Workflow. The first Release Candidate for Workflow is now out as part of the June .NET 3.0 CTP . If you are already working with the Beta's you will need to update your SQL Persistence and Tracking databases with the new scripts. I have put in a request to CodePlex to host the starter kit. I will add an update to this blog once it is approved. The first thing the starter kit contains is the necessary configuration to get a PageFlow project started. As I started learning workflow I discovered that there are several things required for using it from an application. Hosting the Runtime Windows Workflow does not offer any out of the box servers or special applications to take advantage of it. It is entirely up to developers to host the Workflow runtime inside of an application. This could be a Windows service, a .NET web service, a Windows application or an ASP.NET application. The only requirement is that host can work with the .NET 3.0 Workflow assemblies. In our case we will focus on hosting inside of ASP.NET. The runtime only needs to be created once per application in order to host multiple workflows. The blogs and examples I have found so far recommend creating the runtime in the global.asax.cs file. I have chosen in the starter kit to instead use an httpModule. By using a module it is easier to add Workflows to existing applications without having to cut and paste code. All that is needed is to create an instance of WorkflowRuntime and then shove it into an application variable that we can access later in our ASP.NET pages. We will use this variable in a PageFlowManager control so that direct interaction with the runtime is not even necessary from our applications. WorkflowRuntime workflowRuntime = new WorkflowRuntime("WorkflowRuntime"); context.Application["WorkflowRuntime"] = workflowRuntime; workflowRuntime.StartRuntime(); There are 2 important additional items to note in the code above. When creating the runtime the constructor takes a configSectionName as string. That string matches the workflow configuration element name in the web.config. I find that consistently naming it keeps it simple and easy to manage. The code would have to be changed if you named it something different. The second thing is that StartRuntime is called. This allows the runtime to read the configuration and initialize all of the services that you have added via the configuration itself. Configuration Lets take a look as what is in the basic configuration. First we define a config section for the WorkflowRuntime. Note that the name matches the name passed to the constructor when creating the runtime. <configuration> <configSections> <section name="WorkflowRuntime" type="System.Workflow.Runtime.Configuration.WorkflowRuntimeSection, System.Workflow.Runtime, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> </configSections> We Read More...
  • Mapping BPMN Graphical Objects to WF Activities

    (Draft, to-be-updated post) Activities BPMN Windows Workflow Foundation Process   Sub-Process Maps to any CompositeActivity. Loop Sub-Process Maps to a WhileActivity. Multiple Instance Sub-Process Maps to a ReplicatorActivity. Ad-Hoc Sub-Process   Compensation Sub-Process Maps to a CompensateHandlerActivity. Task Maps to any atomic Activity that has only implementation semantics (e.g. CodeActivity or InvokeWebServiceActivity) Events BPMN Windows Workflow Foundation Start Event [None]   Start [...] Read More...
  • WinFX renamed

    As you might have noticed, WinFX recently became .Net 3.0 [1]. They set up a nice community site at [2], this is also where the WF now resides [3]. At [4] you can find a comprehensive overview of blogs related to the WF, aggregating blogs of the WF team members at Microsoft together with community [...] Read More...
  • another WWF book in sight

    Todd Kitta [1] just dropped me a note [2], he is working on a book entitled “Professional Windows Workflow Foundation”. As he posted [3] on his blog, the book is going to be published by Wrox Press late 2006/early 2007, i’m sure it is worth waiting for! And yes, the reflector [4] is definitely one [...] Read More...
More Posts Next page »

<July 2008>
SuMoTuWeThFrSa
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789

Copyright © 2006 Microsoft Corporation. All Rights Reserved. | Terms of Use | Privacy Statement | Contact Us