Deleting process templates that are no longer valid
Use the deleteInvalidProcessTemplate.py administrative script to delete, from the Business Process Choreographer database, BPEL process templates that are no longer valid.
Before you begin
You must know both the name of the template and the ValidFromUTC value for the template that you want to delete. If you do not have that information, perform Listing information about process and task templates first.
The following conditions must be met:- Run the script in the connected mode, that is, do not use the wsadmin -conntype none option.
- You must have either operator or deployer authority.
- At least one cluster member must be running.
- If you are not working with the default profile, use the wsadmin -profileName profile option to specify the profile.
About this task
The deleteInvalidProcessTemplate.py script removes from the database those templates, and all objects that belong to them, that are not contained in any corresponding valid application in the WebSphere® configuration repository. This situation can occur if deploying an application was canceled or the application not stored in the configuration repository by the user. These templates usually have no impact. They are not shown in Business Process Choreographer Explorer.
There are rare situations in which these templates cannot be filtered. They must then be removed from the database with the following scripts.
You cannot use this script to remove templates of valid applications from the database. This condition is checked and a ConfigurationError exception is thrown if the corresponding application is valid.