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 » Need help - Recreating process instances in MQ Workflow

Post new topic  Reply to topic
 Need help - Recreating process instances in MQ Workflow « View previous topic :: View next topic » 
Author Message
sanathkumar
PostPosted: Tue Oct 25, 2005 7:33 pm    Post subject: Need help - Recreating process instances in MQ Workflow Reply with quote

Apprentice

Joined: 01 Jul 2003
Posts: 27

Hi All,

We have process flow and running on PROD with custom client using J2EE.

We have a Release for the above process flow on PROD where we changed the completely process flow and some front end client changes(application DB changes also). As we know that existing process instances on PROD can not be changed even after we import new process model into runtime. Definitely there is going to be problem with new client release too.

We have a solution that we can re-create all existing process instances on PROD (we have around 300 process instances ) again on PROD with newly imported Process Model. We will change application DB changes accrodingly to make new client release to work.

My question is instead of recreating all again, do we have any script mechanism to recreate them with existing process instances with new process model that we import on PROD. I need to use existing process instances/workitem for the instance container variable values same to create new process instances with new Process Model.

Appreciate ur help.

Cheers,
sanath
Back to top
View user's profile Send private message
supreeth
PostPosted: Tue Oct 25, 2005 9:16 pm    Post subject: Reply with quote

Voyager

Joined: 17 May 2005
Posts: 90
Location: London

Hi,
I guess theres a simple solution to the above problem. I am not sure when you talk about production, you are just talking about production boxes used for UAT/QA or the actual live environment.

Well, If it is just a testing environment, you can as well avoid the exercise of restarting the instances.

To restart instances i can think of a solution where in u can write a simple java class which would query for all available process instances (may b u can set the filter criteria to get all instances with status running)

Have a code looping thro all the instances. Each time do the following.
1> Get the instance name and store it in a variable
2> Delete the process instance
3> create the instance with the name stored
4> end of loop


Quote:
I need to use existing process instances/workitem for the instance container variable values same to create new process instances with new Process Model.


I couldnt get what u mean by this statement. I assume it that you want all the data values set in the container to be saved. If u need it that way, think on similar grounds as the above design

keep me posted on the result

Thanks and regards,
Supreeth
_________________
Supreeth Gururaj
IBM Certified WMQ Solution Expert
Back to top
View user's profile Send private message
sanathkumar
PostPosted: Wed Oct 26, 2005 4:34 am    Post subject: Reply with quote

Apprentice

Joined: 01 Jul 2003
Posts: 27

Hi Supreeth,

I am talking about Live environment. Ok. It seems to be good solution.

So, We have to write java class to take all process instances and get the container variable values as well and delete old one and create new one and update the app DB accordingly if any.

We will plan to do on week end for this situation . Recreating all existing process instances for new process model.

Thanks for your great suggestion.

Cheers,
sanath
Back to top
View user's profile Send private message
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 » Need help - Recreating process instances in MQ Workflow
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.