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);
}