<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: GlideAjax and AbstractAjaxProcessor in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/glideajax-and-abstractajaxprocessor/m-p/1891876#M548802</link>
    <description>&lt;P&gt;HI Sidarth...&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;i am using &lt;STRONG style="font-size: 12.6px; font-family: arial, sans-serif; color: #999999;"&gt;global.&lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt;AbstractAjaxProcessor &amp;nbsp; then also its giving same error...&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;STRONG style="color: #666666; font-size: 12.6px; font-family: arial, sans-serif;"&gt;can you please help me in this.. &lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;STRONG style="color: #666666; font-size: 12.6px; font-family: arial, sans-serif;"&gt;my script include..&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;var counttest = Class.create();&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;counttest.prototype = Object.extendsObject(global.AbstractAjaxProcessor, {&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; counttest: function() {&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; vgs.log ('AAAA:This script is executing');&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var gr = new GlideRecord('incident');&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gr.query();&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(gr.next())&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; { //Added this one&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var datedif = gs.dateDiff(gr.sys_created_on,gs.nowDateTime(), false);&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gs.log('AAAA:'+datedif);&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return datedif;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;},&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;type: 'counttest'&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;});&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 01 Sep 2016 04:33:55 GMT</pubDate>
    <dc:creator>s_kumar</dc:creator>
    <dc:date>2016-09-01T04:33:55Z</dc:date>
    <item>
      <title>GlideAjax and AbstractAjaxProcessor</title>
      <link>https://www.servicenow.com/community/developer-forum/glideajax-and-abstractajaxprocessor/m-p/1891867#M548793</link>
      <description>&lt;P&gt;I am attempting to call a script include from &amp;nbsp; a client script. &amp;nbsp; The script include is working in both one of my business rules and from a UI Action. &amp;nbsp; I made modifications for the script include to include the GlideAjax constructor then created the Client Script to use the AbstractAjaxProcessor. &amp;nbsp; As soon as I do this I get the error shown below. &amp;nbsp; I was sure to check the client callable checkbox. &amp;nbsp; &amp;nbsp; I am working within the scope of an application and tried both options of the &lt;EM&gt;&lt;STRONG style="color: #3d3d3d;"&gt;Accessible from&lt;/STRONG&gt;&lt;/EM&gt; field, (i.e. "All Application Scopes" and "This Application Only"), with no luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After attempting to troubleshoot my script I thought I would try the one from the Wiki article. &amp;nbsp; The very simple "HelloWorld" example. &amp;nbsp; I was thinking this and some of the other examples might shed light on where I went wrong. &amp;nbsp; Low and behold I get the same error and a null message for my response. &amp;nbsp; I am attempting this in a Fulji instance in an onChange client script. At one point I even copied and pasted the code "as is" from the Wiki and tried that, but unfortunately it too returned this error. &amp;nbsp; Below is the code I am currently attempting to get working. &amp;nbsp; Does anyone have a clue as to what the issue might be ? ... this is as simple as it gets. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/55722iBF118A03E31D5164/image-size/large?v=v2&amp;amp;px=999" srcset="/community/image/serverpage/image-id/55722iBF118A03E31D5164/image-size/large?v=v2&amp;amp;px=999 1.0x" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Client Script:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function onChange(control, oldValue, newValue, isLoading, isTemplate) {&lt;/P&gt;&lt;P&gt; if (isLoading || newValue == '') {&lt;/P&gt;&lt;P&gt; &amp;nbsp; return;&lt;/P&gt;&lt;P&gt; }&lt;/P&gt;&lt;P&gt; var ga = new GlideAjax('&lt;STRONG&gt;ATest&lt;/STRONG&gt;'); &lt;SPAN style="color: #46723b;"&gt;// I believe this should define the processor from the script include&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; ga.addParam('sysparm_name','helloWorld');&lt;/P&gt;&lt;P&gt; ga.addParam('sysparm_user_name',"Bob");&lt;/P&gt;&lt;P&gt; ga.getXML(HelloWorldParse);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; function HelloWorldParse(response) {&lt;/P&gt;&lt;P&gt; &amp;nbsp; var answer = response.responseXML.documentElement.getAttribute("answer");&lt;/P&gt;&lt;P&gt; &amp;nbsp; alert(answer);&lt;/P&gt;&lt;P&gt; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Script Include:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var &lt;STRONG&gt;ATest&lt;/STRONG&gt; = Class.create();&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ATest&lt;/STRONG&gt;.prototype = Object.extendsObject(AbstractAjaxProcessor, {&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; helloWorld: function() {&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return "Hello " + this.getParameter('sysparm_user_name') + "!";&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; },&lt;/P&gt;&lt;P&gt; type: "ATest"&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2015 19:39:32 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/glideajax-and-abstractajaxprocessor/m-p/1891867#M548793</guid>
      <dc:creator>MPD</dc:creator>
      <dc:date>2015-12-22T19:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: GlideAjax and AbstractAjaxProcessor</title>
      <link>https://www.servicenow.com/community/developer-forum/glideajax-and-abstractajaxprocessor/m-p/1891868#M548794</link>
      <description>&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;try &lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt;var ga = new GlideAjax('global.&lt;/SPAN&gt;&lt;STRONG style="font-family: arial, sans-serif; color: #666666;"&gt;ATest&lt;/STRONG&gt;&lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt;'); if you are running from global scope. if in scooped app please prefix your app scope.&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Dec 2015 20:06:21 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/glideajax-and-abstractajaxprocessor/m-p/1891868#M548794</guid>
      <dc:creator>Rushit Patel2</dc:creator>
      <dc:date>2015-12-22T20:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: GlideAjax and AbstractAjaxProcessor</title>
      <link>https://www.servicenow.com/community/developer-forum/glideajax-and-abstractajaxprocessor/m-p/1891869#M548795</link>
      <description>&lt;P&gt;Hello Rushit,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I tried what you suggested. If I use the application scope I get the same error.  If I use global I get a message indicating that application scope is blocking the script call. I actually created two separate script includes, ATest written in my scope, and ATest02 written in the global scope earlier and received the same messages.  &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I receive a message indicating that "Access to Script Include Global.ATest ..." is blocked from my scope,  and the "... may be missing a global identifier" error message whenever I attempt this from my scope.  Is there a way to unblock the global scope from within my application ?&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;The idea is to enable the use of this script include from UI Actions, business rules and client scripts.  I don't really care if it's global or not, I just need it to work in my application, but it would be nice to understand why these messages persist.  My next step is to investigate the application scope and see if there is a permission or access control of some kind that might need attention.  It's all pretty vanilla, I didn't change anything but these messages make me think there might be something I need to address.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I have successfully called my script include from a business rule and a UI Action, but as I've learned GlideAjax must be use in client scripts to call a script include.  It appears that when I do get this issue worked out I'll have to change the way I call the script include from both the UI Action and the business rule, and introduce GlideAjax syntax, if I actually want one universal script include for all three script interfaces to function.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks for the suggestion.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Dec 2015 05:17:08 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/glideajax-and-abstractajaxprocessor/m-p/1891869#M548795</guid>
      <dc:creator>MPD</dc:creator>
      <dc:date>2015-12-23T05:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: GlideAjax and AbstractAjaxProcessor</title>
      <link>https://www.servicenow.com/community/developer-forum/glideajax-and-abstractajaxprocessor/m-p/1891870#M548796</link>
      <description>&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;You may find the below thread helpful.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;A title="GlideAjax: Not able to access function inside script include" __default_attr="205531" __jive_macro_name="thread" class="jive_macro_thread jive_macro" data-orig-content="GlideAjax: Not able to access function inside script include" data-renderedposition="73_8_387_16" href="https://www.servicenow.com/community?id=community_question&amp;amp;sys_id=e9eb0fe1db9cdbc01dcaf3231f9619c4"&gt;GlideAjax: Not able to access function inside script include&lt;/A&gt; &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Please let me know if you have any questions.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Dec 2015 05:47:36 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/glideajax-and-abstractajaxprocessor/m-p/1891870#M548796</guid>
      <dc:creator>Pradeep Sharma</dc:creator>
      <dc:date>2015-12-23T05:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: GlideAjax and AbstractAjaxProcessor</title>
      <link>https://www.servicenow.com/community/developer-forum/glideajax-and-abstractajaxprocessor/m-p/1891871#M548797</link>
      <description>&lt;P&gt;Yes this article is exactly what I am experiencing.  The scoping of applications is new in this release and I wonder if there might be an issue with application scopes and script includes.  &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;As mentioned in my earlier post, I created a script include in my scope and in the global scope, (i.e. Atest and Atest02).  I recreated the client side script to call the script include for ATest02, (Global scope), from a field change on the Incident form, (also Global scope).  Everything worked, I think, because everything was global.  &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I then changed the client script so that GlideAjax would call the script include from my scope, (i.e. Atest), and nothing happened.  I ensured the Access from field of the script include was set to All scopes.  It seems to me that this is just broken when it comes to private applications in Fuji.  I attempted to change protected mode to read only and then to none.  I tested the global setting by including a view name then removed that and re-enabled the global checkbox. I verified all access control permissions were granted, which according to the documentation is where application scope restrictions are enabled.  Every permission for the application was granted.  &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Quite frankly it should work without the global identifier if both scripts are part of the same scope, it did when tested in the global scope.  Based on my assessment of the parameters surrounding how the script include is constructed and configured, everything is correct, and based on the fact that the same scripts tested successfully in the global scope makes it appear as if GlideAjax is having an issue with private scopes. &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks for the reference ... I thought it was just me at first but it looks like the referenced post you provided is having all the same issues, and like me this person is testing a simple script with the debugger.  There is an indication that the function call is simply not working.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Dec 2015 06:57:56 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/glideajax-and-abstractajaxprocessor/m-p/1891871#M548797</guid>
      <dc:creator>MPD</dc:creator>
      <dc:date>2015-12-23T06:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: GlideAjax and AbstractAjaxProcessor</title>
      <link>https://www.servicenow.com/community/developer-forum/glideajax-and-abstractajaxprocessor/m-p/1891872#M548798</link>
      <description>&lt;P&gt;&lt;STRONG style="font-size: 12.6px; font-family: arial, sans-serif; color: #999999;"&gt;Hi &lt;A title="" _jive_internal="true" class="jive-username-link jiveTT-hover-user" data-avatarid="1029" data-externalid="" data-presence="null" data-userid="55577" data-username="md022762%40gmail.com" href="https://www.servicenow.com/community?id=community_user_profile&amp;amp;user=2fc15aeddb981fc09c9ffb651f96192d" style="padding: 0 3px 0 0; font-weight: inherit; font-style: inherit; font-size: 1.1em; font-family: inherit; color: #3778c7; text-decoration: underline;"&gt;Michael D'Amico&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;STRONG style="font-size: 12.6px; font-family: arial, sans-serif; color: #999999;"&gt;A slight change in your script include.&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;STRONG style="font-size: 12.6px; font-family: arial, sans-serif; color: #999999;"&gt;When you are writing script include in application scope please include global.&lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt;AbstractAjaxProcessor &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;var &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;ATest&lt;/STRONG&gt; = Class.create();&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;ATest&lt;/STRONG&gt;.prototype = Object.extendsObject(global.AbstractAjaxProcessor, {&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt; &amp;nbsp; &amp;nbsp; helloWorld: function() {&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return "Hello " + this.getParameter('sysparm_user_name') + "!";&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt; &amp;nbsp; &amp;nbsp; },&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;type: "ATest"&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;});&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;Let me know if it was helpful&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Dec 2015 08:06:24 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/glideajax-and-abstractajaxprocessor/m-p/1891872#M548798</guid>
      <dc:creator>sidarth</dc:creator>
      <dc:date>2015-12-23T08:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: GlideAjax and AbstractAjaxProcessor</title>
      <link>https://www.servicenow.com/community/developer-forum/glideajax-and-abstractajaxprocessor/m-p/1891873#M548799</link>
      <description>&lt;P&gt;Thanks ... that did the trick.  &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I had manually created the construct for the class in the script include following some documentation.  This also helps to clarify the error message but is a bit contradictory when it comes to the documentation.  There is a Wiki that indicates the scope of the application is needed and suggests that global is in reference to the global scope.  In reality this really should be part of the construct regardless of scope, and in addition to that, the "Access From" field setting and access controls on the application form will ultimately determine if the script include is actually accessible.  Overall the documentation for this product is fantastic but I found this to be a bit confusing.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks to all who assisted ... well appreciated !&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Dec 2015 19:23:20 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/glideajax-and-abstractajaxprocessor/m-p/1891873#M548799</guid>
      <dc:creator>MPD</dc:creator>
      <dc:date>2015-12-23T19:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: GlideAjax and AbstractAjaxProcessor</title>
      <link>https://www.servicenow.com/community/developer-forum/glideajax-and-abstractajaxprocessor/m-p/1891874#M548800</link>
      <description>&lt;P&gt;Hi &lt;A title="" _jive_internal="true" data-avatarid="1029" data-externalid="" data-online="false" data-presence="null" data-userid="55577" data-username="md022762@gmail.com" href="https://www.servicenow.com/community?id=community_user_profile&amp;amp;user=2fc15aeddb981fc09c9ffb651f96192d" style="font-weight: bold; font-family: arial, sans-serif; color: inherit;"&gt;Michael D'Amico&lt;/A&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;If my solution solved your problem please mark it as correct answer.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Dec 2015 05:22:18 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/glideajax-and-abstractajaxprocessor/m-p/1891874#M548800</guid>
      <dc:creator>sidarth</dc:creator>
      <dc:date>2015-12-24T05:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: GlideAjax and AbstractAjaxProcessor</title>
      <link>https://www.servicenow.com/community/developer-forum/glideajax-and-abstractajaxprocessor/m-p/1891875#M548801</link>
      <description>&lt;P&gt;You might also want to check this article out: &amp;nbsp; One of the best breakdowns of client side GlideRecord and GlideAjax &lt;A href="http://www.servicenowprotips.com/blog/2016/2/6/gliderecord-client-side-vs-server-side" title="http://www.servicenowprotips.com/blog/2016/2/6/gliderecord-client-side-vs-server-side"&gt;ServiceNow Pro Tips — GlideRecord &amp;amp; GlideAjax: Client-Side Vs. Server-Side&lt;/A&gt; &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Feb 2016 04:12:16 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/glideajax-and-abstractajaxprocessor/m-p/1891875#M548801</guid>
      <dc:creator>will27</dc:creator>
      <dc:date>2016-02-22T04:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: GlideAjax and AbstractAjaxProcessor</title>
      <link>https://www.servicenow.com/community/developer-forum/glideajax-and-abstractajaxprocessor/m-p/1891876#M548802</link>
      <description>&lt;P&gt;HI Sidarth...&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;i am using &lt;STRONG style="font-size: 12.6px; font-family: arial, sans-serif; color: #999999;"&gt;global.&lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt;AbstractAjaxProcessor &amp;nbsp; then also its giving same error...&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;STRONG style="color: #666666; font-size: 12.6px; font-family: arial, sans-serif;"&gt;can you please help me in this.. &lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;STRONG style="color: #666666; font-size: 12.6px; font-family: arial, sans-serif;"&gt;my script include..&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;var counttest = Class.create();&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;counttest.prototype = Object.extendsObject(global.AbstractAjaxProcessor, {&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; counttest: function() {&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; vgs.log ('AAAA:This script is executing');&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var gr = new GlideRecord('incident');&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gr.query();&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(gr.next())&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; { //Added this one&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var datedif = gs.dateDiff(gr.sys_created_on,gs.nowDateTime(), false);&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gs.log('AAAA:'+datedif);&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return datedif;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;},&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;type: 'counttest'&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;});&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Sep 2016 04:33:55 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/glideajax-and-abstractajaxprocessor/m-p/1891876#M548802</guid>
      <dc:creator>s_kumar</dc:creator>
      <dc:date>2016-09-01T04:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: GlideAjax and AbstractAjaxProcessor</title>
      <link>https://www.servicenow.com/community/developer-forum/glideajax-and-abstractajaxprocessor/m-p/1891877#M548803</link>
      <description>&lt;P&gt;I tried the same thing in my instance and I did not get any error.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Sep 2016 06:02:43 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/glideajax-and-abstractajaxprocessor/m-p/1891877#M548803</guid>
      <dc:creator>sidarth</dc:creator>
      <dc:date>2016-09-01T06:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: GlideAjax and AbstractAjaxProcessor</title>
      <link>https://www.servicenow.com/community/developer-forum/glideajax-and-abstractajaxprocessor/m-p/1891878#M548804</link>
      <description>&lt;P&gt;Can you let me know if you are using this in an application scope and whether client callable is selected?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Sep 2016 06:03:33 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/glideajax-and-abstractajaxprocessor/m-p/1891878#M548804</guid>
      <dc:creator>sidarth</dc:creator>
      <dc:date>2016-09-01T06:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: GlideAjax and AbstractAjaxProcessor</title>
      <link>https://www.servicenow.com/community/developer-forum/glideajax-and-abstractajaxprocessor/m-p/1891879#M548805</link>
      <description>&lt;P&gt;hey Sidarth ..&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;My application scope is global ..... and yes i have checked client callable check box ...&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;and i am also not getting any error &amp;nbsp; but the output i am getting is NULL&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Sep 2016 09:01:44 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/glideajax-and-abstractajaxprocessor/m-p/1891879#M548805</guid>
      <dc:creator>s_kumar</dc:creator>
      <dc:date>2016-09-01T09:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: GlideAjax and AbstractAjaxProcessor</title>
      <link>https://www.servicenow.com/community/developer-forum/glideajax-and-abstractajaxprocessor/m-p/1891880#M548806</link>
      <description>&lt;P&gt;Just remove the global. Refer to the modified script below:&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;var counttest = Class.create();&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;counttest.prototype = Object.extendsObject(AbstractAjaxProcessor, {&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; counttest: function() {&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gs.info ('AAAA:This script is executing');&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var gr = new GlideRecord('incident');&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gr.query();&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(gr.next())&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; { //Added this one&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; gs.info("info");&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var datedif = gs.dateDiff(gr.sys_created_on,gs.nowDateTime(), false);&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gs.info('AAAA:'+datedif);&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return datedif;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;},&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;type: 'counttest'&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;});&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Sep 2016 10:50:53 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/glideajax-and-abstractajaxprocessor/m-p/1891880#M548806</guid>
      <dc:creator>sidarth</dc:creator>
      <dc:date>2016-09-02T10:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: GlideAjax and AbstractAjaxProcessor</title>
      <link>https://www.servicenow.com/community/developer-forum/glideajax-and-abstractajaxprocessor/m-p/1891881#M548807</link>
      <description>&lt;P&gt;The link you are referencing is not accesible&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Sep 2016 16:30:16 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/glideajax-and-abstractajaxprocessor/m-p/1891881#M548807</guid>
      <dc:creator>verdakosnett</dc:creator>
      <dc:date>2016-09-07T16:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: GlideAjax and AbstractAjaxProcessor</title>
      <link>https://www.servicenow.com/community/developer-forum/glideajax-and-abstractajaxprocessor/m-p/1891882#M548808</link>
      <description>&lt;P&gt;Hi sidarth, &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; I have tried your script but now its giving following results.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1.PNG"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/55717iD6F29C4DCF67652E/image-size/large?v=v2&amp;amp;px=999" srcset="/community/image/serverpage/image-id/55717iD6F29C4DCF67652E/image-size/large?v=v2&amp;amp;px=999 1.0x" role="button" title="1.PNG" alt="1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Sep 2016 07:09:13 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/glideajax-and-abstractajaxprocessor/m-p/1891882#M548808</guid>
      <dc:creator>s_kumar</dc:creator>
      <dc:date>2016-09-08T07:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: GlideAjax and AbstractAjaxProcessor</title>
      <link>https://www.servicenow.com/community/developer-forum/glideajax-and-abstractajaxprocessor/m-p/1891883#M548809</link>
      <description>&lt;P&gt;which servicenow version are you using?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Sep 2016 07:22:17 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/glideajax-and-abstractajaxprocessor/m-p/1891883#M548809</guid>
      <dc:creator>sidarth</dc:creator>
      <dc:date>2016-09-08T07:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: GlideAjax and AbstractAjaxProcessor</title>
      <link>https://www.servicenow.com/community/developer-forum/glideajax-and-abstractajaxprocessor/m-p/1891884#M548810</link>
      <description>&lt;P&gt;i am using Helsinki Version of Servicenow.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Sep 2016 09:38:37 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/glideajax-and-abstractajaxprocessor/m-p/1891884#M548810</guid>
      <dc:creator>s_kumar</dc:creator>
      <dc:date>2016-09-08T09:38:37Z</dc:date>
    </item>
  </channel>
</rss>

