Scripting Interview Questions

Aditya_hublikar
Mega Sage

# GlideRecord / Server-Side Scripting

How to create user account using script?

How to create group using script?

How to add permissions to user/group using script?

How to add/remove group members using script?

How to create incident record using script?

How to create problem record using script?

How to create change request using script?

What is GlideRecord?

Difference between GlideRecord and GlideRecordSecure?

How to update records using script?

How to delete records using script?

What is initialize() vs newRecord()?

What is get() method in GlideRecord?

What is getRefRecord()?

What is setWorkflow(false)?

What is setForceUpdate()?

What is autoSysFields(false)?

How to get row count using script?

What is addEncodedQuery()?

How to fetch last 5 incidents using script?

How to identify duplicate records using script?


# Business Rule Scripting Questions

Logic to close child incidents when parent closes

Prevent incident closure if tasks are open

Close incidents when problem closes

Difference between After BR and Async BR

When Business Rule runs (Before, After, Async, Display)

How to stop processing in Before Business Rule?

Can we use current.update() in Before BR?

What is Display Business Rule?

How to check field changes using script?

 

# Client Script / g_form / g_user Questions

What are client scripts and types?

OnChange script parameters?

How to stop form submission?

GlideForm API methods?

GlideUser API methods?

Difference between setVisible vs setDisplay

Script to hide all sections

Script to make fields read-only

Script to hide related lists

Script to make attachment mandatory

 

# GlideAjax / Client-Server Scripting

What is GlideAjax?

GlideAjax syntax?

Types of GlideAjax (Async vs Sync)

Difference between getXML vs getXMLWait

How to pass parameters using sysparm_name?

 

# UI Page / UI Action / Jelly Scripting

How to call UI Pages using GlideModal?

How to pass values to UI Page?

Processing Script in UI Page?

How to close UI Page using script?

How to call UI Macro?

gsftSubmit() usage?

 

6 REPLIES 6

GlideFather
Tera Patron

ahoy @Aditya_hublikar,

 

there are quite a few questions, have you tried answering them by trying in your PDI or eventually 

 Learning Plans at the Developer Portal 

 

Also, it is not that easy to answer such questions, during an interview it will be clear whether you understand them or not, so you shouldn't focus on them and rather try to extend your scripting knowledge and confidence in more complex way.

 

As said above, you have asked many questions and most of the answers can be found in the links I shared or by googling but if you have any prioritised ones, asked them separately and I will try to help you

 

EDIT: formatting & typos corrected

_____
Answers generated by GlideFather. Check for accuracy.

@GlideFather 

I think this might be post for important interview questions.

if yes @Aditya_hublikar, put some description so reader can differentiate whether its post/ question.

Hello @Mohammed8 ,

 

Yes, this post is only for providing beginner-level interview questions for beginners.

Hello @GlideFather ,

 

This post not question .