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

Forum Posts

What is the purpose of Validation Scripts?

HiI came across this System Definition > Validation Scripts. I want to know how these validation scripts can be used in my incident module time validations.Thanks in advance

mcclain by Mega Contributor
  • 10070 Views
  • 2 replies
  • 1 helpfuls

service portal Prevent SSO redirection

Hello all,Can any one tell me how to stop SSO redirection for external users?I have a widget cloned of OOB login widget. It was working fine, After upgrading to Helsinki patch12a. Not able to stop redirection.WidgetClient script:function loginCtrl($r...

Harish KM by Kilo Patron
  • 3971 Views
  • 9 replies
  • 1 helpfuls

Resolved! Begin Date to End Date duration cannot exceed one year

I have a need to make sure that the duration between the Begin Date and End Date does not exceed 1 year.I used scripting before to make a date go out to xxx amount of days, but never to actually do a calculation between Begin and End datesI don't hav...

Cupcake by Mega Guru
  • 6154 Views
  • 27 replies
  • 4 helpfuls

How to upload JS file

Hi All,Could anyone tell me how to use URL in JS include?what is JS url path?Regards,Sobitha K

find_real_file.png
sobitha by Kilo Contributor
  • 3650 Views
  • 2 replies
  • 0 helpfuls

Resolved! SMS notifications

Hi All,We would like to check how sms notifications will work. For that we want to test it in our dev instance. So in the email properties, "Send all email to this test email address (non-production testing)" we have added +<number>@smsgw.ch (Eg: +44...

parsing multiple objects in json response

am calling an external json service (nodeping) and am getting an array of my checks back in jsonI would like to be able to decode it and loop over my objects to see if I need to create any incidents from the responses and I have been looking for an e...

damiendye by Kilo Contributor
  • 4344 Views
  • 4 replies
  • 1 helpfuls

Approval notification to user RITM

I would like to send an e-mail to user requested an item from the Approval table, if the approval is rejected.I created an e-mail in Notification module and I set these parametres:Table: Approval;When to send:Inserted/updatedCondition: State is Rejec...

Increase the length of the text for a checkbox

How can I increase the length of the text for a checkbox?I reviewed an article in the community that talked about increasing the length of the dictionary entry, but that didn't do anything unless I am missing something.Thanks,Karen

find_real_file.png
Cupcake by Mega Guru
  • 1987 Views
  • 6 replies
  • 1 helpfuls

Using STARTSWITH operator in Business Rule scripting

Hi, i have the below script written for after insert business rule. The if condition checks are not working as expected.if(current.u_message, 'STARTSWITH', "The filesystem \"/var\"   is full"){gs.addInfoMessage("file system");grInc.setValue("assignme...

akalya by Kilo Explorer
  • 13109 Views
  • 3 replies
  • 3 helpfuls

Resolved! Hide button with onChange Client Script?

I have the below script that is currently not working. I need to hide the "Complete Task" button if the state changes to any of the following. "-940", "-941", "-942", "-943". Can someone help me correct this script?function onChange(){       //If the...