Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

ACL script help

SnowDevOps
Giga Guru

Hello Team

I'm trying to write an acl script for impersonate the user on the catalog form. The script works, I'm able to pick the drop down menu for the person that I impersonated on the form. However, when I select technology and click on the drop down menu, there are no courses listed. I'm not sure how to make it appears. This is all within the form. Thanks for your help.

 

SnowDevOps_0-1712854198649.png

 

//---------------------------------------------------
logged_user = gs.getUserID();

var currentStudent = new GlideRecord('sys_user');
currentStudent.addQuery('sys_id', logged_user);
currentStudent.query();

if (currentStudent.next()) {
    if (currentStudent.email == current.email) {
        answer = true;
    } else {
        answer = false;
    }
} else {
    answer = false;
}
0 REPLIES 0