Skip to content

Commit 735faeb

Browse files
authored
Create myTicketApprovalLink.js
1 parent 12b0a2e commit 735faeb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// Create a custom field on the ticket table to show ticket approval pending me
2+
// Display Business Rule on a custom field
3+
(function executeRule(current, gScripting) {
4+
if (current.custom_field) {
5+
current.custom_field = '<a href="' + ${URI_REF} + '/sysapproval_approver_list.do%3Fsysparm_query%3Dsysapproval%253D' + current.sys_id + '%255Estate%253Drequested%255EapproverDYNAMIC90d1921e5f510100a9ad2572f2b477fe%26sysparm_first_row%3D1%26sysparm_view%3D" target="_blank">Pending My Approval</a>';
6+
}
7+
})(current, gScripting);

0 commit comments

Comments
 (0)