what is the future of table InstanceState in WF 4.0 RRS feed

  • Question

  • Hi,

    I am working on WF 4.0 , my question is what is the future of table instancestate in workflow 4.0 .

    as in 3.0 whenever workflow is persisted it creates/update workflow state in this table. do we still need this table



    Monday, April 25, 2011 11:50 AM


  • Hi,

    InstanceState is one of the tables that support SqlWorkflowPersistenceService, which is the durable persistence service in WF3. If WF4, SqlWorkflowInstsanceStore is used. More information about this service is here:


    And the database schema for that database is here:


    You don't need the InstanceState and the tables from the WF3 SqlWorkflowPersistenceService unless you are hosting workflows using WorkflowRuntime, which is the hosting mechanism in WF3.


    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

    • Marked as answer by Andrew_Zhu Monday, May 2, 2011 2:25 AM
    Monday, April 25, 2011 3:38 PM