On-call callout from Alert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2024 06:16 AM - edited 07-08-2024 07:18 AM
Call out feature is available for incident but not for the alert. I have tried to implement the same for the alert as well.
below i would try to demonstrate the same.
First type on-call ---> trigger rules in navigation panel
when you create a new record, you wont be able to find alert table in drop down.
to add alert to table drop down, we have to add this in trigger_rule_table_cfg table.
or search for Trigger Rule Table Config in navigation panel.
Here you need to create a new value for alert table. below is the screenshot
Now we can create an entry in trigger rules.
You can now see below that alert table is appearing
There are some conditions which we need to define. so here i hav defined only trigger for MAJOR severity alerts.
2nd tab is What action to take.
We have few OOTB workflows which can be used in here but we have to make changes to them.
1) On-Call: Assign by Acknowledgement
2) On-Call: Assign by Acknowledgement per Rota
We can copy & create new workflows and we have to make changes in scripts.
Changes needed in On-Call: Assign by Acknowledgement
Is the task already assigned? in following step needed to make changes as per alert table. Line 6 -11 below need to be replaced
if (JSUtil.notNil(currentUser) || current.state=='Closed') {
var message;
if (current.state=='Closed')
message = gs.getMessage("Escalation plan has been cancelled as {0} has been closed", [current.getTableName()]);
if (currentUser)
message = gs.getMessage("Escalation plan has been cancelled as {0} has been assigned", [current.getTableName()]);
just need to update the new workflow name in here
workflow: 'Alert On-Call: Assign by Acknowledgement per Rota'
1) in step Run 'On-Call: Assign by Acknowledgement' for Groups, we need to update sys id of 1st workflow we created.
need to make changes in script line 4-6
var userField = workflow.inputs.trigger_user_field;
if (current.getElement(userField).nil() && (current.state=="Closed"))
return "no";