this is my work dev instance, and here is the script I'm and trying to run

 

function QueryUAT()
{
var gr = new GlideRecord('u_user_access_list');
gr.addQuery('u_user', 'bdb4e9601341b2006bda75c36144b062');
gr.addQuery('active', true);
gr.query();
while(gr.next())
{
uat_software_string += gr.u_service + ',';
uat_software_string_display += gr.u_service.getDisplayValue() + ',';
}

uat_software_array = uat_software_string.split(',');
uat_software_array.length --;

uat_software_array_display = uat_software_string_display.split(',');
uat_software_array_display.length --;
gs.addInfoMessage("Current Software - " + uat_software_array_display.toString());
}

 

output for current software is nothing, when running it from employee history application, when I run it on global I get the output of one application (which is all it should have) of Slack.