Skip to content

Commit ee0da10

Browse files
authored
Show Open Incident of caller
Show Open Incident of caller
1 parent 24da1e0 commit ee0da10

File tree

1 file changed

+16
-0
lines changed
  • Client-Side Components/UI Macros/Show Open Incident of Caller

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">
3+
4+
<img src='sn_tile_icon/now-checklist.svg' stype='width=5%,height:5%' onclick="showopentckts()" title="Show Open Incident of me"></img>
5+
6+
<script language="javascript">
7+
function showopentckts(){
8+
var name=g_form.getValue("caller_id");
9+
var tableName='incident';
10+
var url=tableName+'_list.do?sysparm_query=caller_id='+name+'^stateNOT IN7,8';
11+
window.open(url,'OpenIncident',"popup");
12+
}
13+
14+
</script>
15+
16+
</j:jelly>

0 commit comments

Comments
 (0)