We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

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

Forum Posts

Incident task can't closed

Hi Guys,We encounter an error in closing the incident task. What happen is when INCTASK Work Notes is filled before changing the State to Closed Complete the work notes disappeared along with your notes and when you click the update button an error m...

Codi by Tera Contributor
  • 406 Views
  • 2 replies
  • 0 helpfuls

Need help with email notification

I have a requirement of notification, when worknotes are updated, email body should have below line. Worknotes of the incident has been updated by[who] on [when] How to do that?

Admin7267 by Kilo Sage
  • 943 Views
  • 3 replies
  • 0 helpfuls

Can you use previous on a notification?

On a notification, I only want it to trigger if the following conditions are met:if (previous.getValue('u_cmdb_data_steward.manager') == current.getValue('u_cmdb_data_steward')) {    answer = true;} The above query checks if the previous manager of t...

Resolved! UI Policy to set Assignment Group is not working

I created a UI Policy for a condition and wrote a script in advance view as the following:function onCondition() {g_form.setValue('assignment_group', "SNS - Admin");}The group exists, and the form shows the change but when I click save on the form it...

Navaneeth1 by Tera Guru
  • 1260 Views
  • 6 replies
  • 3 helpfuls

Slack Integration

Hello Experts,We have slack integration set up in our instance...now I have a new requirement to create Scheduled job to send slack message to inactive users from system. Slack Message should contain two buttons-1. Active  2.Inactive I can create a s...

Question on list collector variable

Hi All,I have one requirement on catalog item, if list collector choice "other" is select then "specify other" field should be visible.Could please help me on this, to get the proper solution. Thanks,

Mani60 by Tera Contributor
  • 685 Views
  • 3 replies
  • 0 helpfuls

How Can we use " getDisplayValue()" in GlideRecord()

Plse friends don't give your replay with below mentioned codevar list = current.watch_list.getDisplayValue();   var array = list.split(",");   for (var i=0; i < array.length; i++) {     gs.print("Display value is: " + array[i]);   }i am learner so pl...

Kishore8 by Kilo Guru
  • 70727 Views
  • 5 replies
  • 8 helpfuls

Add encoded query

I have created a CI field that is a list.   How can i write an encoded query to change the line that is not working below to an encoded query are both the queries on line 5 and 6 the same?   I am trying to match a CI that is in a list. if (current.u_...