The CreatorCon Call for Content is officially open! Get started here.

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

Forum Posts

Resolved! How to create an error message using client script

Hello, I have a task wherein I have to create an error message using client script. The scenario is whenever a user changes the state of the incident to resolve and an incident task or job order is still open, it will display an error message which s...

Resolved! Client Script in plain text

HI, I am trying to write new client script in Studio but today I am getting a message as mentioned below: New client-scripts are run in strict mode, with direct DOM access disabled. Access to jQuery, prototype and the window object are likewise disa...

find_real_file.png
Shivani29 by Mega Guru
  • 1577 Views
  • 7 replies
  • 1 helpfuls

Resolved! Set form view through UI Action

Good day teamI have a requirement to set the view of a form through a UI Action to a different table.We have a UI Action on incident to create a new RITM for an equipment request.The users have to set certain fields based on this view that was create...

Resolved! How to store the assessment instance sys id in a variable...

Hi guys, I need to send a notification with a link to a survey when incident is closed. All conditions has been set, but I need the final peace of the puzzle. I am using a business rule that triggers the notification containing the email_scripts. In ...

robinsnow by Tera Contributor
  • 1618 Views
  • 2 replies
  • 3 helpfuls

Resolved! How to end a flow manually in flow designer ?

Hello Experts,   I was exploring flow designer. I want to utilize this for one of our catalog item automation. I know I can do it with workflow. But It has some integration. so I want to create new actions and utilize same in other requests also. I h...

Ahmmed Ali by Mega Sage
  • 4053 Views
  • 5 replies
  • 1 helpfuls

Resolved! Comparing sys_created_on date in a background script

Hello i am trying to run a background script and one of the condition is for 'sys_created_on" to be after a certain date while the other conditions are or conditions based on catalog names. However, when running this background script i see that the ...

Metrics applied retroactively

Hello all:I am brand new to Metrics, and have been given a requirement that metric definitions I create be applied to existing records, retroactively. I have found a few examples of scripts that do this in the community, but haven't been able to make...

Resolved! displayvalue=true or displayvalue=all not working as described

Direct Web Services - ServiceNow WikiSection 5 states:When you query a record using a get or getRecords function the instance returns all fields associated with that record. The fields are often reference fields that contain a sys_id for a record on ...

wight by Giga Contributor
  • 3314 Views
  • 7 replies
  • 0 helpfuls