CA Service Management

Expand all | Collapse all

How can do the audit trail when updating cr field?

Lindsay_Estabrooks

Lindsay_EstabrooksMar 31, 2017 04:11 PM

vinicius.matos

vinicius.matosMar 31, 2017 04:15 PM

  • 1.  How can do the audit trail when updating cr field?

    Posted Mar 31, 2017 03:01 PM

    Following the  TEC1610967 the Audit Trail for CR and looking for symptom_code was created:

     

    // Add to Call Request object.
    OBJECT cr {/
         TRIGGERS {
              // log field changes for custom attributes
              POST_CI audit_fields_site(persistent_id, audit_userid, ref_num, CHANGED_ONLY,
                                            attr, attr, symptom_code) 51
                   FILTER( EVENT("UPDATE(NX_AUDIT_UPD)") );
         };
    };

    and  after that i Restarted the ServiceDesk service but doesn't work.

     

    https://www.ca.com/us/services-support/ca-support/ca-support-online/knowledge-base-articles.tec1610967.html 

    https://www.ca.com/us/services-support/ca-support/ca-support-online/knowledge-base-articles.tec616368.html 

     

    What a need to do?

     

    My neeed:

    Register on Log the symptom_code updates



  • 2.  Re: How can do the audit trail when updating cr field?

    Posted Mar 31, 2017 04:11 PM

    What release of Service Desk?



  • 3.  Re: How can do the audit trail when updating cr field?

    Posted Mar 31, 2017 04:15 PM

    14114103G900



  • 4.  Re: How can do the audit trail when updating cr field?
    Best Answer

    Posted Mar 31, 2017 07:55 PM

    I suggest you not use TEC1610967 as that is meant for the cnt object only.

     

    Do follow TEC616368.

    In the Site-defined UI_INFO I used +AUDITLOG()

    Make sure you create an Activity Association like this one (there is not one defined OOTB):

    Cheers,

    Lindsay