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

Forum Posts

Resolved! How to add line break in mailto script for the reply body

I have a mail script that sends an email with buttons for custom approve or reject on the incident task table. They are not approvals just acknowledgements. I am adding the watermark to the reply body, but I also need to add some default content and ...

find_real_file.png
Tricia3 by Kilo Contributor
  • 6354 Views
  • 4 replies
  • 3 helpfuls

Resolved! isMemberOf function in client script

I'm trying to get certain options in the State field to hide if the current user is not a member of a group. The script I have so far is as follows:function onLoad() {   var usr = g_user.getUserID();   var gate = g_form.getValue('u_field');   if (gat...

Resolved! Email notifications are triggering twice.

Hello, I had a requirement to send SLA breach notification for incident. I am achieving it via notification. I have created one notification with condition is sla breached changes to true but i can see in logs same email is sent twice at a time. Can ...

Approval email notification not getting triggered

Hi guys, I am facing an issue with the email notification. The email notification for the approval table is not being triggered. The notification should be triggered for the manager of the current user.  These notifications are created as part of cat...

find_real_file.png find_real_file.png find_real_file.png find_real_file.png
Hari1 by Mega Sage
  • 2594 Views
  • 4 replies
  • 0 helpfuls

State Flow()

Hi All, I am new to scripting, the below mentioned script has been written in one of my requirement(work order task gets created from work order). what is the exact functionality of below new StateFlow().processFlow(current, '3530e4b8d7102100bbc783e8...

aahitha2 by Mega Expert
  • 3421 Views
  • 3 replies
  • 2 helpfuls

Resolved! Dropdown Character Limit

I am having the issue where the choices that I need to add in a dropdown choice are not fully adding into the selection. Is there a way to increase the character limit of the selections? I tried to increase the character limit of the field itself wit...

find_real_file.png
AceMike08 by Tera Contributor
  • 2775 Views
  • 4 replies
  • 1 helpfuls

Close Task via Email

Hi All,   To make life easier for our Service Desk, we would like the option to close tasks via an email response (similar to approvals). The idea is that the Service Desk would receive an email saying that a task is assigned to them and they have th...

SimonRudd by Kilo Explorer
  • 3496 Views
  • 10 replies
  • 1 helpfuls

how to access the object(current) from eventqueue

I have an eventqueue : gs.eventQueue("test",current,current); which is triggered via Business Rules.After which in a script action I am getting the parameters of event .So if I try to print the event.parm1 in script action ,I get [object GlideRecord]...

amala2 by Mega Guru
  • 8502 Views
  • 7 replies
  • 3 helpfuls

jsrsasign

i was tasked with integrating ServiceNow with our second-factor authentication vendor (Ping Identity).   the goal was to be able to automate administrative processes that would otherwise be worked on manually and only during business hours.this broug...

ewj by Kilo Expert
  • 5844 Views
  • 21 replies
  • 3 helpfuls
Top Helpful Authors