Why, then, would one do this? The parm1 and parm2 parameters appear in their resolved form in the Event Log. ('incident. For example, to get the username of the current user, you can use the below script: 1. Please note: The APIs below are intended for scoped applications and. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. getSession (). Please note: These APIs are provided to support legacy applications in. getUserName()+' has been added to watchlist'); } action. Please note: These APIs are provided to support legacy applications in. gs. Joe ServiceNow parses incoming messages in the email object ServiceNow locates the sender by matching the email. g. Please note: These APIs are provided to support legacy applications in. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. getUserName() Returns the User ID. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. Product documentation. Please note: These APIs are provided to support legacy applications in. Please note: These APIs are provided to support legacy applications in. CURENCY_CODE: Gets the currency code of a currency field (e. Please note: These APIs are provided to support legacy applications in the global scope. Use the pre-defined user_id variable available in theServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. Please note: These APIs are provided to support legacy applications in. Please note: These APIs are provided to support legacy applications in. include ("PrototypeServer"); var ValidatePasswordStronger = Class. Having access to a record identifier, such. user_name; If my response helped please mark it correct and close the thread so that it benefits future readers. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. getUserName()); Verify the while loop looks like this: Click the Update button to save the changes to the Scheduled Script Execution. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. sys_created_by = current. submit (); } It’s because you’re not calling your function. eventQueue() method generates an event for each overdue NeedIt Task record found by the GlideRecord query. eventQueue() method. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. Store Download certified apps and integrations that complement ServiceNow. However, while retrieving the data, values like Resolved. It is recommended that new. getUserID() for parm1 and parm2 if no other values are required to see which user triggered the event in the event log. from property with the Users [sys_user] table email field; Use the GlideSystem user methods, such as gs. 2) Catalog Client Script: Isolate Script -> False. userName; function postComment () { g_form. Having access to a record identifier, such. The overdueNITasks object is passed to the event as the script iterates through the while loop. eventQueue('x_60157_employee_spe. Event records are created by gs. var existing_followers = current. Many of the GlideSystem methods facilitate the easy inclusion of dates in query ranges, and are most often used in. getUserName() when scripting to get access to the user's information; Notification Email Scripts are reusable server-side scripts. In my years as a ServiceNow developer, I’ve collected a large number of abstract, reusable scripts for various purposes. Equivalent to calling getDisplayValue. Please note: These APIs are provided to support legacy applications in. Below is a list of commonly used User Object code that you can come back to daily while writing scripts in ServiceNow. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. Please note: The APIs below are intended for scoped applications and. ('employee'); gs. number. getUserName() to instead pass the name of the employee with the special occasion to show the difference in the event log. getUserName(); gs. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. ServiceNowでユーザーがログインしたときに何らかの処理をキックしたい場合に使用する。. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. employeeOccasion event to the my_queue custom queue. getUser(); gs. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. Why, then, would one do this? The parm1 and parm2 parameters appear in their resolved form in the Event Log. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. So searching for kb_knowledge. 3. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. The GlideSystem (gs) user object is designed to be used in any server-side JavaScript (Business rules, UI Actions, System security, etc. Please note: The APIs below are intended for scoped applications and. Create an email notification record that reacts to the new incident. number in parm1 seems redundant. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. Script Actionで「session. Please note: These APIs are provided to support legacy applications in. In the main ServiceNow browser window, use the Application Navigator to open System Scheduler > Scheduled Jobs > Scheduled Jobs. Why, then, would one do this?ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. In the Script Action, there IS NO PREVIOUS OBJECT. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. They will be re-directed to the basic UI and are to only see the ESS view. In some cases, the same results can be found using a dynamic filter (which is much easier to do), but these can be used in more field types whereas dynamic filters are restricted to specific field types. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. Impact Drive a faster ROI and amplify your expertise with ServiceNow Impact. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. getUserName() to instead pass the name of the employee with the special occasion to show the difference in the event log. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. Please note: These APIs are provided to support legacy applications in. Please note: These APIs are provided to support legacy applications in. Use the GlideSystem eventQueueScheduled() method to generate an event with an expiration. 2. ServiceNow parses incoming messages in the email object; ServiceNow locates the sender by matching the email. create(); ValidatePasswordStronger. Use the GlideSystem eventQueueScheduled() method to generate an event with an expiration. NOTE: The fourth value has been changed from gs. gs. 5) User "Abel Tuter" is VIP User. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. Usage: gs. Please note: The APIs below are intended for scoped applications and. Below is a list of commonly used User Object code that you can come back to daily while writing scripts in ServiceNow. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. This method is not supported for asynchronous business rules. Navigate to System Definition. eventQueue() method sends the x_60157_employee_spe. Load more replies Post Reply. from property with the Users [sys_user] table email field; Use the GlideSystem user methods, such as gs. Known synonyms are applied. NOTE: The fourth value has been changed from gs. Use the GlideSystem eventQueueScheduled() method to generate an event with an expiration. Function/Method Return Value Usage gs. Use the GlideSystem eventQueueScheduled() method to generate an event with an expiration. ServiceNow gives administrators some pretty simple ways to identify this information in the form of a couple of user objects and corresponding methods. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. Please note: These APIs are provided to support legacy applications in. getUserID() for parm1 and parm2 if no other values are required to see which user triggered the event in the event log. – gs. Store Download certified apps and integrations that complement ServiceNow. var user = gs. The scoped GlideSystem (referred to by the variable name 'gs' in any server-side JavaScript) API provides a number of convenient methods to get information about the system, the current logged in user, etc. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. 承認依頼時や承認却下時など、承認に伴うメールを送信したい場合があります。ServiceNowの承認に関する通知はちょっと癖のある作りになっており、これを理解していないと上手に設定することができません。この記事では標準の作りを説明した上で、新ServiceNow parses incoming messages in the email object; ServiceNow locates the sender by matching the email. Please note: These APIs are provided to support legacy applications in. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. getUserName() to instead pass the name of the employee with the special occasion to show the difference in the event log. ServiceNow parses incoming messages in the email object; ServiceNow locates the sender by matching the email. Please note: These APIs are provided to support legacy applications in. Please note: These APIs are provided to support legacy applications in. gs. A GlideRecord object, such as. eventQueue () Here is a script fragment from a Business Rule: object is passed to the event. Please note: The APIs below are intended for scoped applications and. Please note: These APIs are provided to support legacy applications in. getUserName() when scripting to get access to the user's informationWe would like to show you a description here but the site won’t allow us. Please note: These APIs are provided to support legacy applications in. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. eventQueue () GlideSystem method in any server-side script. Copied over from ServiceNow Developer Cheat Sheet + Quick Reference brochure. reminder event. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. getUserName()); An event when triggered from any of these scripts, can either trigger a notification or execute an event scriptDescription. getUserName() and gs. from property with the Users [sys_user] table email field Use the GlideSystem user methods, such as gs. This practice has saved me more time and headaches than almost anything else I’ve done as a developer, because just about every interesting problem I’ve solved with code, I have inevitably had to solve. The scoped GlideSystem (referred to by the variable name 'gs' in any server-side JavaScript) API provides a number of convenient methods to get information about the system, the current logged in user, etc. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. getUserID(); //return the sys_id of the currently logged in user. Please note: The APIs below are intended for scoped applications and. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. Please note: The APIs below are intended for scoped applications and. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. eventQueue method is passed the current object and that parm1 is current. DEVELOPER TIP: Use gs. Impact Ride a faster RETURNS and amplify your expertise are ServiceNow Impact. getUserName() when scripting to get access to the user's information; Notification Email Scripts are reusable server-side scripts. The Create Event workflow activity is part of the. In my years as a ServiceNow developer, I’ve collected a large number of abstract, reusable scripts for various purposes. Store Download certified apps and integrations that complement ServiceNow. An optional parameter, saved with the instance if specified. Login here. getUser (); var userName = user. 注意が必要なのは. getUserName() to instead pass the name of the employee with the special occasion to show the difference in the event log. The gs. 概要. Below is a "Copy Last Caller" button example for setRedirect and setReturn: UI Action: Name: Copy Last Caller. In this script, the gs. When a scoped business rule contains a nested function and a call to a global script include is made that triggers the function gs. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. Thanks. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. The overdueNITasks object is passed to the event as the script iterates through the while loop. log ( "The record has been updated by "+ gs. established」イベント発生時の処理を書く。. reminder", current, "Event time: " + current. // ユーザー名を取得する var userName = gs. getUserName() Returns the User ID. Q&A for work. The gs. e 25 people say that they experience with service desk is poor because of slowness, this sends a notification to the CS team to look at this. Create Event Workflow Activity. In this script, the gs. getUserName. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. In this script, the gs. Many of the GlideSystem methods facilitate the easy inclusion of dates in query ranges, and are most often used in. info(userName); // admin. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. The gs. Please note: These APIs are provided to support legacy applications in. Please note: These APIs are provided to support legacy applications in. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. eventQueue method is passed the current object and that parm1 is current. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. GlideSystem User Object ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. employeeOccasion event to the my_queue custom queue. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. ). getUserID(), gs. getUserDisplayName() Returns the display value for the currently. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. Please note: These APIs are provided to support legacy applications in. Please note: The APIs below are intended for scoped applications and. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. This brief notification message is suitable for SMS as well. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. Retrieve UserName from ServiceNow. This article describes the functions and methods you can use to get information about the users accessing your system. Notice that the gs. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. 一つはクライアントスクリプトで利用できるg_userオブジェクトです。. ServiceNow parses incoming messages in the email object; ServiceNow locates the sender by matching the email. Do not depend on client-side scripts to secure sensitive data. eventQueue method is passed the current object and that parm1 is current. gs. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. from property with the Users [sys_user] table email field; Use the GlideSystem user methods, such as gs. getUserName(). ServiceNowはログインしているユーザ情報を取得するためのオブジェクトを2つ用意しています。. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. eventQueue() method sends the x_60157_employee_spe. This method accepts up to five variable arguments (varargs) in the message using the Java MessageFormat placeholder replacement pattern. Create an email notification record that reacts to the new incident. name>", current, gs. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. In this script, the gs. We would like to show you a description here but the site won’t allow us. from property with the Users [sys_user] table email field; Use the GlideSystem user methods, such as gs. gs. Function/Method Return Value Usage gs. 2. This debugging module displays the results business rules. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. Please note: The APIs below are intended for scoped applications and. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. eventQueue() method generates an event for each overdue NeedIt Task record found by the GlideRecord query. update();. gs. Write code into given space. The GlideSystem (referred to by the variable name 'gs' in any server-side JavaScript) API provides a number of convenient methods to get information about the system, the current logged in user, etc. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. ③ 生み出されたイベントを受け取る処理を作る。. This behavior is due to the Autofill feature of the Chrome. Current code is : /** * * Service Portal sample script include to indicate * 1. Access Controls can be created for: This module discusses Access Controls for records. How search works: Punctuation and capital letters are ignored. gs. gs. gs. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. Parm1 contains the record number. Use the GlideSystem eventQueueScheduled() method to generate an event with an expiration. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. As per the article: Create a User Criteria "Do not use gs. prototype = { process : function() { var user_password. getUserName()); Notice that the gs. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. The overdueNITasks object is passed to the event as the script iterates through the while loop. Why, then, would one do this? The parm1 and parm2 parameters appear in their resolved form in the Event Log. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. CURRENCY_DISPLAY: Gets the currency display value. Create Event Workflow Activity. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. getUserByID('employee'); getUserName () This method can be used to determine the username of the currently logged-in user. Please note: The APIs below are intended for scoped applications and. This practice has saved me more time and headaches than almost anything else I’ve done as a developer, because just about every interesting problem I’ve solved with code, I have inevitably had to solve. - Selection from ServiceNow Application Development [Book]ServiceNow gives administrators some pretty simple ways to identify this information in the form of a couple of user objects and corresponding methods. create(); ValidatePasswordStronger. Partner Grow your business with promotions, news, and marketing tools for partners. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. Duplicate entries in a table record's activity log. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. ServiceNow parses incoming messages in the email object; ServiceNow locates the sender by matching the email. ('employee'); gs. from property with the Users [sys_user] table email field Use the GlideSystem user methods, such as gs. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. getUserName() and gs. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. Please note: These APIs are provided to support legacy applications in. getUser()" doesn't save the currently logged-in user into saved variables on the submitted item. Restricting Outbound Email by Domain Whitelist in ServiceNow. getUser() Returns a reference to the user object for the currently logged-in user. Please note: These APIs are provided to support legacy applications in. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. Please note: The APIs below are intended for scoped applications and. “USD”). Create Event Workflow Activity. Please note: These APIs are provided to support legacy applications in. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. Please note: These APIs are provided to support legacy applications in. Please note: These APIs are provided to support legacy applications in the global scope. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. addInfoMessage ('Start date. Please note: The APIs below are intended for scoped applications and. We would like to show you a description here but the site won’t allow us. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. userid and password. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. Create Event Workflow Activity. eventQueue」のGlideSystemのAPI起動を使って実現している。 Evnet Registryがキューのレコードで、「gs. getUserName() Returns the display value for the currently logged-in user. Having access to a record identifier, such. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. getUserName() to instead pass the name of the employee with the special occasion to show the difference in the event log. eventQueue() method sends the x_60157_employee_spe. Please note: These APIs are provided to support legacy applications in. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. Impact Propel adenine much ROI and amplify your expertise with ServiceNow Impact. 注意点として、このスクリプトの起動ユーザーは「system」となっているため、. getUserName() Returns the User ID. Please note: The APIs below are intended for scoped applications and. gs. task. hasRole (" user_admin ") && gs. ServiceNow parses incoming messages in the email object ServiceNow locates the sender by matching the email. employeeOccasion',current,current. eventQueue() method generates an event for each overdue NeedIt Task record found by the GlideRecord query. Example. Please note: These APIs are provided to support legacy applications in. Today there are four supported field flags: DISPLAY: Gets the display value of a field. getUserID(); getFirstName() GlideSystem - Global - getUserName | ServiceNow Developers. which login page should be used * 2. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. prototype = {. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. This parameter overwrites a value provided by the Queue field on the. parm2 - optional parameter used to pass a string. number in parm1 seems redundant. Returns a reference to the user object for the currently logged-in user. DEVELOPER TIP: Use gs. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. ① イベントレジストリに任意のイベントを登録(既存のものを使う場合は新規作成不要). ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. Hidden in ServiceNow is the ability to call scripts that will return advanced filter results to you. There is no condition in place to delete or reschedule the reminder event if the incident is deleted or if the date and time in the Reminder field is changed. NOTE: The fourth value has been changed from gs. update(); gs. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. The record number appears in the Event Log in its resolved value. Documentation Find detailed info about ServiceNow products, apps, features, and releases. number,gs. The gs. Docs. Please note: The APIs below are intended for scoped applications and. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. In order for permission to be granted to access a table/field, the sections must all return true. 承認依頼時や承認却下時など、承認に伴うメールを送信したい場合があります。ServiceNowの承認に関する通知はちょっと癖のある作りになっており、これを理解していないと上手に設定することができません。この記事では標準の作りを説明した上で、新 ServiceNow parses incoming messages in the email object ServiceNow locates the sender by matching the email. Both the client-side and server-side APIs have methods for scripting security. Get current username of logged in user. // subtracted 15 minutes from due date gs. info(memberByName); // check if the logged in. employeeOccasion event to the my_queue custom queue. Please note: These APIs are provided to support legacy applications in. For Script Actions, current is the object that was passed in by the gs. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. Can we use GS in client script ServiceNow? gs is a server side object, it cannot be used in client scripts. getUserName() Returns the User ID. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. getUser() or other session APIs since they cause conflict when used in diagnostic tools. number,gs. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. This article describes the functions and methods you can use to get information about the users accessing your system. Examine the Parm1 field to verify the NeedIt Task records for the events are the same as the NeedIt Task records from the Application Log. eventQueue method is passed the current object and that parm1 is current. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. ServiceNow parses incoming messages in the email object; ServiceNow locates the sender by matching the email. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality.