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

Forum Posts

Resolved! New button disappeared

Hi. For some reason, I can't create new incidents\custom requests on my table. Instead of the UI Actions that include New and Advance, I get this     Any ideas? I am trying to check ACL's and roles but no luck,

find_real_file.png
SC4 by Tera Expert
  • 2554 Views
  • 7 replies
  • 1 helpfuls

Show/Hide Form Section

Does anyone know how to Hide/Show a form section based on a field. I attempted to follow the example below from the wiki, but it did not work for me. See attached. function onChange(control, oldValue, newValue, isLoading) { //this example was run on ...

rsanon by Tera Contributor
  • 10167 Views
  • 15 replies
  • 0 helpfuls

Resolved! Date validation in catalog client script?

Hello team, I have a requirement in change request if user selects the past planned date it should have to popup an alert message to choose the current or future date. It is working fine for almost all users with my old script, it fails when user cho...

find_real_file.png
gokulraj by Giga Expert
  • 4922 Views
  • 11 replies
  • 1 helpfuls

How to add DL in email notification

Hi All, I have a email notification which should be sent to a DL[abc@xyz.com]. but this email ID is not registered under any group in service now. Now if I add that email ID in email notification directly, will it work?   Regards, Lohitha K.

chinni by Tera Expert
  • 3712 Views
  • 4 replies
  • 3 helpfuls

Unable to use generateUrl function in Scoped Application

Hi, I have a requirement to create a hyperlink to a word "here" in a email script. The notification email script is present in a scoped application and is being used across other notifications.  I am using the below snippet, but however it is not cre...

Debanjana by Tera Contributor
  • 1810 Views
  • 1 replies
  • 0 helpfuls

Mailscript for Email Header and Footer

Hi,  I need to add an image as email header and footer for our customer. Do you have sample mailscript how will I call it to the email template? Appreciate help. Thanks. 

jxa7987 by Tera Expert
  • 1928 Views
  • 3 replies
  • 0 helpfuls

Resolved! Passing host variable in REST Message

Hi, I'm trying to solve an issue I am having with a REST message. The following is the REST Message configuration/setup: var hostName = 'test.hostname.com'; var request = new sn_ws.RESTMessageV2('System Information', 'POST SiteToken');  request.setSt...

swisstech08 by Mega Contributor
  • 1970 Views
  • 4 replies
  • 2 helpfuls

push data in to json object

need to push the data into json object and store it in a variable function executeRule(current, previous /*null when async*/) { var fields = current.getFields(); var sysid=current.sys_id; var json={}; var hits = []; var value=[]; var field=[...

find_real_file.png
rick48 by Tera Contributor
  • 8657 Views
  • 6 replies
  • 0 helpfuls

Resolved! Stage skipping on the workflow stages

Hi. When creating an incident on my table, I placed a default value for a field equal to the first stage of the Workflow. But for some reason it skips: https://imgur.com/a/rZd2BwY   Also, when I complete all the tasks, the last stage indicates "In pr...

SC4 by Tera Expert
  • 2433 Views
  • 9 replies
  • 2 helpfuls