You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Requires that an OAuth entry be created for your application in ServiceNow
Installation
npm install servicenow-nodejs
Usage
//Authenticate to ServiceNow to obtain an OAuth TokenvarsnAuth=newServiceNowAuth('https://myinstance.service-now.com','<OAUTH_Client_ID>','<OAuth_Client_Secret>','<ServiceNow_UserName>','<ServiceNow_User_Password');snAuth.auth().then(token=>{//success}).catch(error=>{//error});//Query ServiceNowvarclient=newServiceNowQuery('table_name',snAuth);client.and('field','some_value').execute().then(result=>{//query results}).catch(error=>{//error});