Help
RSS
API
Feed
Maltego
Contact
Domain > www.servicehow.dk
×
Welcome!
Right click nodes and scroll the mouse to navigate the graph.
×
More information on this domain is in
AlienVault OTX
Is this malicious?
Yes
No
DNS Resolutions
Date
IP Address
2024-11-19
5.9.122.148
(
ClassC
)
Port 80
HTTP/1.1 200 OKDate: Tue, 19 Nov 2024 06:39:29 GMTServer: Apache/2.4.18 (Ubuntu)Vary: Accept-EncodingTransfer-Encoding: chunkedContent-Type: text/html; charsetUTF-8 !DOCTYPE html>html langen xmlnshttps://www.w3.org/1999/xhtml xmlns:oghttps://ogp.me/ns# xmlns:fbhttps://www.facebook.com/2008/fbml> head> meta charsetutf-8> meta http-equivX-UA-Compatible contentIEedge> meta nameviewport contentwidthdevice-width, initial-scale1> !-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> meta http-equivContent-Type contenttext/html;charsetWINDOWS-1252 /> meta http-equivContent-Language contenten-us /> meta namedescription contentServiceNow resource with tips and tricks, code snippets, cheat sheet, scriping, best practices, performance and security optimizations.> meta nameauthor contentServiceHow> meta namekeywords contentservicenow,servicehow,glide,gliderecord,script,glideajax,query,best practice> meta namerobots contentindex,follow /> meta propertyog:site_name contentServiceHow /> meta propertyog:description contentServiceNow resource with tips and tricks, code snippets, cheat sheet, scriping, best practices, performance and security optimizations. /> meta propertyog:type contentwebsite /> meta propertyog:image content/img/How.png /> title>ServiceHow - ServiceNow Scripting & Development/title> link relapple-touch-icon sizes57x57 hrefapple-icon-57x57.png> link relapple-touch-icon sizes60x60 hrefapple-icon-60x60.png> link relapple-touch-icon sizes72x72 hrefapple-icon-72x72.png> link relapple-touch-icon sizes76x76 hrefapple-icon-76x76.png> link relapple-touch-icon sizes114x114 hrefapple-icon-114x114.png> link relapple-touch-icon sizes120x120 hrefapple-icon-120x120.png> link relapple-touch-icon sizes144x144 hrefapple-icon-144x144.png> link relapple-touch-icon sizes152x152 hrefapple-icon-152x152.png> link relapple-touch-icon sizes180x180 hrefapple-icon-180x180.png> link relicon typeimage/png sizes192x192 hrefandroid-icon-192x192.png> link relicon typeimage/png sizes32x32 hreffavicon-32x32.png> link relicon typeimage/png sizes96x96 hreffavicon-96x96.png> link relicon typeimage/png sizes16x16 hreffavicon-16x16.png> link relmanifest hrefmanifest.json> meta namemsapplication-TileColor content#ffffff> meta namemsapplication-TileImage contentms-icon-144x144.png> meta nametheme-color content#ffffff> !-- Bootstrap core CSS --> link hrefbootstrap/css/bootstrap.min.css relstylesheet> link hrefbootstrap/css/bootstrap.min.css relstylesheet> !-- Custom styles for this template --> link hrefcss/servicehow.css relstylesheet> !-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> !--if lt IE 9> script srchttps://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js>/script> script srchttps://oss.maxcdn.com/respond/1.4.2/respond.min.js>/script> !endif--> script> (function(i,s,o,g,r,a,m){iGoogleAnalyticsObjectr;irir||function(){ (ir.qir.q||).push(arguments)},ir.l1*new Date();as.createElement(o), ms.getElementsByTagName(o)0;a.async1;a.srcg;m.parentNode.insertBefore(a,m) })(window,document,script,//www.google-analytics.com/analytics.js,ga); ga(create, UA-74320625-1, auto); ga(send, pageview);/script> /head> body> div idservicehow-menu classnavbar navbar-default rolenavigation> div classcontainer servicehow-container> div classnavbar-header>a classnavbar-brand servicehow-brand href/>img height50 srcimg/ServiceHow_logo_W_small.png />/a> button typebutton classnavbar-toggle data-togglecollapse data-target.navbar-servicehow>span classsr-only>Toggle navigation/span>span classicon-bar>/span>span classicon-bar>/span>span classicon-bar>/span>/button> /div> div classcollapse navbar-collapse navbar-servicehow> ul classnav navbar-nav navbar-left> li> a classdropdown-toggle typebutton idcategories data-toggledropdown>Categories span classcaret>/span>/a> ul classdropdown-menu rolemenu aria-labelledbycategories> li rolepresentation>a rolemenuitem href./?cgliderecord>GlideRecord/a>/li>li rolepresentation>a rolemenuitem href./?cclient-script>Client Script/a>/li> /ul> /li> li> a classdropdown-toggle typebutton idcheatsheets data-toggledropdown>Cheat sheets span classcaret>/span>/a> ul classdropdown-menu rolemenu aria-labelledbycheatsheets> li rolepresentation>a rolemenuitem hrefgliderecord-cheat-sheet>GlideRecord/a>/li> li rolepresentation>a rolemenuitem hrefclient-script-cheat-sheet>Client Script/a>/li> !--li rolepresentation>a rolemenuitem hrefuser-object-cheat-sheet>User Object/a>/li>--> !--li rolepresentation>a rolemenuitem hrefglideajax-cheat-sheet>GlideAjax/a>/li>--> !--li rolepresentation>a rolemenuitem hrefangular-cheat-sheet>Angular/a>/li>--> !--li rolepresentation>a rolemenuitem hrefjelly-cheat-sheet>Jelly/a>/li>--> !--li rolepresentation>a rolemenuitem hrefbootstrap-cheat-sheet>Bootstrap/a>/li>--> /ul> /li> li> a classdropdown-toggle typebutton idabout data-toggledropdown>About span classcaret>/span>/a> ul classdropdown-menu rolemenu aria-labelledbyabout> li rolepresentation>a rolemenuitem hrefabout>About/a>/li> li rolepresentation>a rolemenuitem hrefask-a-question>Ask a question/a>/li> /ul> /li> /ul> /div> /div> /div> div classcontainer> div classcontent col-md-8> div classcontentElement> div classcontentTitle>a hrefschedule_script_as>h1>ScheduleScriptAsh1>/a>/div> div classcontentTagline>p>gliderecord, script, schedule/p>/div> hr /> div classcontentText> p>Schedule a script to run as a specific user.br />Can be used to avoid System updating a record, when you know which user actually updated.Example usage:pre classjavascript stylefont-family:monospace;>span stylecolor: #000066; font-weight: bold;>var/span> ssa span stylecolor: #339933;>/span> span stylecolor: #000066; font-weight: bold;>new/span> ScheduleScriptAsspan stylecolor: #009900;>(/span>span stylecolor: #3366CC;>myScriptName/span>span stylecolor: #009900;>)/span>span stylecolor: #339933;>;/span>ssa.span stylecolor: #660066;>setRunAs/span>span stylecolor: #009900;>(/span>span stylecolor: #3366CC;>USER_SYS_ID/span>span stylecolor: #009900;>)/span>span stylecolor: #339933;>;/span>ssa.span stylecolor: #660066;>setScript/span>span stylecolor: #009900;>(/span>span stylecolor: #3366CC;>SCRIPT_TO_RUN/span>span stylecolor: #009900;>)/span>span stylecolor: #339933;>;/span>ssa.span stylecolor: #660066;>runSecondsLater/span>span stylecolor: #009900;>(/span>span stylecolor: #CC0000;>10/span>span stylecolor: #009900;>)/span>span stylecolor: #339933;>;/span> span stylecolor: #006600; font-style: italic;>//Add delay/span>ssa.span stylecolor: #660066;>schedule/span>span stylecolor: #009900;>(/span>span stylecolor: #009900;>)/span>span stylecolor: #339933;>;/span>/pre>br />Script include:pre classjavascript stylefont-family:monospace;>span stylecolor: #000066; font-weight: bold;>var/span> ScheduleScriptAs span stylecolor: #339933;>/span> Class.span stylecolor: #660066;>create/span>span stylecolor: #009900;>(/span>span stylecolor: #009900;>)/span>span stylecolor: #339933;>;/span>ScheduleScriptAs.span stylecolor: #000066; font-weight: bold;>prototype/span> span stylecolor: #339933;>/span> span stylecolor: #009900;>{/span> initializespan stylecolor: #339933;>:/span> span stylecolor: #000066; font-weight: bold;>function/span>span stylecolor: #009900;>(/span>namespan stylecolor: #009900;>)/span> span stylecolor: #009900;>{/span> span stylecolor: #000066; font-weight: bold;>this/span>.span stylecolor: #660066;>active/span> span stylecolor: #339933;>/span> span stylecolor: #3366CC;>true/span>span stylecolor: #339933;>;/span> span stylecolor: #000066; font-weight: bold;>this/span>.span stylecolor: #660066;>name/span> span stylecolor: #339933;>/span> span stylecolor: #3366CC;>Run ScheduleScriptAs /span> span stylecolor: #339933;>+/span> namespan stylecolor: #339933;>;/span> span stylecolor: #000066; font-weight: bold;>this/span>.span stylecolor: #660066;>run_type/span> span stylecolor: #339933;>/span> span stylecolor: #3366CC;>once/span>span stylecolor: #339933;>;/span> span stylecolor: #000066; font-weight: bold;>this/span>.span stylecolor: #660066;>run_start/span> span stylecolor: #339933;>/span> span stylecolor: #000066; font-weight: bold;>new/span> GlideDateTimespan stylecolor: #009900;>(/span>span stylecolor: #009900;>)/span>span stylecolor: #339933;>;/span> span stylecolor: #000066; font-weight: bold;>this/span>.span stylecolor: #660066;>script/span> span stylecolor: #339933;>/span> span stylecolor: #3366CC;>/span>span stylecolor: #339933;>;/span> span stylecolor: #000066; font-weight: bold;>this/span>.span stylecolor: #660066;>run_as/span> span stylecolor: #339933;>/span> gs.span stylecolor: #660066;>getUserID/span>span stylecolor: #009900;>(/span>span stylecolor: #009900;>)/span>span stylecolor: #339933;>;/span> span stylecolor: #000066; font-weight: bold;>this/span>.span stylecolor: #660066;>sys_name/span> span stylecolor: #339933;>/span> span stylecolor: #000066; font-weight: bold;>this/span>.span stylecolor: #660066;>name/span>span stylecolor: #339933;>;/span> span stylecolor: #000066; font-weight: bold;>this/span>.span stylecolor: #660066;>sys_class_name/span> span stylecolor: #339933;>/span> span stylecolor: #3366CC;>sysauto_script/span>span stylecolor: #339933;>;/span> span stylecolor: #000066; font-weight: bold;>this/span>.span stylecolor: #660066;>runSecondsLater/span> span stylecolor: #339933;>/span> span stylecolor: #CC0000;>0/span>span stylecolor: #339933;>;/span> span stylecolor: #009900;>}/span>span stylecolor: #339933;>,/span> runSecondsLaterspan stylecolor: #339933;>:/span> span stylecolor: #000066; font-weight: bold;>function/span>span stylecolor: #009900;>(/span>secondsspan stylecolor: #009900;>)/span> span stylecolor: #009900;>{/span> span stylecolor: #000066; font-weight: bold;>this/span>.span stylecolor: #660066;>runSecondsLater/span> span stylecolor: #339933;>+/span> secondsspan stylecolor: #339933;>;/span> span stylecolor: #000066; font-weight: bold;>this/span>.span stylecolor: #660066;>run_start/span> span stylecolor: #339933;>/span> span stylecolor: #000066; font-weight: bold;>new/span> GlideDateTimespan stylecolor: #009900;>(/span>span stylecolor: #000066; font-weight: bold;>this/span>.span stylecolor: #660066;>run_start/span>span stylecolor: #009900;>)/span>span stylecolor: #339933;>;/span> span stylecolor: #000066; font-weight: bold;>this/span>.span stylecolor: #660066;>run_start/span>.span stylecolor: #660066;>addSeconds/span>span stylecolor: #009900;>(/span>secondsspan stylecolor: #009900;>)/span>span stylecolor: #339933;>;/span> span stylecolor: #009900;>}/span>span stylecolor: #339933;>,/span> setRunAsspan stylecolor: #339933;>:/span> span stylecolor: #000066; font-weight: bold;>function/span>span stylecolor: #009900;>(/span>user_sys_idspan stylecolor: #009900;>)/span> span stylecolor: #009900;>{/span> span stylecolor: #000066; font-weight: bold;>this/span>.span stylecolor: #660066;>run_as/span> span stylecolor: #339933;>/span> user_sys_idspan stylecolor: #339933;>;/span> span stylecolor: #009900;>}/span>span stylecolor: #339933;>,/span> setScriptspan stylecolor: #339933;>:/span> span stylecolor: #000066; font-weight: bold;>function/span>span stylecolor: #009900;>(/span>scriptspan stylecolor: #009900;>)/span> span stylecolor: #009900;>{/span> span stylecolor: #000066; font-weight: bold;>this/span>.span stylecolor: #660066;>script/span> span stylecolor: #339933;>/span> scriptspan stylecolor: #339933;>;/span> span stylecolor: #009900;>}/span>span stylecolor: #339933;>,/span> schedulespan stylecolor: #339933;>:/span> span stylecolor: #000066; font-weight: bold;>function/span>span stylecolor: #009900;>(/span>span stylecolor: #009900;>)/span> span stylecolor: #009900;>{/span> span stylecolor: #000066; font-weight: bold;>var/span> s span stylecolor: #339933;>/span> span stylecolor: #000066; font-weight: bold;>new/span> GlideRecordspan stylecolor: #009900;>(/span>span stylecolor: #000066; font-weight: bold;>this/span>.span stylecolor: #660066;>sys_class_name/span>span stylecolor: #009900;>)/span>span stylecolor: #339933;>;/span> s.span stylecolor: #660066;>initialize/span>span stylecolor: #009900;>(/span>span stylecolor: #009900;>)/span>span stylecolor: #339933;>;/span> s.span stylecolor: #660066;>active/span> span stylecolor: #339933;>/span> span stylecolor: #000066; font-weight: bold;>this/span>.span stylecolor: #660066;>active/span>span stylecolor: #339933;>;/span> s.span stylecolor: #660066;>name/span> span stylecolor: #339933;>/span> span stylecolor: #000066; font-weight: bold;>this/span>.span stylecolor: #660066;>name/span>span stylecolor: #339933;>;/span> s.span stylecolor: #660066;>run_type/span> span stylecolor: #339933;>/span> span stylecolor: #000066; font-weight: bold;>this/span>.span stylecolor: #660066;>run_type/span>span stylecolor: #339933;>;/span> s.span stylecolor: #660066;>run_start/span> span stylecolor: #339933;>/span> span stylecolor: #000066; font-weight: bold;>this/span>.span stylecolor: #660066;>run_start/span>span stylecolor: #339933;>;/span> s.span stylecolor: #660066;>script/span> span stylecolor: #339933;>/span> span stylecolor: #000066; font-weight: bold;>this/span>.span stylecolor: #660066;>script/span>span stylecolor: #339933;>;/span> s.span stylecolor: #660066;>run_as/span> span stylecolor: #339933;>/span> span stylecolor: #000066; font-weight: bold;>this/span>.span stylecolor: #660066;>run_as/span>span stylecolor: #339933;>;/span> s.span stylecolor: #660066;>sys_name/span> span stylecolor: #339933;>/span> span stylecolor: #000066; font-weight: bold;>this/span>.span stylecolor: #660066;>sys_name/span>span stylecolor: #339933;>;/span> span stylecolor: #000066; font-weight: bold;>var/span> s_id span stylecolor: #339933;>/span> s.span stylecolor: #660066;>insert/span>span stylecolor: #009900;>(/span>span stylecolor: #009900;>)/span>span stylecolor: #339933;>;/span> span stylecolor: #000066; font-weight: bold;>this/span>._deleteSchedulespan stylecolor: #009900;>(/span>s_idspan stylecolor: #009900;>)/span>span stylecolor: #339933;>;/span> span stylecolor: #009900;>}/span>span stylecolor: #339933;>,/span> _deleteSchedulespan stylecolor: #339933;>:/span> span stylecolor: #000066; font-weight: bold;>function/span>span stylecolor: #009900;>(/span>sys_idspan stylecolor: #009900;>)/span> span stylecolor: #009900;>{/span> gs.span stylecolor: #660066;>sleep/span>span stylecolor: #009900;>(/span>span stylecolor: #CC0000;>10000/span> span stylecolor: #339933;>+/span> span stylecolor: #000066; font-weight: bold;>this/span>.span stylecolor: #660066;>runSecondsLater/span>span stylecolor: #009900;>)/span>span stylecolor: #339933;>;/span> span stylecolor: #006600; font-style: italic;>//Allow schedule to be run/span> span stylecolor: #000066; font-weight: bold;>var/span> s span stylecolor: #339933;>/span> span stylecolor: #000066; font-weight: bold;>new/span> GlideRecordspan stylecolor: #009900;>(/span>span stylecolor: #000066; font-weight: bold;>this/span>.span stylecolor: #660066;>sys_class_name/span>span stylecolor: #009900;>)/span>span stylecolor: #339933;>;/span> span stylecolor: #000066; font-weight: bold;>if/span>span stylecolor: #009900;>(/span>s.span stylecolor: #000066; font-weight: bold;>get/span>span stylecolor: #009900;>(/span>sys_idspan stylecolor: #009900;>)/span>span stylecolor: #009900;>)/span> span stylecolor: #009900;>{/span> s.span stylecolor: #660066;>deleteRecord/span>span stylecolor: #009900;>(/span>span stylecolor: #009900;>)/span>span stylecolor: #339933;>;/span> span stylecolor: #009900;>}/span> span stylecolor: #009900;>}/span>span stylecolor: #339933;>,/span> typespan stylecolor: #339933;>:/span> span stylecolor: #3366CC;>ScheduleScriptAs/span>span stylecolor: #009900;>}/span>span stylecolor: #339933;>;/span>/pre>/p>/div> /div> div classcontentElement> div classcontentTitle>a hrefdisable-track-in-update-sets>h1>Disable Track in update setsh1>/a>/div> div classcontentTagline>p>gliderecord, track, update sets, script/p>/div> hr /> div classcontentText> p>If you have ever been in a situation where you or someone else has clicked on the Track in update sets related link, then you seem to be stuck with it, and you keep tracking any updates to these records on the table.br />img srcimg/trackinupdatesets.png>br />In order to disable it, you need to run the below script as a Background Script.Of course you need to replace the TABLE_SYS_ID with your actual sys_id of the table you want to change.pre classjavascript stylefont-family:monospace;>doNotTrackInUpdateSetsspan stylecolor: #009900;>(/span>span stylecolor: #009900;>)/span>span stylecolor: #339933;>;/span>span stylecolor: #000066; font-weight: bold;>function/span> doNotTrackInUpdateSetsspan stylecolor: #009900;>(/span>span stylecolor: #009900;>)/span> span stylecolor: #009900;>{/span> span stylecolor: #000066; font-weight: bold;>var/span> gr span stylecolor: #339933;>/span> span stylecolor: #000066; font-weight: bold;>new/span> GlideRecordspan stylecolor: #009900;>(/span>span stylecolor: #3366CC;>sys_db_object/span>span stylecolor: #009900;>)/span>span stylecolor: #339933;>;/span> gr.span stylecolor: #660066;>addQuery/span>span stylecolor: #009900;>(/span>span stylecolor: #3366CC;>sys_id/span>span stylecolor: #339933;>,/span> span stylecolor: #3366CC;>TABLE_SYS_ID/span>span stylecolor: #009900;>)/span>span stylecolor: #339933;>;/span> span stylecolor: #006600; font-style: italic;>// Replace TABLE_SYS_ID with your tables sys_id/span> gr.span stylecolor: #660066;>query/span>span stylecolor: #009900;>(/span>span stylecolor: #009900;>)/span>span stylecolor: #339933;>;/span> whilespan stylecolor: #009900;>(/span>gr.span stylecolor: #660066;>next/span>span stylecolor: #009900;>(/span>span stylecolor: #009900;>)/span>span stylecolor: #009900;>)/span> span stylecolor: #009900;>{/span> gr.span stylecolor: #660066;>super_class/span> span stylecolor: #339933;>/span> span stylecolor: #3366CC;>/span>span stylecolor: #339933;>;/span> gr.span stylecolor: #660066;>setWorkflow/span>span stylecolor: #009900;>(/span>span stylecolor: #003366; font-weight: bold;>false/span>span stylecolor: #009900;>)/span>span stylecolor: #339933;>;/span> gr.span stylecolor: #660066;>update/span>span stylecolor: #009900;>(/span>span stylecolor: #009900;>)/span>span stylecolor: #339933;>;/span> span stylecolor: #009900;>}/span>span stylecolor: #009900;>}/span>/pre>/p>/div> /div> div classcontentElement> div classcontentTitle>a hrefknowledge16_review>h1>Knowledge16 reviewh1>/a>/div> div classcontentTagline>p>servicenow, knowledge, 2016, review/p>/div> hr /> div classcontentText> Knowledge16 was big, geeky, and amazing. We participated in the precon training for App Creation and are now CERTIFIED APPLICATION DEVELOPER, besides that our main focus for the conference was the new ServicePortal, AngularJS, integrations and custom applications, which goes well with our expertise.br />I have to say the ServicePortal is impressive, in what you can design and develop, but lacking in many core aspects as soon as you go slightly beyond basic features. It seems they were forced to release it now, since it was already postponed once, but I hope they will catch up soon tho.br />The CreatorCon was really good, when things got a bit more technical.br />br />Thanks everyone for a great experience! Looking forward to seeing you all at Knowledge17 next year in Orlando. /div> /div> div classcontentElement> div classcontentTitle>a hrefknowledge16>h1>Knowledge16h1>/a>/div> div classcontentTagline>p>servicenow, knowledge, 2016/p>/div> hr /> div classcontentText> We are getting ready for Knowledge16, the ServiceNow conference of the year in Las Vegas. br />br />i>Experience the service revolution at Knowledge16 — where thousands of transformational leaders from every corner of the enterprise gather to share and discover how to unleash the power of a future fueled by service. Together, we will change the way people work and accelerate enterprise velocity to levels never thought possible. Because in revolutionary times, business as usual is no longer an option./i>br />Read more about it on a target_blank hrefhttp://knowledge.servicenow.com/>knowledge.servicenow.com/a>br />br />Hope to see you there? ;-) /div> /div> div classcontentElement> div classcontentTitle>a hrefgliderecord-with-references>h1>GlideRecord with referencesh1>/a>/div> div classcontentTagline>p>gliderecord, insert, update, WithReferences/p>/div> hr /> div classcontentText> p>We all know and use GlideRecord.update() and GlideRecord.insert(), but sometimes we would like to do a little more than that, we would like to insert or update data in reference fields as well, now instead of creating a new query to get and update these fields, ServiceNow have created these two wonderful functions to deal with this issue.br />br />There are a few things to take note of when using these methods.br />Firstly that the related records are updated first and then the actual record afterwards.br />Secondly you need to keep in mind, that if a related record does no exist, one will be created. (In the below sample code, if there are no caller, it will create one with the information provided in the script).br />Also if you need to set the value of a reference field on the record, you must set it using the .setDisplayValue() method u>before/u> manipulating the reference fields values.br />Lastly remember to use these methods carefully, as it will update multiple tables at once, if that is what you tell it to do.br />br />b>GlideRecord.updateWithReferences()/b>br />pre classjavascript stylefont-family:monospace;>span stylecolor: #000066; font-weight: bold;>var/span> inc span stylecolor: #339933;>/span> span stylecolor: #000066; font-weight: bold;>new/span> GlideRecordspan stylecolor: #009900;>(/span>span stylecolor: #3366CC;>incident/span>span stylecolor: #009900;>)/span>span stylecolor: #339933;>;/span>inc.span stylecolor: #000066; font-weight: bold;>get/span>span stylecolor: #009900;>(/span>sys_idspan stylecolor: #009900;>)/span>span stylecolor: #339933;>;/span> span stylecolor: #006600; font-style: italic;>//Get incident record based on the sys_id/span>inc.span stylecolor: #660066;>caller_id/span>.span stylecolor: #660066;>first_name/span> span stylecolor: #339933;>/span> span stylecolor: #3366CC;>Jesper/span>span stylecolor: #339933;>;/span>inc.span stylecolor: #660066;>caller_id/span>.span stylecolor: #660066;>email/span>span stylecolor: #339933;>/span> span stylecolor: #3366CC;>jesper@not-a-real-email.com/span>span stylecolor: #339933;>;/span>inc.span stylecolor: #660066;>updateWithReferences/span>span stylecolor: #009900;>(/span>span stylecolor: #009900;>)/span>span stylecolor: #339933;>;/span>/pre>br />b>GlideRecord.insertWithReferences()/b>br />pre classjavascript stylefont-family:monospace;>span stylecolor: #000066; font-weight: bold;>var/span> inc span stylecolor: #339933;>/span> span stylecolor: #000066; font-weight: bold;>new/span> GlideRecordspan stylecolor: #009900;>(/span>span stylecolor: #3366CC;>incident/span>span stylecolor: #009900;>)/span>span stylecolor: #339933;>;/span>inc.span stylecolor: #660066;>initialize/span>span stylecolor: #009900;>(/span>span stylecolor: #009900;>)/span>span stylecolor: #339933;>;/span>inc.span stylecolor: #660066;>short_description/span> span stylecolor: #339933;>/span> span stylecolor: #3366CC;>My printer is broken/span>span stylecolor: #339933;>;/span>inc.span stylecolor: #660066;>caller_id/span>.span stylecolor: #660066;>setDisplayValue/span>span stylecolor: #009900;>(/span>span stylecolor: #3366CC;>Jesper Testuser/span>span stylecolor: #009900;>)/span>span stylecolor: #339933;>;/span> span stylecolor: #006600; font-style: italic;>//Note that if we did not include this line to set the value, a new user would be created/span>inc.span stylecolor: #660066;>caller_id/span>.span stylecolor: #660066;>first_name/span> span stylecolor: #339933;>/span> span stylecolor: #3366CC;>Jesper/span>span stylecolor: #339933;>;/span>inc.span stylecolor: #660066;>caller_id/span>.span stylecolor: #660066;>email/span>span stylecolor: #339933;>/span> span stylecolor: #3366CC;>jesper@not-a-real-email.com/span>span stylecolor: #339933;>;/span>inc.span stylecolor: #660066;>insertWithReferences/span>span stylecolor: #009900;>(/span>span stylecolor: #009900;>)/span>span stylecolor: #339933;>;/span>/pre>Read more about these functions at the a target_blank hrefhttp://wiki.servicenow.com/index.php?titleInserting/Updating_GlideRecord_with_References>ServiceNow Wiki/a>/p>/div> /div> div classcontentElement> div classcontentTitle>a hrefservicehow.com-launch>h1>ServiceHow.com launchh1>/a>/div> div classcontentTagline>p>launch, servicehow, servicenow/p>/div> hr /> div classcontentText> ServiceHow.com is now launched as an independent ServiceNow resource for admins and developers.br />To assist and be helpful in ways that make life as a ServiceNow developer easier, more efficient and improve upon code quality by following best practices, performance and security optimizations.br />Resulting in better developers, optimized and more secure code, improved ServiceNow instances and thereby more efficient businesses. /div> /div> /div>!-- /.content --> div classrightContent col-md-4> div classrightContentElement> div classrightContentTitle>h1>Top Cheat Sheetsh1>/div> div classrightContentText> ol>li>a hrefgliderecord-cheat-sheet>GlideRecord/a>/li>li>a hrefclient-script-cheat-sheet>Client Script/a>/li>/ol> /div> /div> div classrightContentElement> div classrightContentTitle>h1>Abouth1>/div> div classrightContentText> ServiceHow.coms aim is to be a helpful resource for ServiceNow Developers.ServiceHow.com is not affiliated with ServiceNow. /div> /div> /div> /div>!-- /.container --> footer classfooter> div classcontainer> div classrow> div classcontent col-md-12> span>© 2024 Jesper Sandberg/span> /div> /div> /div> /footer> script srchttps://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js>/script> script srcbootstrap/js/bootstrap.min.js>/script> script srcjs/servicehow.js>/script> /body>/html>
View on OTX
|
View on ThreatMiner
Please enable JavaScript to view the
comments powered by Disqus.
Data with thanks to
AlienVault OTX
,
VirusTotal
,
Malwr
and
others
. [
Sitemap
]