CA Service Management

Is it possible to get the time and date of ticket when assigned to a group?

  • 1.  Is it possible to get the time and date of ticket when assigned to a group?

    Posted Nov 09, 2018 02:49 AM

    My goal here is, I want to check/compare if the ticket is assigned to a group and the ticket was held up about 3 days in their queue using a macro condition included to an event will trigger which will send a notification. 

     

    my idea for the logic of the condition macro is like this: 

     

    int assignedtimedate 

     

    if (group != prev_group && ((assignedtimedate - now()) <= 259200)){

    set_return_data(FALSE);

    else

    set_return_data(TRUE);

    }