SQL Server Developer Center > SQL Server Forums > SQL Server SMO/DMO > .NET 3.0 WF : Accessing "WorkFlowInstance" from an Activity within the workflow
Ask a questionAsk a question
 

Answer.NET 3.0 WF : Accessing "WorkFlowInstance" from an Activity within the workflow

  • Monday, October 08, 2007 9:30 AMAnand.Ranganathan Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

     

    The problem is , Im creating a Windows Sequential Workflow which just has only two "Code Activities" . Now Im trying to persist the workflow at the end of the first Activity . So that before commencing the second activity I have the WorkFlow persisted . But  workflow will get persisted only on calling the 'WorkflowInstance.Unload()' method , but im not able to call this method at the activity level.

     

    Im using "SqlServerPersistenceStorage" for persistence.

     

    Please help me with this. !!!!!!

Answers

All Replies