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

Forum Posts

ACL on UI page not working

I have recently created a UI page named DepreciateAssets. This UI page is linked to a module i.e when users click the module this UI page pops up and I am trying to restrict access for the users with a specific role.As suggested in SNOW docs I have c...

find_real_file.png
Manoj82 by Kilo Expert
  • 1957 Views
  • 4 replies
  • 0 helpfuls

Calculate percentage

Hello, we have a requirement to show total value include tax. e ,g cost 1 = 800 tax= 18% tax on 800 total= cost1+ 18% tax on 800,   I have tried flowing on load client script  but no luck, function onLoad() { //Type appropriate comment here, and begi...

Vdix by Tera Guru
  • 2944 Views
  • 1 replies
  • 0 helpfuls

Workflow activity is getting skipped

Hello Experts,   I need help with workflow   I have started creating a requested item whic can be requested on anyone's behalf i.e. While raising is I have flexibility to choose "requested for" , now the requirement is that approval should go to requ...

Script to assign Tasks based on requestor location

Greetings Folks So I am building Service Catalog items. And one of the things I am needing to build is a request form that gets auto-assigned to the appropriate group based on the location that is entered in the form. That Location field currently au...

Help with the SC Catalog Item widget

I am trying to use the SC Catalog Item widget and its just not working.  I read on another thread that I had to clone the widget and then modify the code for the server script to include the homepage ID and the sys ID for the item.  It is still showi...

find_real_file.png

Resolved! Background script works, as a business rule it doesn't

I have a few custom fields on the Release Table (rm_release).  2 of this fields are for string values of List fields, the fields will be hidden and are only there for reporting purposes. Our workflow is as such create new Release(parent), > Create Re...

find_real_file.png
caliban by Tera Expert
  • 2370 Views
  • 2 replies
  • 0 helpfuls

Resolved! Epoc Date conversion

Hello Everyone, In our project , ticket is created through Integration with Remedy. So they are sending Planned Start And End Date of Change in EPOC format. I have converted in Servicenow in yyyy/mm/dd HH:mm:ss format. But the time is not working Per...

monu1 by Giga Contributor
  • 13321 Views
  • 5 replies
  • 10 helpfuls

Resolved! Loop iterating only once

Hello Experts, I'm trying to automate conf calls on creation of a major incident. I have added script to calls the members in the watch list. The issue here is that the for loop is iterating only once and not fetching the other members in the watch l...

Any issues with large number of fields on tables

Hi AllWe have an on premise ServiceNow. On the task table there are currently around 500 fields. These are required for the complex business processes, and the use of a large number of task applications.Has anyone seen issues with creating a large nu...

Resolved! How is the "Knowledge Search" table (ts_query_kb) populated?

I'm considering making changes to the Knowledge Search table and have been investigating when and where during the knowledge search process a record is created for this table. Even after digging through every relevant UI script/page/macro, I have yet...

stopping by Giga Contributor
  • 4333 Views
  • 2 replies
  • 1 helpfuls

Record producer data to Incident description

I have created a record producer that will gather some information and create an incident.   I have then created a template to fill out some of the standard incident fields.   What I am having a problem with is that once the user completes the form t...

tcorniels by Tera Contributor
  • 5870 Views
  • 10 replies
  • 6 helpfuls

Resolved! Line Break in Workflow Scripting

Is there a way to do line breaks `<br/>` in the advanced script portion of a workflow activity:Example:task.short_description = "Line1" + "<br/>" + "Line2" + "<br/>";Thanks.

codedude by Mega Expert
  • 3534 Views
  • 4 replies
  • 1 helpfuls