Author |
Message
|
sarasu |
Posted: Fri Apr 28, 2006 10:27 am Post subject: Deleting all Workflow Instances |
|
|
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 |
|
 |
vennela |
Posted: Fri Apr 28, 2006 11:56 am Post subject: |
|
|
 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 |
|
 |
sarasu |
Posted: Fri Apr 28, 2006 12:36 pm Post subject: |
|
|
Master
Joined: 02 Feb 2006 Posts: 229
|
|
Back to top |
|
 |
djeripo |
Posted: Mon May 01, 2006 9:03 am Post subject: |
|
|
 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 |
|
 |
vennela |
Posted: Mon May 01, 2006 9:18 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
you cannot delete workflow objects when there are running instances. |
|
Back to top |
|
 |
jmac |
Posted: Mon May 01, 2006 11:16 am Post subject: |
|
|
 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 |
|
 |
|