Jump to content

Recommended Posts

Hoping for a some pointers as to why the cleaner utility isn't completing for us. The output we get when we run the tool is:

 

===== Hornbill Cleaner Utility v1.11.1 =====

 Hornbill instance: lmco

 WARNING!

 This utility will attempt to delete records from the following entities

 as specified in your configuration file: 

 * Requests (and related data)

 Are you sure you want to permanently delete these records? (yes/no):

yes

Are you absolutely sure? Type in the word 'delete' to confirm...

delete

getApplicationList MethodResult failed:Invalid session. Please establish a session first

getRecordCount MethodResult failed for h_itsm_requests:Invalid session. Please establish a session first

There are no requests to delete.

===================================

Our conf looks like:

{
    "CleanRequests": true,
    "RequestServices":[
1,
],
    "RequestStatuses":[
"status.closed"
],
    "RequestTypes":[
"Service Request"

],
    "RequestReferences":[
    ],
    "RequestLogDateFrom":"2020-07-29 00:00:00",
    "RequestLogDateTo":"-P10D2H3M4S",
    "RequestClosedDateFrom":"2020-06-29 00:00:00",
    "RequestClosedDateTo":"2020-07-29 00:00:00",
    "CleanAssets": false,
    "AssetClassID": "",
    "AssetTypeID": 0,
    "CleanUsers":false,
    "Users":[]
}

Link to post
Share on other sites

Hi @NickH

Did you get this working in the end?
This may be to do with:

1) The command you are running
2) Possibly the date criteria you have added

We will be in touch to discuss

Kind Regards

Bob Dickinson


 

  • Like 1
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...