473,395 Members | 1,937 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Passivating a workflow

Urs
Hi

What happens to workflow references to objects outside the workflow class
instance, when passivating a workflow, having SqkWorkflowPersistenceService
enabled?

Example: Let's say my workflow holds a reference to a class instance in the
host. A workflow is waiting for a few days. In the meantime, the machine is
rebooted. I understand that the persistence objects come back to life, and
my particular workflow will continue waiting.

Q1: Where does my original reference ot that class instance point to after
restarting?
Q2: How do I reset that reference that it actually points to the new
instance (since I restarted the app)?

Thanks for any hints.
Urs
Jan 29 '07 #1
1 1320
"Urs" <uv****@msn.comwrote in message
news:Oo****************@TK2MSFTNGP02.phx.gbl...
Hi

What happens to workflow references to objects outside the workflow class
instance, when passivating a workflow, having
SqkWorkflowPersistenceService enabled?
If the object you're referencing is marked with the [Serializable] attribute
then it will be serialized and deserialized along with your activity. If it
isn't, an exception is thrown.

There are many ways to control the serialization process if that won't work
for your application.
>
Example: Let's say my workflow holds a reference to a class instance in
the host. A workflow is waiting for a few days. In the meantime, the
machine is rebooted. I understand that the persistence objects come back
to life, and my particular workflow will continue waiting.
If your host is providing something that your activities use, you should
probably expose the object by having the host register it as a service (see
WorkflowRuntime.AddService()) Then, the activity should get a reference to
the service when it needs it.
>
Q1: Where does my original reference ot that class instance point to after
restarting?
Q2: How do I reset that reference that it actually points to the new
instance (since I restarted the app)?

Thanks for any hints.
Urs

Feb 1 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Paolo Losi | last post by:
Hi all, I'm pretty new to the python language so please excuse me if this is FAQ... I'm very glad to be part of the list! :-) I'm looking into a way to implement a generic workflow framework...
1
by: Equis Uno | last post by:
Hi there, I downloaded OWB_9.2.0.2.8_linux.tar.gz from here: http://otn.oracle.com/software/products/warehouse/index.html In the above download I found OWB installation documentation. In...
0
by: Bevertec | last post by:
May 26 2004 Our client is a major bank in Jamaica and they have a contract requirement for a professional with the following skills. This is a 6 months contract. It would be 3 weeks/month in...
0
by: Yatendra Khandelwal | last post by:
hi, I am a newbie to this (exchange server and workflows) and I am trying to create a test workflow app using workflow designer (office developer) and exchange 2003. I have created a workflow...
3
by: ABC | last post by:
My client request a workflow solution. They want the solution provide as: 1. Has a workflow diagram interface presents their roles, work and tasks. 2. Support .NET technologies for developers to...
3
by: Claudia Fong | last post by:
Hi I was using a console application to host the windows workflow and when I change to winforms, I don't know how to do it... I pass the parameters into the workflow from the winform and is...
3
by: =?Utf-8?B?R3JhaGFt?= | last post by:
I've added 2 tracking services to the wf runtime; one is the standard SqlTrackingService: trackingService = new SqlTrackingService(<trackingConnectionString>); <workflow...
0
by: RoninZA | last post by:
Hi all, My problem is this... I need to somehow communicate the completion of a workflow back to the calling application. The scenario is as follows: I have a "generic" workflow engine,...
11
by: Grzegorz Staniak | last post by:
Hi, In a couple of weeks I'm starting a medium-size project (using a web framework) involving a workflow implementation. Are you aware of any open source workflow engines/libraries that I could...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.