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

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
  • 771 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
  • 1496 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
  • 2376 Views
  • 4 replies
  • 1 helpfuls