CA Service Management

  • 1.  How can I create an activity_log with defined Type via Text_Api ?

    Posted Oct 27, 2016 10:20 AM

    Hi,

    I create and update Incidents with TextApi via perl script. That works.

    Now we need for these tickets a special entry in the Activity_Log.

    Is it possible to define, maybe so:    print TXTAPI  "%xxxx = $actlog_code\n"; ? I didn't found an keyword for this case.

    Or I have to use spel code?

    Thank you for answers and regards



  • 2.  Re: How can I create an activity_log with defined Type via Text_Api ?

    Posted Oct 27, 2016 11:15 AM

    Hi Horst,  I believe you would have to use spelcode for this as we dont have a trigger out of the box to set a specific code that you can change on the fly.



  • 3.  Re: How can I create an activity_log with defined Type via Text_Api ?

    Posted Oct 27, 2016 11:39 AM

    Hi John,

    thanks for your answer. I will write some rows for spel.

    I was not sure whether there is such a possibility.
    Maybe it's a suggestion for CA a key to create into the text_api.cfg.
    For example:
    INCIDENT. ACTIVITY_LOG_TYPE = string.type::description
    ???
    Best Regards


  • 4.  Re: How can I create an activity_log with defined Type via Text_Api ?

    Posted Oct 27, 2016 01:09 PM

    Hi Boho,

     

    I published a document that shows how to automatically generate contact activity logs when group membership is changed.  It seems like you have a similar use case for the cr activity log, the spel code in my document may give you a head start.

    Tracking Group Membership Changes via Contact Activity Log 



  • 5.  Re: How can I create an activity_log with defined Type via Text_Api ?

    Posted Oct 28, 2016 03:36 AM

    Hi,

    if you're using scripts to perform batch operations, I recommend to check bop_cmd functionality.

     

    I have attached an example script with 2 functions:

    batch_viol - performing search by whereclause and passes object to proc_viol;

    - proc_viol - updating incoming object and creates act_log.

     

    Also attached script (gen_cr.frg) to perform ticket creation depending on free amount of attributes.

     

    BTW if you like perl you can combine spel and perl, check this doc: SPEL How to Execute Remote Reference via Perl code 

     

    Regards,

    cdtj

    Attachment(s)

    zip
    gen_cr.frg.zip   953 B 1 version
    zip
    sla_viol.frg.zip   1 KB 1 version