locked
Workflow Service and Custom Persistence example RRS feed

  • Question

  • Hi there,

    I'm looking for an example of custom persistence service for WF4 services (xamlx).

    Since our clients don't use MS SQL Server, we have to reimplement SqlPersistence service.

     

    Any help would be really appreciated,

    Thank you in advance

     

    Monday, May 3, 2010 10:02 AM

Answers

  • The Corporate Purchase Process sample shows an example of an xml based persistence store. Look for XmlWorkflowInstanceStore and XmlPersistenceParticipant in that sample. Although this does not write to a database, it shows what methods need to be overriden and so forth in a custom InstanceStore class and should get you started in the right direction.

    Steve Danielson [Microsoft]
    This posting is provided "AS IS" with no warranties, and confers no rights.
    Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm

     

    • Proposed as answer by Andrew_Zhu Tuesday, May 4, 2010 8:13 AM
    • Marked as answer by Andrew_Zhu Tuesday, May 4, 2010 8:13 AM
    Monday, May 3, 2010 3:35 PM