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

Forum Posts

Resolved! metric is not ending when ticket gets closed

I have created a metric which store duration how much time a assignment group is taking. but this metic should end when ticket is closedcalculation should complete and metric should provide duration when ticket is closed or inactive

find_real_file.png

Resolved! GlideEvaluator.evaluateString

Hi,   What is the functionality of "GlideEvaluator.evaluateString" ?? And how can I use it in script instead of eval()??   Thanks, Rohit

Resolved! In an ACL script, can you clear a users cache?

Hello - So i have an ACL which contains a script. See below. However, in this script, is there also a code that i can use to clear the cache for this user? and not everyone (system wide)?    answer = isGroupMember();function isGroupMember() {if (!gs....

Confirm box with Yes / No buttons instead of OK / Cancel

I am using return confirm("Are you sure...."); I want to specify Yes and No buttons instead of OK and Cancel. I am wondering if there is a simple way to do this within the scope of standard service-now tools. I cannot seem to find one.This is pretty ...

garyopela by ServiceNow Employee
  • 25149 Views
  • 4 replies
  • 1 helpfuls

Resolved! Bootstrap modal closing while press ENTER key in textarea element

Hi guys I have an SP modal widget which contain textarea element, in this field the user should have the ability to break-line by press enter key, but in this case the modal is closing. I see that if I use f12 with debugger is behave OK, also if I ad...

Aviv S_ by Tera Contributor
  • 7777 Views
  • 9 replies
  • 1 helpfuls

Want to remove snc_internal role when creating ACL

Hi All, When i try to create a ACL in our dev instance automatically the snc_internal role is getting added, I want to remove that role, can anyone suggest how to remove that? I wanted to create a ACL to restrict When the ticket is assigned to major ...

Ashwini8 by Tera Contributor
  • 3389 Views
  • 8 replies
  • 5 helpfuls

Resolved! When the incident is reassigned it should trigger notification to previous assignment group and also when the incident state changes

Hi All, I have created a notofication to trigger when an incident is reassigned to another team , it will trigger notification to the previous assignment group. But now we have a requirement when the state of that incident changes to resolved/closed/...

find_real_file.png find_real_file.png find_real_file.png
Ashwini8 by Tera Contributor
  • 4338 Views
  • 13 replies
  • 2 helpfuls

Add new values to List Collector

Hey folks, I have a variable List Collector whose data is populating from a table 'sys_toupan_data'. On catalog from, I have 2 new values of logged-on user's primary account (account) and secondary account (account_dev) which is not available in the ...

Mohammed by Tera Contributor
  • 5728 Views
  • 11 replies
  • 0 helpfuls

Resolved! Multiple Task SCTASK under single RITM- REST API

I use Python Script to create tasks in multiple categories,  now i need REST API url which help me to create more TASKS under one RITM/REQ. anyone did this before?update:I have one ritm with one task is present but i want to add more  tasks under tha...

Nanasaheb by Kilo Contributor
  • 4106 Views
  • 10 replies
  • 3 helpfuls

Resolved! Testing GlideAjax class from background script

If I have script include MyClass wich clicent callable with method  myFunction and if I pass  'sysparm_number' and 'sysparm_user', what is the code that I can put in background script to test? Appreciate it.

Giri6 by Tera Expert
  • 6001 Views
  • 7 replies
  • 0 helpfuls

Resolved! Formatting journal entries on mail scripts.

Hello All, I am looking for a way to nicely format an email notification. In particular when a note is added to an incident. At the moment we are just getting the journal entry and printing it on the notification: I would like to be able to separate...

find_real_file.png