ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Handling old process instances with new template/model

Post new topic  Reply to topic
 Handling old process instances with new template/model « View previous topic :: View next topic » 
Author Message
MaheshPN
PostPosted: Thu Jun 02, 2005 8:33 am    Post subject: Handling old process instances with new template/model Reply with quote

Master

Joined: 21 May 2003
Posts: 245
Location: Charlotte, NC

Hi Guys,
Due to change in the business, we need to make a change in the existing model followed by adding new containers.
As most of the loans are long lived and will be running with old template. When the developers change the code to set new containers, its going to yell for old loans. The solution I thought was to check the version of the template before check-in. Is there any better solution or can we do something so that WF can handle automatically?

Thanks in advance!!

-Mahesh
Back to top
View user's profile Send private message
karthik
PostPosted: Thu Jun 02, 2005 10:57 am    Post subject: Reply with quote

Centurion

Joined: 17 Oct 2003
Posts: 114

Hi Mahesh

Are you saying that you are using the same code to set containers for both the old models as well as the new models.

My understanding of the template model is that the already running process instances will continue to use the same model and any new process instances created after the deployment of the new template will use the new template (based on the Valid from date on the new template).

So, if you can explain what you are trying to do here .. will give us an insight and will be more educational to all of us here as well

Thanks
Karthik
Back to top
View user's profile Send private message
MaheshPN
PostPosted: Thu Jun 02, 2005 11:12 am    Post subject: Reply with quote

Master

Joined: 21 May 2003
Posts: 245
Location: Charlotte, NC

Hi Karthik,
The application remains the same. we made the change in the underlaying model, added some new activities. So,when the application set the new container element, it has check whether the process instance is new or old before setting the new container element. As you said correctly, old instances will follow the old template and will not have the new containers I have added.
Hope this makes it clear.

thanks,
-Mahesh
Back to top
View user's profile Send private message
jmac
PostPosted: Thu Jun 02, 2005 1:19 pm    Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

Mahesh:

I generally have a "version" member that I default in the Source Container, and simply map to all activities. This is similar to what you are suggesting about checking template version, I think.
_________________
John McDonald
RETIRED
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
koko
PostPosted: Fri Jun 03, 2005 4:34 am    Post subject: Reply with quote

Master

Joined: 26 Sep 2003
Posts: 206

Guys,

I have another question related to this one.

say I have one template running till now. I modify it ( add some data, activities ) to it and let this new template take effect from tomorrow.

I may have new flows coming into my system after tomorrow which need to work according to the old template's logic. I thinking of appending the version no to the template name and treat these as two seperate flows rather than seggregate them with a version no in the source.

Am I on the right track??
_________________
Thanks

Koko
Back to top
View user's profile Send private message
jmac
PostPosted: Fri Jun 03, 2005 5:23 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

koko wrote:
Am I on the right track??


I don't think there is any other way to do this. So, yes you are on the right track.
_________________
John McDonald
RETIRED
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Handling old process instances with new template/model
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.