|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Need help - Recreating process instances in MQ Workflow |
« View previous topic :: View next topic » |
Author |
Message
|
sanathkumar |
Posted: Tue Oct 25, 2005 7:33 pm Post subject: Need help - Recreating process instances in MQ Workflow |
|
|
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 |
|
 |
supreeth |
Posted: Tue Oct 25, 2005 9:16 pm Post subject: |
|
|
 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 |
|
 |
sanathkumar |
Posted: Wed Oct 26, 2005 4:34 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|