ServiceNow Interview Questions and Answers

What is a client script?

Client script sits on the client side(the browser) and run there only.types of client script are OnLoad() OnSubmit() OnChange() OncellEdit()

Find nth position in a GlideRecord query?

//Find the last 10 incidents created
var gr = new GlideRecord(‘incident’);
gr.orderByDesc(‘sys_created_on’);
gr.chooseWindow(10, 20);
gr.query();

What is the default timeout for SOAP request?

60 Second. We can update it by property[glide.soap.request_processing_timeout]

What are dictionary overrides?

Dictionary overrides provide the ability to define a field on an extended table differently from the field on the parent table. For example, for a field on the Task [task] table, a dictionary override can change the default value on the Incident [incident] table without affecting the default value on Task [task] or Change [change].

How Send ‘XML data as string’ in Soap XML envelope?

Wrap the piece of XML in a <![CDATA[]]> tag.

What is LDAP Integration and its use?

LDAP is Light weight Directory Access Protocol. You can use it for user data population and user authentication. ServiceNow integrates with LDAP directory to streamline the user log in process and to automate the creation of user and assigning them roles.

What happens when you mark a default update set as complete?

If the Default update set is marked Complete, the system creates another update set named Default1 and uses it as the default update set.

Can you add Homepages and Content pages to ‘update sets’ in ServiceNow?

Homepages and content pages don’t get added to ‘update sets’ by default. You need to manually add pages to the current ‘update sets’ by unloading them.