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
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,12 @@
//Used to automate the application of template when additional fields are required for a process. ex. incident, change etc.

//Template
// Navigate to System Definition > Templates and create new template
// Fill Name, Table, short description, and Template fields.

//Business Rule
// Navigate to System Definition > Business Rule and create a new rule
// Configure the trigger condition and when to run to meet your business need.
// Advanced table: Input script and replace place holder variable values.
// var templateName = "Your Template Name"; //replace template name
// current.applyTemplate(templateName);
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,10 @@
// Before Business rule applied on Glide Record Table ex. story[rm_story].


(function executeRule(current, previous /*null when async*/) {

// Auto Apply Template on Glide Record Table: Story
var templateName = "Story creation"; //replace template name
current.applyTemplate(templateName);

})(current, previous);
Loading