We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

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

Forum Posts

User record updated unknowingly

Hi, I was having a visitor user record in user Table which is used for incident creation through inbound email. The company field for record was empty previously seems like now company updates to some value.I have enabled audit log but no history for...

Pass sys_id or Name for reference fields?

I have written Before Insert Business rule on Incident form.(function executeRule(current, previous /*null when async*/) {     current.assignment_group = 'Analytics';     current.assigned_to = 'Luke Wilson';})(current, previous); But once the inciden...

del2.png
Suggy by Giga Sage
  • 2490 Views
  • 10 replies
  • 0 helpfuls

How to Retrieve selected Dropdown value in UI Builder

Hi, I created a custom Dropdown component on UI Builder and the dropdown component has three value for user to choose.   Dropdown: value 1 value 2 value 3   How do i retrieve the value selected by user? Example: I used this command to retrieve the va...

vtred by Tera Contributor
  • 4294 Views
  • 3 replies
  • 5 helpfuls

Resolved! How to display minutes in a duration field

I have a business rule that calculates the time (in minutes) a record has been in Open state. Everything is working wonderfully, except that I am now trying to display the minutes value on the form in a duration field, which is taking the minutes val...

Digit_0-1673299449893.png
Digit by Kilo Guru
  • 3813 Views
  • 5 replies
  • 2 helpfuls

Resolved! Calculate Number of Days between two dates(Start and End Date)

Hello Expert, I want to calculate the number of days between two date fields. but this give me the less number of days between the two dates. For example, the dates are 17-05-2021 to 18-05-2021, I am using the script below, the script is returning th...

Dhanshri by Kilo Contributor
  • 20315 Views
  • 8 replies
  • 9 helpfuls

Optimize Service Portal search history report

Hello, I have this report on sp_log table to analyze search queries which didn't return any results. And there is a problem I have encountered. Basically whenever end user search something in SP, depending on how fast the user types it gives suggest...

find_real_file.png find_real_file.png

Resolved! Powershell Script to Upload file to table

We have been looking for a solution for automating an upload from an Excel doc to a table as if just went to the table and did a right click > Import. We had tried setting it up originally as a scheduled import and setting up the Data Source as Type:...

Tim Darrach1 by Tera Contributor
  • 4785 Views
  • 9 replies
  • 0 helpfuls

Currency field on Record Producer

Hi, There is no Currency field for record producer.  What is the Script to hard code '$' on one of the field of the record producer and it will only allow number and decimals. How do I achieve this use case? Thank you

Community Alums by Community Alums  
  • 7073 Views
  • 6 replies
  • 12 helpfuls

approval user activity stuck??

I have created workflow and triggered for approval. so if approval person is set "no longer required/ cancelled" its stuck . workflow show like this. For that i have added two condition no longer required and cancelled but its stuck. when select the...

find_real_file.png

Resolved! Business Rule Delete

Create a Business Rule which will trigger when record is deleted in Incident table then delete a record in Customer Incident table for that incident.

Javascript not parsing large number in JSON correctly

Hi Team,I have a strange issues foreseeing while trying to use JSON.parse to parse a large number..When I parse this little piece of JSON{ "value" : 9223372036854775807 }that's what I get{ hello: 9223372036854776000 } 9223372036854775807 != 922337203...

abakassahoo by Giga Contributor
  • 4926 Views
  • 2 replies
  • 0 helpfuls

Resolved! Major Incident Management Process Flow

Hello All,We are Implementing a Major Incident Management in ServiceNow and would be interested to know the process flow that is being followed as best practice. as per ServiceNow Docs @https://docs.servicenow.com/bundle/tokyo-it-service-management/p...

Santosh37 by Tera Contributor
  • 3414 Views
  • 1 replies
  • 1 helpfuls