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?

 

0 REPLIES 0