locked
WF for guided process RRS feed

  • Question

  • I'm new to WF. We are considering to use WF to redesign our existing guided processes. Our system is a silverlight client with WCF web services. The guided processes currently is defined in our database. For example, in order to complete a job, the the process initiator will create the process and the presentation will load the UI modules based on configuration. After the initiator start the process and completed the data, all these data will be waiting for approvers to pick up and gets it approved. I don't know if anyone here had used WF for similar senario.  

    Monday, December 27, 2010 4:40 PM

Answers

  • Hi,

    >>Another thing is that our "guided process" could sitting there for approval for a week or even longer, I don't know if WF persist the workflow data to somewhere in DB or MQ? what if the server crashes?

    If you are using IIS7 or 7.5 you can install Windows Server AppFabric.

    http://msdn.microsoft.com/en-us/windowsserver/ee695849

    This will profide persistence and monitoring for the WCF workflow services. The workflows are persisted to a SQL Server database so it's possible to build long-running processes that will be resiliant to server crashes and reboots.

    As I mentioned before, you should think about versioning issues for these processes. What will happen if you have 100 processes on the go, and you need to make a change in the workflow? There were some anouncements about new features that would help with these kinds of issues at PDC in November, but so far there is no date for availability of this yet.

    Regards,

    Alan


    http://www.CloudCasts.net - Community Webcasts Powered by Azure
    • Proposed as answer by Andrew_Zhu Thursday, December 30, 2010 9:12 AM
    • Marked as answer by Andrew_Zhu Tuesday, January 4, 2011 2:55 AM
    Monday, December 27, 2010 8:41 PM

All replies

  • Hi,

    WF could certanly be used for this kind of scenario. If it would be the best choice for your project would be hard to say without knowing a lot of the details.

    One thing you could do is to set some time aside and create a proof-of-concept (POC) project that addresses some of the issues you would like to solve with WF. Implementing a basic scenario may be easy, but thinks like reliable hosting and managaing the versioning of long running processes could proove more challenging.

    Regards,

    Alan


    http://www.CloudCasts.net - Community Webcasts Powered by Azure
    Monday, December 27, 2010 4:59 PM
  • Thank you for your reply. As our client side is Silverlight app and I think we should make the client not aware of anything about WF and all WF stuff should be running inside WCF services. Am I right?

    Another thing is that our "guided process" could sitting there for approval for a week or even longer, I don't know if WF persist the workflow data to somewhere in DB or MQ? what if the server crashes?

    thanks

     

     

    Monday, December 27, 2010 5:12 PM
  • Hi,

    >>Another thing is that our "guided process" could sitting there for approval for a week or even longer, I don't know if WF persist the workflow data to somewhere in DB or MQ? what if the server crashes?

    If you are using IIS7 or 7.5 you can install Windows Server AppFabric.

    http://msdn.microsoft.com/en-us/windowsserver/ee695849

    This will profide persistence and monitoring for the WCF workflow services. The workflows are persisted to a SQL Server database so it's possible to build long-running processes that will be resiliant to server crashes and reboots.

    As I mentioned before, you should think about versioning issues for these processes. What will happen if you have 100 processes on the go, and you need to make a change in the workflow? There were some anouncements about new features that would help with these kinds of issues at PDC in November, but so far there is no date for availability of this yet.

    Regards,

    Alan


    http://www.CloudCasts.net - Community Webcasts Powered by Azure
    • Proposed as answer by Andrew_Zhu Thursday, December 30, 2010 9:12 AM
    • Marked as answer by Andrew_Zhu Tuesday, January 4, 2011 2:55 AM
    Monday, December 27, 2010 8:41 PM