Products | Versions |
---|---|
TIBCO BPM Enterprise (formerly TIBCO ActiveMatrix BPM) | - |
Not Applicable | - |
Description:
bpm-db-cleanup scripts for a version are generated using the application template from the Administrator staging directory. The Administrator staging directory is configured under the element <admin.repo> in build.xml. If the application template is deleted, it is deleted from the staging directory and bpm-db-cleanup scripts cannot be generated.
If the application template is not available in the staging area but the original DAA is still available, then the contents of the original DAA can be extracted to a temporary location and referenced in the BPM clean-up script ant task in the same way as the staging folder.
Prior to deleting any rows in the database, it is highly recommended to,
- Install the stored procedure by running the "CREATE OR REPLACE" command.
Example for Microsoft SQL Server.
======= delete_mssql_skeleton.sql
.................
..............
--
-- Insert generated SQL here
--
EXECUTE
amxbpm.pvm_drop_rows '/WelcomeUsersImplementSolution/Process
Packages/ProcessPackage.xpdl','11.10.10.20151207152355010', 1000;
DROP PROCEDURE amxbpm.pvm_drop_rows
GO
DROP PROCEDURE amxbpm.bpm_delete_work_items
GO