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

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

Forum Posts

Workflow activity 'Wait for Condition' always needs a 'Nudge'

I have the following 'Wait for Condition'   script. When   the step runs the first time the value is 'requested'.   Whether it is 'approved' or 'rejected' the activity won't trigger when the approval/rejection is done and the task 'parent status appr...

find_real_file.png
clyon by Tera Guru
  • 6418 Views
  • 13 replies
  • 1 helpfuls

What is the "system" user?

Hi all, My table was updated by a user named "system". What is this user? I cannot find it in user table. Besides, I created ACL for the table, "system" user is not in the list but it can still update table, I have no idea why.   Regards,Eric

Resolved! How to ask the REST Response to wait 60 seconds

Hi All, i have a scenario in one of the integration like. If i get response as "200" then update the task with state as "closed completed" else if response get 400 then wait for 60 then update the task as "not successful" in the worknotes. I have tri...

Rani11 by Tera Expert
  • 4833 Views
  • 12 replies
  • 1 helpfuls

embedding widget from ng template

I have a template that loads fine from the sp-model directive that I'm passing form data. I'm just trying to embed a widget  within it.  From just the html the widget loads correctly.  From the sp-model directive using the custom template though, it ...

Community Alums by Community Alums  
  • 2754 Views
  • 1 replies
  • 0 helpfuls

Resolved! How to display Label instead of the Value?

Hi, I am working on a UI action to create an incident from a demand. I am trying to bring over the state from the demand to the incident. However it is coming to the incident as the value instead of the label. Below are the different ways I have trie...

find_real_file.png

UI Action to Check for Mandatory fields before Updating State

Hi All, I have requirement to update the state using the UI action and this UI action should update the state only when Mandatory fields are getting populated .  This is UI action is making state to 'Closed' and we have UI policy to make certain fiel...

Mrman by Tera Guru
  • 7301 Views
  • 13 replies
  • 4 helpfuls

Resolved! Asset based on requester of catalog item

I have the following script includes, and calling it on the Asset reference field on my catalog request form.The goal is to pull the list of assets of the 'requested_for" user. Any idea why this script does not work?function BackfillAsset() {   var g...

Resolved! make comments mandatory when UI action is clieked

Hello  I have a UI action when clicked it will change The incident state to assigned and additional comments are mandatory  I am trying to use this below script but having some trouble to show up the UI action if the client is checked so I removed th...

RudhraKAM by Tera Guru
  • 3563 Views
  • 5 replies
  • 3 helpfuls

Resolved! dateGenerate in query

Hello, I need to get records between specific dates: var query = 'state=3^closed_atBETWEENjavascript:gs.dateGenerate('2018-11-17','00:00:00')@javascript:gs.dateGenerate('2019-01-31','23:59:59')'; //Nov 17 2018 to Jan 31 2019 Please help in correcting...

MarioP1 by Tera Contributor
  • 11567 Views
  • 3 replies
  • 11 helpfuls

Resolved! Email script help to open link record

Hello Community, Can any one help below requirement. I want to display the number in notification body through email script and if i click that number it should be open form view same record and i dont want to open in service portal. anyone help me w...

kalava by Tera Contributor
  • 6449 Views
  • 26 replies
  • 5 helpfuls

Resolved! How to create a report on variable set

I have a table called sn_sm_finance_request that extends sm_order table that extends task table.I need to include the variables on the list as columns specifically the vendor details and request details so that the user can filter /search the list ba...

find_real_file.png find_real_file.png find_real_file.png
jparman by Tera Guru
  • 6595 Views
  • 3 replies
  • 0 helpfuls

Workflow Script Searcher

If you are a developer and maintaining a really complex workflow, this utility will help you.This utility will help you to do some quick string based search on workflows Just in case, have uploaded the same on service-now share too  Implementation ...

Resolved! How to convert a string to ASCII

Hello, We have requirement to convert string to ASCII values. for example: "hello " is the string which needs to be converted to ASCII value 72,69,76,76,79 Thank you.