Trigger errors in stdlog
search cancel

Trigger errors in stdlog

book

Article ID: 104054

calendar_today

Updated On:

Products

CA Service Desk Manager CA Service Management - Service Desk Manager

Issue/Introduction

We saw following in the stdlog on restart of SDM:

07/02 17:27:28.85 sdm-server domsrvr:wsp 4928 ERROR domdict.c 1683 position (100) for trigger chg::z_post_val_category_modified is the same for trigger chg::z_site_sla_processing

07/02 17:27:28.86 sdm-server domsrvr:wsp 4928 ERROR domdict.c 1683 position (100) for trigger cr::z_post_val_category_modified is the same for trigger cr::z_site_sla_processing

Environment

Release:  All releases of SDM

Cause

The reason for this kind of error is the triggers have the same sequence number.

In the example showed above, both triggers have the same sequence number 100

Resolution

To resolve, please follow these steps

  1. Identify which trigger you would like to run first and which one run later

  2. For the one that you would like run later, edit the mod file to move up the sequence number. For example, in the example above, you may want to move up the sequence number of z_site_sla_processing from 100 to 200, assuming there is no other trigger taking this sequence already.

    The mod file is located in SDM-root-dir\site\mods\majic, and it is wsp.mods if you use WSP for the custom trigger definition, or some other file with mod extension if you manually do the trigger definition. And to display the trigger list, you can run command
        bop_sinfo -t obj-name

        For example, "bop_sinfo -t chg"

  3. Recycle SDM/CMDB