Universal Request access_hyperlink

PLakin1
Tera Guru

We are planning to move to Universal Requests as the primary ticket type for users.

I'm attempting to copy the default access_hyperlink mail script and alter it so that when an incident becomes resolved, the affected user receives a notification about the related Universal Request record.

 

Below are the original script and my new, updated script. Could someone help me figure out why it is failing? The variables seem to check out from my background script testing.

 

Original access_hyperlink:

PLakin1_0-1698424497419.png

New, modified access_hyperlink_ur_incident:

PLakin1_1-1698424570380.png

The only real difference are the top two lines:

    var tbl = universal_request;
    var sysID = current.universal_request;
 
Any help is appreciated! Thanks!
1 ACCEPTED SOLUTION

-O-
Kilo Patron
Kilo Patron

I "believe" you meant to write:

var tbl = 'universal_request';

vs.

var tbl = universal_request;

on line 3.

View solution in original post

3 REPLIES 3

-O-
Kilo Patron
Kilo Patron

I "believe" you meant to write:

var tbl = 'universal_request';

vs.

var tbl = universal_request;

on line 3.

-O-, you are 100% correct and I don't know how I missed it. I guess I just was looking for something more complicated and needed to step away from it for a bit.

 

Thank you very much, you probably saved me a bunch of wasted time!

You're most welcome 🙂