Deleting a Workflow Template Using a Loader
You can delete workflow templates using a loader only in the development environment. This loader file is located in the <Windchill> folder and is run from the Windchill shell. The loader can be run in two modes:
1. ALL — Deletes all iterations of the workflow templates.
2. LATEST_ITERATION — Deletes only the latest iteration of the workflow templates.
Below is an example of the loader file:
<?xml version="1.0"?>
<!DOCTYPE NmLoader SYSTEM "standard13_0.dtd">
<NmLoader>
<csvWfProcessTemplateDelete
handler="wt.workflow.definer.LoadWorkflow.deleteWfProcessTemplate">
<csvTemplateName>11_WFT</csvTemplateName>
<csvcontainerPath>/wt.inf.container.OrgContainer=Demo Organization/wt.pdmlink.PDMLinkProduct=GOLF_CART</csvcontainerPath>
<csvdeleteOption>LATEST_ITERATION</csvdeleteOption>
</csvWfProcessTemplateDelete>
</NmLoader>
To run the loader from the Windchill shell, use the following command:
windhill wt.load.LoadFromFile -d ../LoadWorkflow_DeleteWorkflow.xml -u wcadmin -p wcadmin
Deploy Customization on Development Environment
For information on the CCD process for deployment, see Deploy Your Customizations on Your Development Environment.
Prepare CCD Package for Promotion
For information on the CCD process for promotion, see Deploying Code and Configuration Package.
Was this helpful?