Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

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

Forum Posts

Resolved! Error on Content-Type for Inbound SOAP Message

Hi everyone,  I'm trying to make an integration and the customer is sending SOAP Messages to servicenow (It must be by SOAP Message). But when the customer send the message, he receives the error from SN: </SOAP-ENV:Header> <SOAP-ENV:Body> <SOA...

Resolved! Populate a reference field in user table

Hi Team, Below is the BR which I have written to create users in the "sys_user" table but am stuck in one place where I need to populate a reference field. ( Company Field ) What should be the exact line of code? ( The company name exists in the tabl...

find_real_file.png find_real_file.png
Saurabh8 by Kilo Expert
  • 1070 Views
  • 5 replies
  • 2 helpfuls

Change time "ago" on Service Portal

Hi guys! In the ticket-widget'en on the Service Portal (Helsinki), ServiceNow will show date/times as "ago" (and it doesn't matter what the user-preferences are: calender, ago or both)If you move the mouse over "6 min ago", ServiceNow will actually s...

find_real_file.png find_real_file.png find_real_file.png
priisholm by Mega Expert
  • 7985 Views
  • 21 replies
  • 9 helpfuls

Catalog Client Script based on whether Label is Visible

Hello all! I am newer to the scripting side of ServiceNow and I am making a form for users that has 32 checkbox variables available when a Label based on a UIPolicy is visible, but I need it so that users must select 2, but can not select more than t...

Morgan House by Kilo Contributor
  • 1706 Views
  • 3 replies
  • 0 helpfuls

Resolved! Trigger UI Policy for existing record and not new record

Hi, This may already have been answered but perhaps my search keywords are wrong as all my searches have come up as unhelpful. However, I was wondering if there was a way to "trigger" a UI Policy only when the form is not a new record rather it's an ...

Nisar2 by Mega Guru
  • 3245 Views
  • 5 replies
  • 2 helpfuls

Learn Javascript UK

Hi everyone,I am a bit of an amateur with javascript, I can read it and write a little.Does anyone know of any good courses to go on which can help me expand on my knowledge? 

Community Alums by Community Alums  
  • 4064 Views
  • 7 replies
  • 25 helpfuls

Resolved! How to update a parent record in a UI Action

Hello, I have a UI Action('Config Complete') in a child record that I create by associating it with a parent number. When this UI Action is pressed, the value of the group and owner of the child record is passed to the specific item (for example, inf...

Mi1 by Tera Contributor
  • 1304 Views
  • 4 replies
  • 2 helpfuls

Resolved! How to hide a variable set column in Catalog Item?

In my catalog i have variables inside th variables set. One variable is reference type. The variable name is Product. Another variable get the display value from Product. The variable name is Product Display. My problem is: I have a UI Police hidding...

find_real_file.png find_real_file.png

Resolved! Triggering a script action from an event

Experts, I have a scoped application OnDemand syauto_script creating a custom event. This scheduled event (gs.eventScheduled : code below) is basically creating a script which kicks a script action gs.eventQueueScheduled('x_abc_scope.trigger_next_sch...

find_real_file.png
Ram117 by Kilo Sage
  • 9512 Views
  • 14 replies
  • 1 helpfuls

Resolved! JDBC Flow Designer Step error: MID server issue or something else?

When I attempt to test an action with a simple JDBC step using a connection alias (related connection record and the referenced jdbc credential both tested fine), i get this:  failed with error: com.snc.process_flow.exception.OpException: Error in JD...

Community Alums by Community Alums  
  • 1429 Views
  • 2 replies
  • 0 helpfuls

Resolved! To use Group sys_id in place of name?

I am using below code in an ACL to give access if user is member of that group. I want to use sys id instead of name so change in group name doesn't affect the code. What would be the code? if (gs.getUser().isMemberOf('Program Senior Managers')){ ans...

Chandler2 by Tera Guru
  • 3972 Views
  • 4 replies
  • 9 helpfuls

Resolved! Sys Id not being picked up in isMemberOf function

Hi,My below script is no getting executed when I put in the sys id of an assignment group. It works fine when I use the gropu name. g_scratchpad.grp = gs.getUser().isMemberOf('Incident-Management_INCPRBCAT');

SN Rookie by Giga Expert
  • 2689 Views
  • 4 replies
  • 1 helpfuls