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! Prevent multiple logins

How to prevent multiple logins with the same user id at the same time from different devices(computers)?

praneeth24 by Kilo Contributor
  • 3772 Views
  • 6 replies
  • 1 helpfuls

Use Email Client with an UI Action in a pop-up

Hello everyone,  Actually, I try to develop an UI action who open email_client.do in a pop-opI use the GlideDialogWindow method for my window, but I don't know how to link with email_client.doAfter that, it is possible to pre-fill the target field ?e...

email_do.PNG email_window.PNG
xif1 by Mega Expert
  • 4891 Views
  • 2 replies
  • 2 helpfuls

Contextual search, formatters, and double trouble.

Okay, here's a stumper. On our incident form, default view, we have the Contextual Search Results formatter. This is good.When you type in the short description field, the formatter expands, and suddenly there are two "Related Search Results" buttons...

find_real_file.png find_real_file.png find_real_file.png find_real_file.png
kimf by Kilo Contributor
  • 2874 Views
  • 3 replies
  • 0 helpfuls

Resolved! UI Action - List Button

Hello,I'm trying to write a UI Action to perform some operations on multiple records selected in a list. I've created the UI Action and selected 'List Button'.I'm using this well tried and tested method from SNC Guru, to run a client side script befo...

Jamsta1912 by Tera Guru
  • 5864 Views
  • 7 replies
  • 1 helpfuls

Resolved! Update selected with input from dialog window

Hi,In short: I'm trying to update selected list items using a UI Action + UI Page, but the processing script doesn't run properly.When standing in the list view and having one or more items selected, I want to open a popup that asks the user for a co...

Resolved! How to set mm-dd-yyyy value from string to date field

Hi all,Need to some help to set value received in a string field with format mm-dd-yyyy to date field(not datetime field). Can anyone help here. I am setting this value in variable of catalog item.Thanks in advance.Richa

richam by Tera Expert
  • 9300 Views
  • 5 replies
  • 7 helpfuls

Resolved! Set Calendar duration / default time problem?

Hi everyone,I've trying to calculate the duration of tasks. I've got a simple business rule that does in fact update the duration but I noticed something that I would like some help understanding. even though it updates the field correctly with the v...

snip.PNG code.PNG

Resolved! Date range Query with the rest api.

I have seen various question like this and the code I am using is directly from gs.dateGenerate using specific times between yesterday and today However when ever I run the following curl request it returns all incidents from the beginning of time up...

jwdub by Kilo Explorer
  • 6247 Views
  • 4 replies
  • 0 helpfuls

Resolved! Use gs.getUser() to get custom user property?

We have a custom user attribute, it is a field called u_data containing a string.I want to set a catalog variable field to default to the value of <current user>.u_data, however it appears that gs.getUser() can only access properties that have functi...

To hide filter for My Work module

Hi ,         In Incident application , I need to hide 'MY WORK' module's filter but same time filter on 'OPEN' or other module should be visible. I tried using omit filter , but it hides filter where ever table is used. Please suggest how to achieve ...

jeevitha3 by Kilo Contributor
  • 2953 Views
  • 20 replies
  • 2 helpfuls

Resolved! Reference field UI Policy

I have a UI policy for one of the reference field. If the value of the reference field is "Other", then show/hide another field. In the UI policy, by default it takes the SysID for the value "Other" rather than the value itself. So everytime, I reloa...