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 » Deleting all Workflow Instances

Post new topic  Reply to topic
 Deleting all Workflow Instances « View previous topic :: View next topic » 
Author Message
sarasu
PostPosted: Fri Apr 28, 2006 10:27 am    Post subject: Deleting all Workflow Instances Reply with quote

Master

Joined: 02 Feb 2006
Posts: 229

Is there a command to delete all workItems or Instances from the server which are currently running (Including DataStructures and staff)?
Back to top
View user's profile Send private message
vennela
PostPosted: Fri Apr 28, 2006 11:56 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

No
You need to drop the database and recreate the configuration.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
sarasu
PostPosted: Fri Apr 28, 2006 12:36 pm    Post subject: Reply with quote

Master

Joined: 02 Feb 2006
Posts: 229

OK Thanks.
Back to top
View user's profile Send private message
djeripo
PostPosted: Mon May 01, 2006 9:03 am    Post subject: Reply with quote

Master

Joined: 25 Jan 2004
Posts: 225

I think there is another way of doing it.

Step1: export all the FDLs from runtime.
Step2: import them to Build time
Step3: mark the flows, DS and all necessary to delete status.
Step4: export the changed FDLs from Build time
Step5: import them to runtime

Now you should see all the flows deleted from runtime. But I am not sure about the running flows and instances.

May be Jmac or Vennela can help us here!!!
Back to top
View user's profile Send private message Visit poster's website
vennela
PostPosted: Mon May 01, 2006 9:18 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

you cannot delete workflow objects when there are running instances.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jmac
PostPosted: Mon May 01, 2006 11:16 am    Post subject: Reply with quote

Jedi Knight

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

djeripo wrote:
I think there is another way of doing it.

Step1: export all the FDLs from runtime.
Step2: import them to Build time
Step3: mark the flows, DS and all necessary to delete status.
Step4: export the changed FDLs from Build time
Step5: import them to runtime

Now you should see all the flows deleted from runtime. But I am not sure about the running flows and instances.


The only way to get rid of the instances which are running is to either forceFinish/delete them with the api. Once all the running instances are gone I believe you will be able to remove the Process Models, followed by the Programs, and the Data Structures. For Staff you would have to remove Organizations and Roles prior to removing users.

IMHO Vennela has the proper approach... just remove the DB and create a new one. I generally use the Configuration utility to do this.
_________________
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 » Deleting all Workflow Instances
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.