Service Now Client Scripts, onLoad, OnChange, OnSubmit and OnCellEdit in Telugu

Опубликовано: 14 Март 2026
на канале: Varshitha Education
15,789
318

For service now training in Telugu, contact 9246768293.
service now problem management

   • Servicenow Problem management in Telugu  

Ex-1
Table: Incident
Requirement
When Incident Form Loaded then some filed are make Mandatory or Read Only or Visible /Invisible and add an Information Message to define fill all mandatory fields
1. Number and Priority Fields are Read only
2. Caller and Short Description fields are Mandatory
3. Configuration Item field is should not be seen (Invisible)
4. Display an Information Message top on the form if the record is new

Ex-2
Table Incident
Requirement
1. When Incident State is On-Hold Then On Hold Reason field should be Visible and Mandatory
2. Add warning message below hold reason field that is ‘’Please select at least one hold reason’’

Ex-3
Table Incident
Requirement: Any customer after submitted (Priority 1-Critcal) incident
1. We need to display one alert message to customer about Criticality (Are you submitting Priority one ticket)
2. Include Ok and Cancel Buttons also

Ex-4
Table Incident
Requirement

1. When Incident state is Resolved Then Resolution Code and Resolution Notes are mandatory
2. Assigned to and Assignment Group should not be seen

Ex-5
Table Incident
Requirement

1. If Selected Caller is VIP in Incident table, then Impact and Urgency field values setup

1-High.Impact-High and Urgency High then Priority 1- Critical set automatically
2. Impact and Urgency fields should be read only on above condition
3. Display on alert message on browser that is (Caller is VIP!)

Developer TIP: Make one Caller VIP (Fred Luddy) from user record (Already we know how to do this)

API Syntaxes and Examples
g_form.getValue()
Ex: g_form.getvalue(‘state’);
g_form.setValue()
g_form.setValue(‘state’,1);
g_form.addInfoMessage()
g_form.addInfoMessage(“This is info message”);
g_form.addErrorMessage()
g_form.addErrorMessage(“This is the error Message”);
g_form.showErrorBox()
g_form.showErrorBox(‘short_description’,”The short description must be 10 charecters”,true);
g_form.showFieldMsg()
g_form.showFieldMsg((‘short_description’,”The short description must be 10 charecters”,true);
g_form.clearMessages()
g_form.clearMessages()
g_form.addOption()
g_form.addOption(‘state’,0);
g_form.clearOptions()
g_form.clearOptions()
g_form.setVisible()
g_form.setVisible(‘state’,true);
g_form.setMandatory()
g_form.setMandatory(‘state’,true);
g_form.setReadOnly()
g_form.setReadOnly(‘state’,true);
g_form.getLabelOf()
g_form.getLabelOf(‘state’,’Incident state’);
g_form.setLabelOf()
g_form.setLabelOf(‘state’);
g_form.getUniqueValue()
g_form.getUniqueValue()
g_form.getTableName()
g_user.firstName
g_user.lastName
g_user.lastName
g_user.userID
g_user.userName
g_user.hasRole()
g_user.hasRole(‘itil’);


Hi Everyone,

Do You want to Purchase Our ServiceNow – ITSM Training Classes and Materials in Telugu & English Languages.

ServiceNow - ITSM Admin & Dev Training Classes in Telugu Validity 30 Days
https://jqsty.courses.store/312724?ut...

ServiceNow Admin & Dev - ITSM Course Material Life Time Validity
https://jqsty.courses.store/312714?ut...

ServiceNow Admin & Dev - ITSM Training Recorded Classes in Telugu
https://jqsty.courses.store/312587?ut...

ServiceNow - ITSM Admin & Dev Training In English Validity 1 Year
https://jqsty.courses.store/312752?ut...

ServiceNow - ITSM Admin & Dev Training Classes + Material Life Time Validity
https://jqsty.courses.store/312732?ut...

ServiceNow - ITSM Admin & Dev Training + Material in Telugu Validity 1 Year
https://jqsty.courses.store/312731?ut...


Our Mobile App
Android: https://play.google.com/store/apps/de...
IOS : https://apps.apple.com/in/app/classpl...

Code: JQSTY

For More details please contact +919246768293.