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

Forum Posts

Why Integer type variable is returning 0 in my script?

I have a form where I have an integer type variable. The value of this field is 1. But when I try to log the value in my script, it's saying that the value is 0. I have no idea why this could be happening? If I log the value of any other field on tha...

Farah5_0-1666285525810.png
Farah5 by Tera Contributor
  • 1048 Views
  • 4 replies
  • 0 helpfuls

Resolved! String field not populating the special characters(/)(\\)

Hi i have string variable in a catalog item and I'm setting the value by using below codeg_form.setValue('home_directory' , '\\XXXXX.XXX.XXXX.XXX\share\homedrive');but it is populating like a \XXXXX.XXX.XXXX.XXXsharehomedrive. without forward slash a...

Vamshi_ch123 by Tera Contributor
  • 2552 Views
  • 2 replies
  • 2 helpfuls

How to Send a Custom Response to Table API?

Hello,I'm wondering, if possible, how to provide a custom response to a table api, specifically /api/now/v2/table/incident.Ultimately, for a specific integration user, we don't actually want them to create an incident but instead create a service_tas...

aen612 by Tera Guru
  • 2015 Views
  • 4 replies
  • 1 helpfuls

How to create a Export PDF button for Problem table

Hello exportsI have created a UI action in problem table for download PDF .but My current UI Action.function exportPDF() {var sysparm_table = g_form.getTableName();var sysparm_sys_id = g_form.getUniqueValue().toString();var instanceName = 'https://My...

akin9 by Tera Contributor
  • 1412 Views
  • 8 replies
  • 0 helpfuls

Knowledge article won't publish

We recently upgraded to Rome and created a new Knowledge template, when using the new knowledge template and clicking publish, (the knowledge base is set to go to approval after publish is selected) the article stays in draft. Any suggestions as to w...

Linda_G by Kilo Sage
  • 908 Views
  • 2 replies
  • 0 helpfuls

Need to add requestor in CC field in email

Hi Everyone,I have built one catalog item. In this there is a field called "Requestor". Now I have a requirement. I need to tag this requestor field with the CC field in email. Whoever name is showing in requestor they should get the email (as cc) on...

Resolved! Setting default value on variable to user manager name

Heya!I'm trying to set the default value of a reference variable on a catalog item. The reference variable is referencing users with a certain role in our organization, leaders/managers have this role.I've tried gs.getUser().getManagerID() but I get ...

goller by Tera Contributor
  • 2398 Views
  • 5 replies
  • 3 helpfuls

Resolved! UI View not Changing on List Layout

I have a scoped app where the user can create 1 of 2 different types of requests, New or Change.  For New requests, I have created a custom List Layout and the same for Change.  I gave both of them a name, New Requests and Change Requests.  For the m...

StanleyMartin_0-1666199895045.png StanleyMartin_1-1666199968877.png

Impact of "glide.email.smtp.active" Property

If I set the property "glide.email.smtp.active" to false, basically no mails are sent.Is it possible to check or set which mails this applies to?E.g. scheduled reports with a deactivated property don't seem to send any more.Mail is also not in the ou...

Meloper_0-1666262971993.png
Meloper by Kilo Sage
  • 2028 Views
  • 5 replies
  • 0 helpfuls