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

Forum Posts

Adding timer in Business rule

Hello behind the notification I need to put a timer before triggering the notification in Business rule.What code can I use/add?  

Uchel_0-1686214742391.png
Uchel by Tera Contributor
  • 5972 Views
  • 7 replies
  • 2 helpfuls

Resolved! creation of Incident task using Flow designer

I am creating simple flow to create Incident task on creation of a Incident. Flow is working but I am not getting Incidentfield value although I am getting other fields correctly. and this is what I am getting  

Screenshot 2023-06-28 173120.png Screenshot 2023-06-28 173411.png Screenshot 2023-06-28 173213.png BhawanaTomar_1-1687954982792.png

While loop is not working

Hello All,I have below code in schedule job which is written on Demand.It is working correctly but evertime when I execute it update only 1 record it should update all the record if condition matches.  var gr = new GlideRecord('incident');         gr...

Nisha B by Tera Expert
  • 783 Views
  • 10 replies
  • 0 helpfuls

Resolved! oauth 2 - generated acceess token in OKTA

Hi therei have a catalog item which need to send  POST request to a OKTA endpoint.i have generated authorised token from Okta. how do i store the authorised token in servicenow, please if a example could be provided on how to set up. i am familiar wi...

levino by Giga Guru
  • 1070 Views
  • 1 replies
  • 1 helpfuls

How to use Pagination using script

Hi Team ,Am using below script to get the pagination  var limit = 3;var offset = 1;var gr = new GlideRecord('incident');gr.addQuery('short_description','test');gr.orderByDesc("number");gr.setLimit(limit);gr.setOffset(offset);gr.query();while (gr.next...

Path Parameter Vs Query Parameter

Hi Team, Would like to know the difference between Path Parameter and Query Parameter with an example.  I saw many answers in the Google but here I am looking about your understanding. Please share your own experience.Also, would like to know how to ...

NehaSNOW by Tera Guru
  • 22064 Views
  • 9 replies
  • 13 helpfuls

How to create default list filter in workspace?

Hi Community, I want to create a new list under List section of workspace with filter. Eg:- All Entiry records with active is true. It should look like:-Entities-Create New-Active Entities -All My instance is on sandiego version.Could anyone please h...

Ankita Kolhe by Tera Contributor
  • 2968 Views
  • 4 replies
  • 0 helpfuls

Trigger a windows task on a mid server

Hi,Is it possible to trigger a windows task on a mid server from a script? Here is my script: Unsure on the command and payload part. Any help would be greatly appreciated  var midServerName = 'MID_SERVER_NAME';var taskName = 'test task';var midServe...

User485076 by Tera Contributor
  • 972 Views
  • 6 replies
  • 0 helpfuls