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 6599547
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T18:30:19+00:00 2026-05-25T18:30:19+00:00

We have a lot of long running workflows which are persisted to the database

  • 0

We have a lot of long running workflows which are persisted to the database and require a logic change in the condition of a loop, we tried chaning the condition on the loop from a normal variable check to a
function call as the calculation is now lot more complicated. This breaks the existing workflows which
are persisted before this change. when we try to load the previously persisted workflow with the
new workflow definition, the loading fails with the exception

System.Activities.ValidationException occurred
  Message='LocationReferenceValue<String>' is not of type 'WaitForInput`1'. When loading this instance you must ensure that the activity with name 'LocationReferenceValue<String>' implements 'WaitForInput`1'.
  Source=System.Activities
  StackTrace:
       at System.Activities.ActivityInstance.System.Activities.Runtime.ActivityInstanceMap.IActivityReference.Load(Activity activity, ActivityInstanceMap instanceMap)
  InnerException: 

Is there any way to change the condition on a while loop activity in a XAML based activity in WF4
without breaking any of the previously persisited instances?

  • 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. Editorial Team
    Editorial Team
    2026-05-25T18:30:19+00:00Added an answer on May 25, 2026 at 6:30 pm

    Unfortunately not with WF4. We have a new feature in WF 4.5 called Dynamic Update that will address this scenario.

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

Sidebar

Related Questions

I have a long running process that needs to do a lot of queries
I have a lot of long-running activities and think that spawning this activity off
Will using yes command waste lot of cpu cycles ? I have a long
I have lot of code in my Tornado app which looks like this: @tornado.web.asynchronous
At the moment, I have lot's of Java which does all kind of nifty
I have JavaScript which performs a whole lot of calculations as well as reading/writing
I have an existing set of singleton WCF services. They are long-running processes that
I've inherited a Winforms application that does a lot of long running calls into
I have a long running SQL query inside a page that I've sped up
I've a class, say MyComputation which does a lot of computation in one long

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.