Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

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

Forum Posts

GlideSysAttachment not working for xlsx

When I run this code, and when the generated excel file that is downloaded and opened gives the following error: The code works for content type xls and csv's. var attachment = new GlideSysAttachment(); var rec = new GlideRecord('incident'); rec.ge...

find_real_file.png
SD35 by Tera Expert
  • 2931 Views
  • 4 replies
  • 0 helpfuls

Resolved! Script to fetch all fields from a table which is not inherited

HI All, I have a table which is extended from CMDB CI. There are also many custom fields created in the child table. Does anyone have a way to fetch the list all the custom fields from the child table via script?. it should only give results of non e...

ShAn21 by Tera Guru
  • 4369 Views
  • 10 replies
  • 1 helpfuls

Run Business Rule checkbox in Transform Map

Under health scan, I need to uncheck the "Run Business Rule" checkbox in Transform Map, only for those maps where it's not needed. So, how can I check if there is any Business Rule running after the transform map.

Trying to use an encoded query with REST API request

Hello all, I am trying to pass two parameters to a REST API that I have created.  The parameters are: queryParam.opened_at_start_date and queryParam.opened_at_end_date.  The values are formatted and passed as: opened_at_start_date=01-01-2022&opened_a...

lonesoac01 by Giga Guru
  • 1884 Views
  • 2 replies
  • 0 helpfuls

Resolved! How to change the Post Incident Report on incident

On the incident form for Major Incident, we have the Post Incident Report tab, when incident is resolved. I would like to replace the table under Findings for all news major incidents, but where, do I do that ? 

find_real_file.png
LykkeDueB by Tera Contributor
  • 1921 Views
  • 1 replies
  • 0 helpfuls

Approval workflow Nudge

Hello,  I was curious if anyone has ever run into an issue with a stalled approval workflow. We have a workflow currently that has two approvals one after another. One Approval-User stage, and if Approved moves on to a Approval-Group stage, if that i...

find_real_file.png find_real_file.png
Cobee by Tera Expert
  • 2144 Views
  • 3 replies
  • 1 helpfuls

Resolved! Calculate months difference between two date fields

Hello, I have a task to calculate the number of months between two date fields. (Price validity end date – Change date) I tried to solve it with the code below, but I don't think that's the best approach. var changeDate = new GlideDateTime(current.u...

find_real_file.png

How to move a Change from Authorize to Scheduled with open Tasks

Hello,  In Normal Change I have created a Subflow which is create 2 Tasks in New state. This is working so far. The Change can moved to Asses, moves automatically to Authorize.But after Approval the Change stays in Authorize State and don't moves to ...

User660037 by Tera Contributor
  • 3769 Views
  • 2 replies
  • 0 helpfuls

Resolved! Acl not working on scripted rest API

Hi All   I have created an ACL for accessing rest api and attched in security tab but its not working all users without itil role also can retrieve data from ServiceNow how we can rectify this issue?        ACL      POSTMAN          USER PROFILE ...

jobin1 by Tera Expert
  • 3258 Views
  • 5 replies
  • 1 helpfuls

Business Rule for First Response (table agnostic)

I've looked through the following solutions for First Response in the community that do not solve my problem.  See below: https://community.servicenow.com/community?id=community_question&sys_id=db7367e5dbc474102dc24f78139619d5https://community.servic...

Adam Wencel by Giga Contributor
  • 3850 Views
  • 9 replies
  • 2 helpfuls