Skip to main content

Posts

ServiceNow Switching Email Notifications On/Off for Single User

Recent posts

Reverse engineering ServiceNow encoded queries

 useful link: https://www.servicenow.com/community/developer-blog/decoding-encoded-queries/ba-p/2290638 Encoded Query active=true^short_descriptionLIKEIssue^ORshort_descriptionLIKEProblem^NQactive=false^close_code=Not Solved (Not Reproducible)^RLQUERYtask_ci.task,>=1,m2m^ci_item.assignment_groupNSAMEASchange_control^ENDRLQUERY active=true ^ short_descriptionLIKEIssue ^OR short_descriptionLIKEProblem ^NQ active=false ^ close_code=Not Solved (Not Reproducible) ^RLQUERY task_ci.task,>=1,m2m^ci_item.assignment_groupNSAMEASchange_control ^ENDRLQUERY Converting to Code ^ =  AND // active=true var gr = new GlideRecord ( 'incident' ) ; gr . addQuery ( 'active' , 'true' ) ; // Alternative 1 gr . addCondition ( 'active' , 'true' ) ; // Alternative 2 gr . addActiveQuery ( ) ; ^OR =  OR //active=true^short_descriptionLIKEIssue^ORshort_descriptionLIKEProblem var qc = gr . addQuery ( 'active' , true ) ; qc . addOrCondtion ( 'sh...

Override outbound http log settings

 Override outbound http log settings https://www.servicenow.com/docs/bundle/xanadu-api-reference/page/integrate/outbound-web-services/concept/outbound-logging-configure.html To configure the log level for a REST method or SOAP message function, navigate to the record you want to configure and click the  Set log level  related link, then select a log level for the current record. To modify the log level for multiple outbound requests, navigate to  System Web Services  >  HTTP Log Levels  and change the log levels using the list. All outbound requests that have been configured with a specific log level are listed. You can override the log level for all outbound requests using the properties  glide.outbound_http_log.override  and  glide.outbound_http_log.override.level . Use these properties only for a limited time when troubleshooting.