1. ServiceNow Scripting
  2. ServiceNow Scripting Objects
  3. ServiceNow Scripting API
  4. Client Script Requirement
  5. Business Rule Requirments
  6. Inbound Action
  7. Requirement Sheet
  8. Only Admin should be able to see Resolution Information tab
  9. From P3 & P4 user can’t derectly set to P1 but from P2 they can set P1
  10. Directly P1 Incident can’t be created
  11. Child Incident should close once parent Problem close
  12. Populate list type of fields in servicenow in Incident Form
  13. For Critical Priority, font will be bold and background will be red
  14. Create a field on Incident form called Expected Data, if incident move to Pending this date will be add 7 days from current date

Object: Client Script – OnLoad

Class: GlideForm


function onLoad() {
    //Type appropriate comment here, and begin script below
    if (g_form.getValue('priority') == 1) {
        var obj = g_form.getControl('priority');
        obj.style.backgroundColor = "red";
        obj.style.fontWeight = 'bold';

No responses yet

Leave a Reply

Your email address will not be published. Required fields are marked *