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

Forum Posts

Pring Lat 5 records of current logged in user

I am sure the below script will print the last 5 records created on the system but am looking to print last 5 records assigned to the logged in user , could anyone please help me with the change on the below script.var gr = new GlideRecord('incident)...

why i am getting HTTP status 401- Unauthorized??

When I tried with Rest message test connection it is giving me 200 but when I am doing through below script it is throwing me 401? can any one help me in solving out this? var body = {"ApproverName":inputs.approver,"UniqueID" : inputs.approvalSysid,"...

o-auth.png

Multi Row Variable Set Access Values

Hi guys, what's up?I have a catalog item that has a multi row variable set. For this item I have a flow that generates a new RITM for each row inserted in the variable set. However, I need to add a new rule so that for each new task in each RITM the ...

MariaVitorS_0-1737461842713.png MariaVitorS_1-1737461904627.png
MariaVitorS by Tera Contributor
  • 528 Views
  • 7 replies
  • 0 helpfuls

Unable to add CTASK in Change request (CHG0559385)

We have raised a Change Request (CHG0559385) today, but we are unable to add CTASK on that CR. we are getting an error (screenshot attached). we have contacted with change management team already, but they are unable do it from their end.also, in one...

PRADEEPREDDYGU_0-1737476581388.png PRADEEPREDDYGU_1-1737476595917.png

Resolved! Convert date to date/time value

Hi there!I'm trying to accomplish with a client requirement. They need to move the date of due date field in demands to the due date field in enhancement. Field specifications are as follows: Due Date Demands:table: dmn_demand type: dateDue Date in e...

LeonelSandroni_0-1737469732086.png LeonelSandroni_1-1737469962955.png LeonelSandroni_2-1737470283976.png

Archiving large volumes of records

We have an extremely large incident table, and have activated archiving of inactive incidents that have been closed for more than 14 months. However, when we left the ‘max number of batches (Max Iterations) to process when archiver runs’ at the defa...

Redirect users to a custom page after SSO login

Hi, I am planning to enable SSO login for external CSM users.In our organization, a single person with single login credentials for SSO can represent multiple accounts.I would like them to have different user accounts (contacts) in ServiceNow for eac...

OlegA by Tera Contributor
  • 1070 Views
  • 5 replies
  • 0 helpfuls

What is the API of new sn_ws_err.NotFoundError

Hi, Has anyone figured out the API for new sn_ws_err.NotFoundError to grab the message/status that it holds inside? example: var err = new sn_ws_err.NotFoundError('No Incident found');  I attempted the following options and nothing came out: gs.info(...

rdelpeso1 by Mega Contributor
  • 1893 Views
  • 4 replies
  • 1 helpfuls

Resolved! Set RITM Price from Option

I have a catalog item with a multiple choice variable for the user to select which license type they are requesting (see variable configuration below.  I want the price on the RITM to be set as the value in the Recurring Price associated with the opt...

leport_0-1736882581842.png
leport by Tera Contributor
  • 951 Views
  • 11 replies
  • 2 helpfuls

Resolved! Catalog task email notification for additional comments

I'm trying to set up a notification that triggers when an Additional Comment is added to a catalog task. The goal is to notify both the assignee (assigned to and the end user (requester) when a new comment is added. I see a catalog task notification ...

DevtoSME by Giga Guru
  • 489 Views
  • 2 replies
  • 0 helpfuls

Triggering Acitivity sets for LCE manually

We have a few workers that did not generate the activity sets and their onboarding case through the integration.When we try to manually do it. it only creates the parent case but not the full activity sets to go along with it How can we manually trig...

Casey4 by Tera Contributor
  • 926 Views
  • 6 replies
  • 0 helpfuls