Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

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

Forum Posts

Error occur while passing json string

When we create change request and when we keep the below content in "implementation plan" field. We are receiving the below error as part of sending the payload via rest message. This is a bidirectional integration. We are using business rule for thi...

Sudheer961_0-1718120496265.png
Sudheer961 by Tera Contributor
  • 1989 Views
  • 2 replies
  • 0 helpfuls

Why I am not able to insert the subcategory on Invoice Table

Hello Experts,I am working on the Finance and Procurement module i that there is Invoice table Category and Subcategory fields are there as Incident Form.I have Imported the categories first the with dependent value as category value imported the sub...

atik1107 by Kilo Contributor
  • 334 Views
  • 2 replies
  • 2 helpfuls

Attachment mandatory on closing task

Hey everyone,I got a ask to make attachment mandatory on form whenever user tries to close the task....I have a Ui action called closed that reflects the state of the task closed...The scenario here is whenever user clicks on close button he should b...

ujjwala_678 by Tera Contributor
  • 1273 Views
  • 5 replies
  • 3 helpfuls

Resolved! Required permissions for server script includes ?

Hello Community, I've got a script include which is called from a client ui script. Which is called in a catalog item. All put into a scoped application.  The problem is that this only works when the current user has the role admin or snc_internal. W...

JG6 by Kilo Guru
  • 4756 Views
  • 7 replies
  • 7 helpfuls

Resolved! how to get today date in servicenow notification mail script

My query is how it is taking different todays date  var todayDate = new GlideDateTime();todayDate.setDisplayValue(todayDate.getDate().getByFormat('yyyy-MM-dd') + ' 00:00:00');gs.info("Adjusted todayDate: " + todayDate); Output:logs created on 15-06-2...

RamuN by Tera Contributor
  • 1086 Views
  • 2 replies
  • 1 helpfuls

related list using Relationship

Hello.I'm working on creating a Query script for Relationship.applies on table : rm_storyQueries on table :sn_test_management_m2m_test_set_testI would like to use the test set of the current record to narrow down the records displayed in the related ...

Resolved! OAuth 2 error

Hey community,I'm trying to connect to instance with PostMan for testing with application registry.I created the application registry as it should be.added to the post manbody : grant_type - passwordclient_id - myClientIdclient_secret - myClientSecre...

eyalabuhamad_0-1718134473861.png eyalabuhamad_1-1718134542828.png

How to copy an image from a photo field to the images_db table

Hi,  Im trying to copy photo files of images that we get from a record producerIm trying to use in flow designer to get the photo images from the sys_attachment then,We want to create a new record in the images_db table from the photos to then get a ...

imagesdb flow.PNG
Danmax by Tera Expert
  • 685 Views
  • 1 replies
  • 0 helpfuls

How to retrive the submiited form in Automated test Framework?

As I am new to the ATF,First step  - Impersonate the userSecond Step - Create new incident formThird Step- Set the all mandatory fieldsFourth Step - Submit the formIn the next steps I need to map the submitted incident form information ? Can anyone p...

pavi12 by Tera Contributor
  • 684 Views
  • 7 replies
  • 0 helpfuls

Identify the error

def sum_even_numbers(numbers):total = 0for number in numbers:if number % 2 == 0:total += numberelse:continuereturn totalnumbers_list = [1, 2, 3, 4, 5, 6]result = sum_even_numbers(numbers_list)print(f"The sum of even numbers is: {result}")