Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 160703
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T11:04:55+00:00 2026-05-11T11:04:55+00:00

Hallo everybody, I’m dealing with a pretty strange situation here. I have developed a

  • 0

Hallo everybody,

I’m dealing with a pretty strange situation here. I have developed a State Machine Workflow and it worked just fine until today. Now, the Sql Workflow Persistence Service does not save the workflow state. There is no any exception, just it does not save the state. The flow is going normally to the Event Driven activity which is, by following this article link, one of the conditions when workflow state has to be saved (what it has been doing just fine before).

The configuration of Sql Workflow Persistence Service look like this:

     <workflowRuntime name="WorkfolwServiceHostRuntime" validateOnCreate="true"         enablePerformanceCounters="true">         <services>           <add              type="System.Workflow.Runtime.Hosting.SqlWorkflowPersistenceService,                  System.Workflow.Runtime, Version=3.0.00000.0, Culture=neutral,                  PublicKeyToken=31bf3856ad364e35"               connectionString="Data Source=svr;                 Initial Catalog=WorkflowPersistence; user id=User;password=Pass;                 Trusted_Connection=False" LoadIntervalSeconds="1"                 UnLoadOnIdle="true"/>                    </services>       </workflowRuntime> 

Maybe the problem is because there is one more application that hosts workflow runtime and uses the same workflow persistence database. I couldn’t find any information if this is allowed or not.

I cant see any other reason why is this happening, so I will appreciate any suggestion.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T11:04:56+00:00Added an answer on May 11, 2026 at 11:04 am

    Normally the workflow is persisted when it becomes idle. How soon it gets persisted also depends upon factors such as the polling interval ( which you would have provided while creating the SQLPersistenceService and attaching it to the runtime.) Also Everything that the workflow uses, esp. The ExternalDataEvent args and the events should be marked as Serializable.

    Regarding handling Exceptions, you should add FaultHandlersActivity to your workflow, and the exception that is caught, will be saved in the Fault property that gets exposed along with the FaultHandlersActivity.

    Hope that’s helpful.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hello everybody i have C++ tStringGrid I want to get string from specific cell
hello everybody i have a listbox within which is a datatemplate.Inside it is checkbox,textbox,label...Wat
Hallo, Recently I have read a couple of posts on varous sites and blogs
Hallo all. if i have week number 42 and i need to know what
Hello everybody! I have a SQL (see above) and i would like to know
Hallo everybody, I'd like to use black color as default text color only in
Hello everybody I have a problem with exception. The following code block do this
Hallo everybody Recently I've been reading the book: Agile software development, Principles, Patterns and
Hello everybody i have a menu in typoscript and i would like the generated
Hello everybody Well my question is about sql commands... If I have 2 tables

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.