CA Service Management

  • 1.  How to reference a contact UUID in the wsp.mods file

    Posted Jul 10, 2012 03:43 PM
    Hello everybody,

    I doing a customizations in CA Service Desk Manager 12.5 where I want to execute a SPL code when some conditions are verified for ALG object. Basically, I want to execute that SPL code when a new record is registered in the Activity Log Tab and that record is a internal activity, the type as Update Status and it's registered by a specific analyst. I did some tests without the analyst condition and the code was executed successfully but I added the analyst in the condition in many ways never I was able to run the SPL code. I used analyst == U'6718E6E35C43844BA82FCED4A22ABA07' or analyst == "6718E6E35C43844BA82FCED4A22ABA07" but never it worked.
    So, when I try with this, the code was executed:

    OBJECT alg {
    TRIGGERS {
    PRE_VALIDATE newinternal() 111 FILTER(EVENT("INSERT") && internal==1 && type == "ST"
    };
    };

    But when I added the analyst, it never worked:


    OBJECT alg {

    TRIGGERS {
    PRE_VALIDATE newinternal() 111 FILTER(EVENT("INSERT") && internal==1 && type == "ST" && analyst == "6718E6E35C43844BA82FCED4A22ABA07")
    };
    };

    Please, can someone tell me how to I need to reference the UUID in the wsp.mods file in order to execute the condition?

    I need this as soon as possible, so I would appreciate any idea about this.

    Thanks and Regards.

    Pablo Mazzitelli


  • 2.  RE: How to reference a contact UUID in the wsp.mods file

     
    Posted Jul 12, 2012 01:53 PM
    Hi All,

    Anyone have any ideas here for Pablo?

    Thanks!
    Chris


  • 3.  RE: How to reference a contact UUID in the wsp.mods file

    Posted Jul 18, 2012 03:31 PM
    Can someone help me on this?

    Thanks!!


  • 4.  RE: How to reference a contact UUID in the wsp.mods file

    Posted Jul 18, 2012 03:31 PM
    Can someone help me on this?

    Thanks!!


  • 5.  RE: How to reference a contact UUID in the wsp.mods file

    Posted Jul 20, 2012 02:59 PM
    Have you thought about moving your condition to test for analyst into your SPEL code instead? It means your method is called more often but I don't think that would represent an unusual load. In SPEL could also reference the analyst's userid (dotted notation) instead of id.


  • 6.  RE: How to reference a contact UUID in the wsp.mods file

    Posted Sep 20, 2012 04:53 AM
    Hi Pablo,

    it would be easiest to check for the analyst in a short if statement inside the SPL code.
    Have you found a solution yet?

    Regards
    Daniel