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

Forum Posts

Transform OnBefore Script to compare source and target fields

I am trying to create an OnBefore transform script to compare fields of the source and target. I have the following script but it is not workingif (source.active == target.active && source.u_ad_samaccountname != target.user_name){target.u_userid = ta...

jiral by Giga Sage
  • 3054 Views
  • 6 replies
  • 0 helpfuls

Integration using database view

Hi all,I'm currently doing integration between ServiceNow and MS SQL database. Trying to retrieve SN data and update the SQL db.The data in SN will be coming from multiple tables. I've used the database view to join all the tables together and return...

shashuma by Kilo Contributor
  • 932 Views
  • 1 replies
  • 0 helpfuls

Resolved! ACL Hierarchy

sanjivmeherHi Sanjiv,This is the continuation of our discussion "ACL for Extended table".   Right now, in my personal instance, i created a table "EUTS Demand" in my custom scope. I created ACL with the role as "EUTS Admin". Added "Abel Tuter" to the...

Resolved! Empty XML Tags - formatting them

I've got a UI Action that builds some XML. Here's a snippet.<locations>         <location>                   <locationNumber>1</locationNumber>                   <locationSysID>a7ca11cadb84c74032afdd0b5e9619d3</locationSysID>                   <addre...

Sue Frost by Giga Guru
  • 3137 Views
  • 17 replies
  • 0 helpfuls

addOption.

Just learn one side effect of using g_form.addOption it will trigger the onchange event on the client form.... So you need to check at the beginning you event outcome. so I added...if (isLoading) {   return;   }   if(isLoading)       return;   clearO...

mjocasio23 by Tera Expert
  • 4542 Views
  • 3 replies
  • 1 helpfuls

how to add an image to a dahboard

Hi all,I have created a dash board, I successfully added an image to that dashboard using content block->   static image, But it is visible to me only, i should make visible to everyone. When i am trying to add image to the dashboard, it is getting a...

ahamad by Kilo Contributor
  • 4159 Views
  • 3 replies
  • 0 helpfuls

Business rule condition is skipping

Hi ,I will tell you the scenarioFirst user will raise a request in service catalog, Now it will route for his manager approval and after manager approval it will route for Group approval.Now in group approval, if they want to add another group as wel...

find_real_file.png find_real_file.png

Resolved! Copying Additional comments to another record type?

Hi guys, I am creating a UI action which will close an INC (logged via inbound email) and log a corresponding 'HR Request' record.This is working great but what I am struggling with is how to copy the Additional comments over to the new HR record.It ...

jas101 by Tera Expert
  • 1471 Views
  • 5 replies
  • 3 helpfuls

Resolved! Define User Criteria | Knowledge Management

Folks,There is a small doubt I have on which I need clarification. Any feedback would be helpful.Most of us are aware of this User Criteria function in ServiceNow which gives us the ability to restrict data access to a group. We can create user crite...

Resolved! Where are form layouts saved?

I have challenges from time to time with form layouts, Does anyone know where they are saved within the instance? thank you

Steven G_ by Tera Expert
  • 25327 Views
  • 7 replies
  • 17 helpfuls

Can we use dynamic content in a knowledge article

Hi,Using Istanbul, KM v3Specifically, we wish to have articles that will dynamically update on viewing to show:Top 5 Most Recent Articles for the CategoryTop 5 Most viewed articles for the CategorySpecific Business Item or Catalog information for the...

brianf by Tera Contributor
  • 1755 Views
  • 4 replies
  • 0 helpfuls

get user role in UI Page

Hi, I'm trying to create a UI page that has certain fields readonly based on role.   I have the following code in my client script, but I'm getting errors in my console saying gs is not defined and   $(...).ready is not a function.   Can someone help...

davilu by Mega Sage
  • 4666 Views
  • 20 replies
  • 4 helpfuls