I'm using Visual Studio 2010 Beta 2 to learn to use Workflow Foundation (WF) version 4.0 prior to the upcoming release of Visual Studio 2010. One thing I've noticed is that if I persist a Workflow in the SQL Database persistence store, and then load it back into the application later and complete the workflow, the record is removed from the persistence store when the last activity of the workflow completes. I need to find out if this functionality is by design to keep the database from getting huge, or if I'm doing something wrong.
Windows Workflow Foundation 4.0 and Persistence
1.8k Views Asked by Russ Clark At
1
There are 1 best solutions below
Related Questions in WINDOWS
- Get Maximum Log Size
- Debugging Windows Services while starting
- Possible consequences of duplicate ProgId for different classes
- How to chain BCryptEncrypt and BCryptDecrypt calls using AES in GCM mode?
- mingw-64 conflicting declarations when cross-compiling
- I run an EXE program from a Windows Service but I can't see form C#?
- Why is PowerShell "not recognized" when installing Chocolatey?
- How to check if Windows device is phone or tablet/pc?
- How to add directories to Cygwin gcc default search path
- Can't install anything with pip2 on Windows 7 due to UnicodeDecodeError
- Active directory and linux nslcd binding without extending the AD schema
- How To Prevent Over Scrolling in Scroll Viewer Windows Phone 8.1
- Unicode error from pip install
- Where is the 'EnablePinning' property in the ribbon framework's recent items?
- How can I implement the same models and data across ASP.NET and Windows Apps
Related Questions in WORKFLOW-FOUNDATION-4
- Workflow persistence and bookmarks as a workflow failover
- How to handle multiple and common dependencies in TF Build 2012?
- how to set return value from a method to CodeActivityContext
- Windows workflow integrate with console/MVC app
- Workflow with messaging in MVC
- windows workflow 4.5: Get all idle workflows
- How to see workflow variables values when debugging WF 4 Workflow Activity
- Update schema from [System.Activities.DurableInstancing] to my custom schema
- Windows Workflow: How to persist every activity
- Cannot process 'StudentGrantsWF.xaml' because it is not an EDMX file
- Can't use something like "me" or "this" keyword in wf4 xaml activity?
- RequiredArgumentAttribute doesn't work correctly for InOutArguments?
- Visual Studio 2013 and Workflow Xaml files
- Loading Workflow dll as workflowservice
- Workflow background thread - how to wait
Related Questions in SQLWORKFLOWPERSISTENCESE
- Workflow persistence and bookmarks as a workflow failover
- WF state machine workflow service and exceptions in triggers
- Windows Workflow Foundation 4.0 and Persistence
- WWF Workflow persistence store exception
- Is it possible to change the Sql Workflow Persistence Service table and stored procedure names?
- Basic WIndows Workflows 4 Persistance in a webserver hosted .xamlx services not working
- How to Create One Instance per Bookmark?
- Windows work flow persistance iscomplete is not to set to 1, is always 0
- WWF: SqlWorkflowInstanceStoreBehavior verus SqlWorkflowInstanceStore
- Dynamic sqlWorkflowInstanceStore
- workflow 4.0 persistence status change
- How do I add a custom PersistenceIOParticipant for webserver hosted .xamlx services using the web.config
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
This delete behavior is configurable. For example, if you are using the WorkflowServiceHost and are using code to configure your service host, you could set the SqlWorkflowInstanceStoreBehavior.InstanceCompletionAction to InstanceCompletionAction.DeleteNothing as in the following example:
For more information on features of the SQL workflow instance store and how you can configure it, check out this MSDN article.