- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2016 01:26 PM
Is there a way to do a TAB in an e-mail notification script?
Here's my current script, but the \t isn't working:
var grr=new GlideRecord('risk');
grr.addQuery('task', current.project);
grr.orderBy('u_number');
grr.query();
while(grr.next()){
template.print(grr.short_description + "\n");
template.print("\t" + "Likelihood: " + grr.probability.getDisplayValue() + "\n");
template.print("\t" + "Severity: " + grr.u_severity_of_impact.getDisplayValue() + "\n");
template.print("\t" + "Plan of Action: " + grr.state.getDisplayValue() + "\n");
template.print("\n");
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2016 01:35 PM
As far as I know you cannot use tab character. Instead use this template.space(8);

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2016 01:35 PM
As far as I know you cannot use tab character. Instead use this template.space(8);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2016 01:50 PM
I went digging through other notif scripts and ran across that. Verified it works. Thanks!