Wednesday, April 19, 2017

Retrieve the URL parameters in the ServiceNow Scripting



var billingCode = getParmVal('sysparm_number');

function getParmVal(name) {
    var url = document.URL.parseQuery();
    if (url[name]) {
        return decodeURI(url[name]);
    } else {
        return;
    }
}

Thursday, April 6, 2017

What user name and password we should give during ServiceNow MID Server configuration?


We know that Service/Deamon that facilitates the communication between ServiceNow instance and external Services/Data Sources.


During the configuration of agent/config.xml we need to give the username and password. For that

  1. Create a new user say SNCMidServerDev1
  2. Assign the mid_server role to the user (Not the admin role and never)
    1. Just the mid_server role is sufficient
  3. Use those credentials in the Midserver configuration