Unable to run pdm_kit command to load knowledge with some documents already present in the system; error message AHD10350

Document ID : KB000026133
Last Modified Date : 14/02/2018
Show Technical Document Details

Problem: 

If we try to load knowledge documents by running the command pdm_kit, and if the load has some documents which are already in the system which are in published state we not be able to load the data successfully and get the following error in the stdlog:
Error in method INVALID AHD10350: Changes to published documents are not allowed, to edit the document you must unpublish it first.

Environment:  

CA Service Desk 12.x, 14.1

Windows, Linux, Unix

Cause: 

This happens because the document is in published state and if the client cannot afford to unpublish each document manually or would like to load with the document in published state we can follow the following steps to be able to load even if the documents are in published state.

Resolution:

1. Go to Administration tab and click on Knowledge.

2. Expand Approval Process Manager and click on Approval Process Settings.

3. Now change the setting for Permissions for Document Edit after Publish to "User with full permissions may edit documents after they have been published".

4. Click on Save.

5. Rerun pdm_kit and it should work.