We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

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

Forum Posts

Resolved! cancel ui action

I am trying to add a UI Action button called "Cancel" on a new form (insert).   I've tried this code below in the UI Action, but when the user clicks the button it still requires the user to fill in mandatory fields.   I want the user to be able to j...

twenger26 by Giga Contributor
  • 4609 Views
  • 2 replies
  • 0 helpfuls

rollback to previous version

Hi Everyone, Is there a way to rollback to previous version? We are planning to upgrade from Helsinki to London. Just in case if there is anything goes wrong can we revert back to helsinki after upgrade was done.   Thanks

daggupati by Tera Contributor
  • 9724 Views
  • 6 replies
  • 0 helpfuls

How to get a Widget to pass variables to a Catalog Item?

I have found articles in how to pass variables from a Catalog Item to a Widget, but not the other way around (which we are trying to do).We have a widget that pulls asset information based on queries and displays it.   I would like to be able to sele...

Rachael10 by Kilo Contributor
  • 5141 Views
  • 3 replies
  • 1 helpfuls

Resolved! Widget sn-record-picker with sys_user

I have a new widget with an sn-record-picker that loads sys_user: <sn-record-picker on-change="c.changed()" field="c.data.profile" table="'sys_user'" display-field="'name'" value-field="'user_name'" default-query="active=true" search-fields="'name'...

nic_2017 by Mega Contributor
  • 2519 Views
  • 7 replies
  • 0 helpfuls

Resolved! Record producer in Portal: abort action and redirect to catalog

Record producer defined to incident table    Script:   current.setAbortAction=true producer.portal_redirect = "?id=sc_home"   Abort action works but it still navigates to the incident record. However  sys_id is not available in incident table    Expe...

Nithin21 by Tera Expert
  • 4366 Views
  • 3 replies
  • 4 helpfuls

Resolved! iso-8859 to utf8

Hi, Im having an issue with incoming mail being in iso-8859-1 format instead of UTF8. That means that the characters gets potentially garbled.  For instance the subject can look something like this: "=?iso-8859-1?Q?From Glenn BTS?=" My question is if...

Glenn1 by Kilo Contributor
  • 4570 Views
  • 5 replies
  • 0 helpfuls

Resolved! How to close modal window after record producer submitted

We are using a modal to submit record producers but after selecting 'Submit' it changes to 'Submitted' and a message appears at the top of the Service Portal but the message only appears for a short while and you don't necessarily see if for long so ...

dave_edgar by Mega Guru
  • 4475 Views
  • 4 replies
  • 0 helpfuls

Trigger workflow from UI Action Button

Hi, Can you trigger a workflow from a UI Action button? Or do I have to create a business rule to trigger the workflow? I found this and added it to the UI Action button, but it is not working. var id = '12345647891023456789123456789'; //sys_id of wo...

Dazler by Mega Sage
  • 8834 Views
  • 19 replies
  • 2 helpfuls

Resolved! ACLs: Read-Only on Existing Records, but Can Add New Records

So I have a two part question, mostly surrounding ACLs.  I have been messing around without for awhile, without much success in getting to do what I want. First, I created a table called "My Attachments".  It contains three main fields: u_catalog_ite...

find_real_file.png
jmiskey by Kilo Sage
  • 10672 Views
  • 5 replies
  • 4 helpfuls

Report the10 longest on hold incidents for the month

Hi guys, I have a question how to capture the duration from when a ticket is set to "On Hold" to now (the incident is still in "On Hold" state). I need to report the 10 longest On Hold incidents for the month. For example, I set one incident state to...

jane-jy by Kilo Contributor
  • 4030 Views
  • 8 replies
  • 2 helpfuls

How to remove interceptor completely?

I went through this:You should be able to open up the Interceptor for change and set all the answer records to inactive.Navigate to System Definition>Interceptors and select the one for change (should be the one that has the Intercepts field as chang...

sonita by Giga Guru
  • 4303 Views
  • 6 replies
  • 3 helpfuls