The TableSpec that creates the business process parameter table contains a delete trigger to delete related rows within the BusinessProcessInstanceTable.