'sn_connect.Queue' API is returns 'undefinedDescription'sn_connect.Queue.get() is not working in Scoped application. When used it in scoped application, it returns "undefined".Steps to Reproduce The Advanced Work Assignment (com.glide.awa) plugin must be enabled. Log in to the affected instance (By default the scope will be 'global').Navigate to System Definition > Scripts - Background.Run the following script and note the result:var queue = sn_connect.Queue()gs.info(queue);Switch to a scoped application, (for example, Customer Service).Run the script again and notice the result will be 'Undefined'.WorkaroundImport the attached XML "sys_trigger_6043d4e0db8f8490650c3ec8f49619e9.xml" on the affected instance, this will create a sys_trigger record with below script and it will run for every one minute to make sure that "com.glide.connect.scriptable" plugin is in good shape, function validateConnectQueue() {var connectQueueCheck = sn_connect.Queue();if(!connectQueueCheck) {gs.print("PRB1386331: Running connect plugin repair for com.glide.connect.scriptable, Queue object is " + connectQueueCheck);var repairQueue = new GlidePluginManager();var plugin = repairQueue.repairPlugin('com.glide.connect.scriptable');}}validateConnectQueue(); When you upgrade to the "Fixed in" version of this problem, please make sure to remove the above workaround from your instances. Related Problem: PRB1386331