Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This script basically updates the Description in Incident table which includes some text but added telephone icon using the script, so that it looks fascinating.
This includes screenshot as well where it shows telephone icon concatenated with specific meaningful string.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// Update description with telephone icon with specific meaningful description concatenated
(function executeRule(current, previous /*null when async*/) {

try {
//code to execute goes here
var myTelephone = "\u260E"; // Create the telephone icon
if (current.description == "") {
current.setValue('description', "You really should " + myTelephone + " home more often."); // Update the description in concatenation with telephone icon script
}
} catch (err) {
//code to handle error goes here
gs.error("A runtime error has occurred: " + err);
}

})(current, previous);
Loading