SLA - Possible to report on 'Assignment group' assigned when SLA Task record breached SLA (Breach = True)?

henrikloman
Giga Contributor

Is it possible to report on 'Assignment group' assigned when SLA Task record breached SLA (Breach = true)?

In other words, if I would like to know which Group was assigned to a record during the moment of breaching then what is the best way to extract this information?

Grateful for advise:)

H

1 ACCEPTED SOLUTION

Jaspal Singh
Mega Patron
Mega Patron

Hi Henrik,

 

OOB there isn't field that captures Assignment Group when SLA was breached. All you can do is to get a Breach Assignment Group field created on Task_sla table & then create a Business rule on Task_sla table that runs when Has Breached changes to True & then capture the Assignment Group field value in Breach Assignment Group field.

 

Thanks,

Jaspal Singh

 

Hit Helpful or Correct on the impact of response.

View solution in original post

11 REPLIES 11

Hi Jaspal,

Can you help with the code here please? Thanks in advance.

 

Regards

Hello Jaspal,

Can we please get the BR for the same if possible.

 

Regards,

Uday

Paji please share the code my one is not working

 

(function executeRule(current, previous /*null when async*/) {
if (current.has_breached == true)
{
    current.u_breachgroup = current.assignment_group;
    current.update();
}
})(current, previous);

BR is on which table?