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

<div ng-include not working on widget

Hello ,  I have a requirement to replace all <script> tags with <div ng-include=""></div> In "sc categories" widget there are two places where its written. I was able to correct the first occurence(catalog items list) , however the second one (catego...

sameer S by Tera Contributor
  • 1371 Views
  • 2 replies
  • 0 helpfuls

Resolved! API Get sys_id using a Change Number

Hi all, Objective: Use API to get sys_id using a Change NumberI'm new to scripting and I am using POSTMAN to use ServiceNow API to request for response in order to pass data on to other APIs for other apps. I know that you can GET a response from a C...

Ninh V Bui by Kilo Contributor
  • 4077 Views
  • 3 replies
  • 0 helpfuls

How to dot walk from user table to core country table

Hello All I have a requirement as below: Navigate from user table to core country table for a field value. sys_user > cmn_location > core_country. The user table contains a OOB field 'Location'  from there I will direct to a customized field 'Country...

Souvick A by Tera Contributor
  • 1312 Views
  • 5 replies
  • 0 helpfuls

Run transform map with admin rights

Hi All, I have a transform map which runs on auto provisioning of user from SAML. In transform map I have a code written to create the group and assign the role to the group and then add the member to the group. This transform map is running with use...

Geeky by Kilo Guru
  • 2109 Views
  • 4 replies
  • 0 helpfuls

Resolved! Error with setRequestBodyFromAttachment in REST message

Hi, When using the  setRequestBodyFromAttachment method for sending an attachment, I have an error. In the Outbound Http log, I received a "[ERROR CODE: -1] attachment does not exist with sys_id: 9ad8e2a74b4a4110ffa2d68dbce058f8" message. I verify th...

Resolved! Make Parent field required when child task is created.

Hello I am trying to create a ui policy on the hr_task table with the requirement that when the task is created a parent case field becomes mandatory so you cannot close the task until the parent field is filled.  the ui policy dot walks to the field...

find_real_file.png find_real_file.png
dagarson by Tera Guru
  • 1100 Views
  • 1 replies
  • 0 helpfuls

Resolved! Calling script include answer

I have a script I want to execute depending on if the answer for a script include returns true or false.   I invoke the script include at the beginning of my script and want to add if "if/else" statement to decide wether or not the script should exec...

Screen Shot 2017-01-23 at 5.52.44 PM.png Screen Shot 2017-01-23 at 5.52.31 PM.png

Data Certification Task on the Portal

We have activated the Date Certification plugin. Data Certification tasks are generated and assigned to users based on the certification filter. We also have a few end users in the assigned to. How can the Certification Task and Certification element...

amrut4 by Mega Guru
  • 1335 Views
  • 4 replies
  • 1 helpfuls