Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

ITSM forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Forum Posts

background script to close the ritm?

please someone provide me the background script to close only the targeted RITM records. not all in sc_req_item table/ sc_request table i will have a few RITM record numbers. through background script i have to close only given RITM and REQ, not for ...

lakng by Tera Contributor
  • 5132 Views
  • 8 replies
  • 11 helpfuls

Resolved! Custom Related list - Scripted relationship

Hi, We are trying to build custom related list for Problem Management. We need to display Incident outages under problem for all related Incident to the current problem. Custom field was added cmdb_ci_outage table to refer related Incident. Lets say ...

find_real_file.png

Resolved! Cloning best practices and use cases

I know that the cloning requirements varies from org. to org. But I want to listen from you how/when you are making use of cloning. Best practices on this topic. and especially before an upgrade (DEV), I think its good to clone from PROD. Your though...

Suggy by Giga Sage
  • 7963 Views
  • 2 replies
  • 4 helpfuls

Resolved! Matching and replacing a part of a string..

This is my code: var gr = new GlideRecord('kb_knowledge'); gr.addQuery('number','KB0081186'); gr.query();while (gr.next()){ gr.u_level_1= gr.u_level_1.replace("old", "new"); //or //gr.u_level_1= gr.u_level_1.replace(/old/, "new"); //need to know the ...

Opening new Agent Workspace Tab

Hi, we have created a custom page mimicking Service Catalog, and currently are opening it from UI Action 'Create Request' via the "openUrl(...) + top.window.open(...)" function in a new browser tab. We would like it to behave on the Agent Workspace s...

find_real_file.png
PavelP by Mega Sage
  • 3057 Views
  • 8 replies
  • 2 helpfuls

How to configure escalations to managers within Incident Management life cycle

Hello, We are looking for a way that a 3rd team team can escalate a incident to a serviceNow group that managers belong to.  Ideally when a incident is defined as one to escalate either the agent can use a look up to select a group and it triggers an...

Community Alums by Community Alums  
  • 3303 Views
  • 4 replies
  • 1 helpfuls

Resolved! Date Format Change to "dd-mm-yyyy" for catalog item variable

Hi, I have a requirement to populate the value of one catalog variable in "DD-MM-YYYY" format. This will happen based on a change in another catalog variable which is in "YYYY-MM-DD" format. I have written a catalog client script and a script include...

find_real_file.png find_real_file.png find_real_file.png
Rajarshi1 by Tera Expert
  • 8680 Views
  • 14 replies
  • 8 helpfuls

how to clear user criteria cache without logging out

how to clear user criteria cache without logging out .I have tried to clear user criteria by gs.cacheflush('criteria_cache')but no luck. Issue:we have user criteria built on location ,if user change location then he need to logout and login again but...

manish64 by Giga Guru
  • 2431 Views
  • 2 replies
  • 0 helpfuls

Resolved! How to create Copy Change button in Agent Workspace

Hi All, I need to have Copy Change button on Agent Workspace same as we have on native view. We have OOB "Copy Change" UI action. I have checked "Workspace form button" checkbox. I can see Copy Change button on Agent Workspace but not performing any ...

Resolved! Database View Table Where Clause to contain NULL

I want to improve my DB View performance by including a null test in a where clause (rather than let hundreds more records through and have to include the condition in every report I write).Syntax for where clause doesn't SEEM to support this - neith...

mike_bush by Kilo Guru
  • 9004 Views
  • 7 replies
  • 2 helpfuls

Resolved! How to add hyperlink in the catalog item

Hi, I have created one order guide and catalog item....in order guide form i have one checkbox created when i click that checkbox the catalog item will appear....the problem here is only variables in that catalog item is getting displayed the thing w...

suuriya by Tera Contributor
  • 6800 Views
  • 7 replies
  • 8 helpfuls