Removing workflow state from a workflow template

Does anyone know how to remove a workflow state from aworkflowtemplate after the workflow is used, I have deleted anddestroyedevery file that ever had the state I am trying toremove.

SolidworksSolidworks Pdm enterprise Pdm