We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Escalate button to send the notification from incident

Learn SN
Tera Contributor

Hi Experts,

 

I have a button ( UI ACTION) called escalate on incident form. I want that when i click that escalate button, escalation email goes to assigned to 's manager and assignment group's manager.

Can someone help me achieving this ?

 

Thanks!

 

1 ACCEPTED SOLUTION

OK, if you want a popup you'll need to go to the client but you can still show an info message with the server:

gs.eventQueue('escalate_incident', current, current.assigned_to.manager, current.assignment_group.manager);
gs.addInfoMessage("Your incident is escalated");
action.setRedirectURL(current);

View solution in original post

15 REPLIES 15

madhavraj89
Tera Contributor

I have same requirement in sn_bcp_plan table when the admin click escalated ui action button then the state automatically set to escalated choice and i need to send the notification to the plan owner and IT support manager how to do where we need to write script exactly

You wrote above script

gs.eventQueue('escalate_incident', current, current.assigned_to.manager, current.assignment_group.manager);
gs.addInfoMessage("Your incident is escalated");
action.setRedirectURL(current);

 where we need to put this script i am confusing please provide best solution.

Thanks
Madhav