CA Service Management

  • 1.  Check group membership in spel code

    Posted Dec 19, 2017 11:45 PM

    Group assignment for a ticket needs to be done based on the group to which the log agent belongs.

    How to check the group membership in a spel code?



  • 2.  Re: Check group membership in spel code

    Posted Dec 20, 2017 08:30 AM

    Hi Chirag,

    Custom spelcode is out of the scope of support, BUT, I wanted to share some links with you that might help you out here:

    Where can I find Spel functions documentation? 

    SPEL API: Overview 

    SPEL API: Lessons 

    There may be folks out here who have gotten something like this to work, and they may be willing to share their info with you!

    Can anyone help Chirag out here?

    Thanks,

    Jon I.



  • 3.  Re: Check group membership in spel code
    Best Answer

    Posted Dec 20, 2017 09:42 AM

    Just created the following techdoc get_group_list  



  • 4.  Re: Check group membership in spel code

    Posted Dec 20, 2017 10:02 AM

    Nice Gutis !

    @chiragmunje  - that should help you



  • 5.  RE: Re: Check group membership in spel code

    Posted Aug 02, 2023 06:12 AM

    Hi,

    Can someone pls help me? We are trying to implement this spel code to check if particular user is in specific group and if he is, give him rights to change ticket type. I am trying to implement this get_group_list first but I get error get_group_list_for_userid:NOT Found or even I can't login to SDM because something is wrong in spel code. Can someone pls give me some hint?

    BR,

    Bruno Zidarević




  • 6.  Re: Check group membership in spel code

    Broadcom Employee
    Posted Dec 22, 2017 01:14 PM

    Chirag......

     

    Did the document Giedrius create (get_group_list ) help you?

     

    If so, please mark that answer as correct!