Clarity Service Management

Expand all | Collapse all

spel code for attaching event on cr object

  • 1.  spel code for attaching event on cr object

    Posted 02-03-2016 12:46 AM

    Hi Experts,

     

    I need help to write a spel code for attaching event on cr object whenever status changes from A to B.

    SD version 14.1.

     

    Please help and suggest document for the same, if anyone having similar customization please help me with spl or mod files.



  • 2.  Re: spel code for attaching event on cr object

    Posted 02-03-2016 02:54 AM

    Hi Nabeelasifkhan,

    This is the one thread which i found related to attaching event using spel code. please check if this may be of any help.

    http://www.servicedeskusers.com/SPELL_CODE_to_to_add_event_at_50%25_and_75%25_of_the_time_between_schedule_start_time_and_duration.

     

    ~Vinod.



  • 3.  Re: spel code for attaching event on cr object

    Posted 02-03-2016 03:01 AM

    Hi check this post SPEL EVENT methods



  • 4.  Re: spel code for attaching event on cr object

    Posted 02-03-2016 03:06 AM

    And your trigger should look like this

     

    POST_VALIDATE your_script() 4013 FILTER(EVENT("UPDATE") && status{'OP'->'RE'});