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

Forum Posts

Get Caller or requested for details in a task list view

I created a list view from the task table which shows all active requests and Incidents.   But I want a create a new field which shows either the requested_for or caller_id.I don't want two separate fields. Is this straight forward and what steps sho...

adam_webster by Kilo Contributor
  • 4253 Views
  • 7 replies
  • 0 helpfuls

Resolved! how to avoid add attachments from inbound mail action

Hi Team , we have written inbound mail action as below : var messageContent = "[code]" + email.body_html ; if (messageContent.indexOf("From") != -1) { messageContent = messageContent.substring(0, messageContent.indexOf("From")).trim(); } else { messa...

find_real_file.png find_real_file.png find_real_file.png find_real_file.png
String by Kilo Sage
  • 5159 Views
  • 5 replies
  • 2 helpfuls

Script To Populate Reference Field

I have a table which has a string field called "u_created_by" which currently has "joe.smith" which is the users ID. I have since created a reference field for reporting purposes that is populating the "requestor" going forward. I am having trouble w...

Nic Omaha by Tera Guru
  • 4675 Views
  • 5 replies
  • 1 helpfuls

Attaching a report to an email notification

Hi all, There's a reference in the docs to attaching reports to email notifications: https://docs.servicenow.com/bundle/kingston-servicenow-platform/page/administer/notification/concept/c_AttachingDocsToANotification.html The syntax to use is ${repor...

Jamsta1912 by Tera Guru
  • 4852 Views
  • 8 replies
  • 4 helpfuls

Resolved! g_form get label of choice

I have a string field on a form that has a choice list.It's the "Label" of the choice list that I want:If I do g_form.getLabelOf('u_computer_type'), of course it will return:   Computer TypeWhat trickery can I do to get the label of the chosen choice...

find_real_file.png find_real_file.png
xiaix by Tera Guru
  • 13420 Views
  • 4 replies
  • 22 helpfuls

Background Script shows only Global scope on test instance

I developed a scoped application. My current update set is the new-application. On the DEV instance, when I go to script-background, I can choose the scope as the custom app. I deployed the app on our TEST instance using the app store. Strangely, in ...

cc11 by Tera Contributor
  • 3861 Views
  • 10 replies
  • 0 helpfuls

Resolved! isMemberOf(): How do I use this when trying to find if any user, (i.e., NOT the user currently logged in), is a member of a specific group?

BACKGROUND: A client is adding members to one (or all) of three (3) groups.  If the user is a member of any of the groups, they are then considered a VIP user and the VIP "flag" on their user record should be set to "True". Likewise, when a user is n...

shawnclune by ServiceNow Employee
  • 9476 Views
  • 13 replies
  • 0 helpfuls

Before Query business rule to hide an Application from user

Hi SNCBefore Query business rule has been created to hide an application for users with specific property in User table. When I impersonate and verify, it is not working for all users and Business rule also not executing for all users. can anybody te...

basha5 by Kilo Contributor
  • 4240 Views
  • 8 replies
  • 12 helpfuls

Resolved! Flow Designer Approvals not Triggering

I am creating my first flow designer and the approvals are not triggering for Service Catalog items.  Can you help me figure out what I'm missing? (I have saved/activated prior to testing) Flow Designer Resulting Request Item: It creates the entry ...

find_real_file.png find_real_file.png
litchick10 by Tera Guru
  • 2719 Views
  • 4 replies
  • 2 helpfuls