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

Resolved! Request rejected comments into a notification

Hello All,I could use some help. I have been trying to get a rejected notification email to include the approver's rejection comments.   I have tried several scripts to get his to work without fruitful results. The notification is targeting the sysap...

jrhoads by Giga Contributor
  • 4348 Views
  • 6 replies
  • 5 helpfuls

GlideDBObjectManager.getTable in Scoped App

Hi, We have a custom scoped widget for Service Portal that is also reading all the related lists to show them as additional tabs.   This line that is giving an error message is: data.tableHierarchy = GlideDBObjectManager.getTables(data.table).toArray...

Karina15 by Giga Contributor
  • 2948 Views
  • 2 replies
  • 3 helpfuls

Resolved! I have a script include that is quering a user and returning all of the assignment groups the user is in. I am only getting one group being returned when there are supposed to be several.

I have a script include that is querying a user and returning all of the assignment groups that the user is in. I am only getting  one group being returned when there are supposed to be several. Any thoughts?  Here is my script include: function getU...

smetsch by Kilo Contributor
  • 4206 Views
  • 9 replies
  • 6 helpfuls

How to capture IP Address of user?

Hi , i have to capture IP address of user, to identify user making changes. Every time user updating any changes that many times IP address should be captured and stored somewhere for reporting purpose.  

Resolved! condition using IN operator

in below argument condition i want to add "^Location in ( gs.getUser().getLocation())"--  user can have multiple Location.please suggest correct syntax &sysparm_fixed_query=sys_created_by=javascript:gs.getUserName()^company=javascript:gs.getUser().ge...

find_real_file.png