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

Forum Posts

Resolved! Can we use variable in EncodedQuery

Hi,Can we use variable in Encoded query, I am trying to assign a value to variable and use it in the encoded query it doesn't seems to be working. Can any one let me know how to do this. Below is the code, I wanted to replace the sysid highlighted wi...

vamsee1 by Mega Contributor
  • 7393 Views
  • 2 replies
  • 7 helpfuls

Netcool and ServiceNow integration

Hi Can you help us with the following.Trying to integrate Netcool and ServiceNow. I see the events pass across the Socket Writer gateway(netcool) to Socket monitor on MID server (watching the Socket monitor port). But I am not seeing the alerts getti...

Raji6 by Kilo Explorer
  • 1690 Views
  • 5 replies
  • 0 helpfuls

Previous Value in Mail Script

Hello,Is it possible to output a previous field value in a mail script? Something like this:<mail_script>var pdd = previous.due_date.getDisplayValue();template.print('previous due ' + pdd);</mail_script>Thanks!Mark Didrikson

Resolved! Updating group memberships with import set

Hello,Here is what I need to do:I have an Exchange distribution list which I regularly export by runningGet-ADGroupMember "<Distribution list name>" -recursive| select samaccountname,name | export-csv c:\temp\exported_names.txt -Encoding unicode -NoT...

hhakkanen by Kilo Explorer
  • 3251 Views
  • 3 replies
  • 0 helpfuls

Resolved! Workflow Set Value not triggering Business Rule

I use a Set Value in a workflow to update a task state to "Closed Complete".   It updates the state but does not trigger any Business Rules with the condition of that state field changing to "Closed Complete".   If I manually update the state in the ...

robrien by Kilo Contributor
  • 3021 Views
  • 2 replies
  • 5 helpfuls

Resolved! Email Notification Target

Hello Community,         I have created an event that gets fired via workflow activity in a workflow that is on the Change Request table. The event generates a notification that fires from the sysapproval_approver table. The notification contains a m...

2015-03-24 14_17_18-ServiceNow Service Automation - Internet Explorer.png
Ken83 by Mega Guru
  • 3171 Views
  • 9 replies
  • 0 helpfuls

Resolved! Filter condition for a module with javascript?

So, i know its very possible to use a javascript: bit of code within a filter however, I am facing an issue.I am trying to use:javascript:gs.getUserID().getRecord().getValue('u_site')Where u_site is a reference to core_company.so its: Site is javascr...

regizzle by Kilo Contributor
  • 6110 Views
  • 13 replies
  • 0 helpfuls

Resolved! UI Script trigger

How is a UI Script actually triggered? If a Global UI Script is written and is Active does it get triggered on each iframe/page load? I understand it may not be the optimal way of implementing a change - but wanted to understand where and how the UI ...

swamy_in by Kilo Explorer
  • 1746 Views
  • 4 replies
  • 3 helpfuls

Email notification condition on who receives an email

Under an email notification of mine, I want to script a condition that will control who will receive the email, not a condition to control when it will send.My email recipients are currently dynamic from fields on my Request form, Requested By (custo...

SC10 by Kilo Guru
  • 4075 Views
  • 10 replies
  • 0 helpfuls

Using a different WYSIWYG editor / HTMLArea

We have found the built in HTML editor in Service Now (Aspen) to be rather poor. You may have spotted, it produces messy HTML and generally lacks the ability to customise. As we are to be publishing knowledge articles on our CMS, the articles need to...

pu by Giga Contributor
  • 9744 Views
  • 20 replies
  • 0 helpfuls