When I use maileater to update a closed ticket, I get the error AHD58005 and the ticket is not updated.
search cancel

When I use maileater to update a closed ticket, I get the error AHD58005 and the ticket is not updated.

book

Article ID: 26028

calendar_today

Updated On:

Products

CA Service Desk Manager CA Service Management - Service Desk Manager

Issue/Introduction

When an e-mail is sent to the maileater e-mail address to update a ticket, by default it will only look at active tickets.

If you send an e-mail which is intended to update a closed, and therefore inactive, ticket, the following message would be received in the returned e-mail:

AHD58005: Update_Only operation requested with no matching rows. Cannot continue processing!

Environment

Release: SDM 14.x - 17.x

Resolution

In order to use maileater to update closed tickets, the following line must be included in the $NX_ROOT\NX.env file:

@NX_EMAIL_ALLOW_UPDATE_ON_INACTIVE=1

To add that line to NX.env, and to avoid losing the change when you run pdm_configure, DO NOT manually edit the NX.env file; instead, run the following two commands:

pdm_options_mgr -c -s EMAIL_ALLOW_UPDATE_ON_INACTIVE -v 1 -a pdm_option.inst

pdm_options_mgr -c -s EMAIL_ALLOW_UPDATE_ON_INACTIVE -v 1 -a pdm_option.inst -t

Run the above commands on each CA Service Desk Manager server in your environment.

Next, stop each of the CA Service Desk Manager services and restart them in the required order.