deleteInvalidTaskTemplate.py administrative script
Use the deleteInvalidTaskTemplate.py administrative script to delete, from the database, human task templates that are no longer valid.
The deleteInvalidTaskTemplate.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 was not stored in the configuration repository by the user. These templates usually have no impact. They are not shown in Business Process Choreographer Explorer.
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.
Prerequisites
The following conditions must be met:- Run the script in the connected mode, that is,
do not use the wsadmin
-conntype noneoption. - 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 profileoption to specify the profile.
Location
install_root\ProcessChoreographer\admin

install_root/ProcessChoreographer/adminSyntax

install_root/bin/wsadmin.sh
install_root\bin\wsadmin
-f deleteInvalidTaskTemplate.py
-cluster cluster_name
-templateName templateName
-validFromUTC timestamp
-nameSpace nameSpaceParameters
- -f
- This parameter specifies the script file to run.
- -cluster clusterName
- The name of the cluster where Business Process Choreographer is configured. In a multicluster setup, you must specify the application cluster because that is where Business Process Choreographer is configured.
- -templateName templateName
- The name of the template to be deleted.
- -validFromUTC timestamp
- The date and time from which the template is valid in Coordinated
Universal Time (UTC). The string must have the following format:
yyyy-MM-ddThh:mm:ss(year, month, day, T, hours, minutes, seconds). For example,2005-01-31T13:40:50 - -nameSpace nameSpace
- The target namespace of the task template.