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

Forum Posts

Resolved! Write ACL not working

I've created a write ACL specific to a field on a table that is not working.  I've created and added a new role that is specific for this ACL. The field type is a reference.  What further steps should I take to ensure that this works?

johannaS by Tera Expert
  • 3283 Views
  • 9 replies
  • 0 helpfuls

select random user from group

i want to select random user from a hard coded group, pls find below logic and suggest. if it goes inside if it should consider approverList , if it goes else condition it should consider hard coded group and it should send approve randomly for any o...

Deepthi13 by Tera Expert
  • 2688 Views
  • 15 replies
  • 0 helpfuls

bold font in business rule

team, i am tryin bold font to come in business rule by using below script please suggest what i am missing here (function executeRule(current, previous /*null when async*/) { var retString = '';retString += '<p><strong style="font-weight:bold">Please...

find_real_file.png
Deepthi13 by Tera Expert
  • 2404 Views
  • 6 replies
  • 0 helpfuls

Resolved! check box with hyperlink

HI All, below is my requirement Asset Undertaking – For service request raised under Hardware category, there should be a checkbox with text stating ‘I have read and agree with Do’s and Don’ts for asset undertaking’. The Do’s and Don’ts should be hyp...

Resolved! Angular drag & drop with HTML5 For Service Portal?

I was wondering if anyone has got the Angular drag & drop to work for the service portal? I am trying to replicate a widget that is similar to this. The problem I am running into is that I have no idea how to import and call the custom angular librar...

JDX7913 by Tera Guru
  • 4669 Views
  • 5 replies
  • 0 helpfuls

Resolved! I need to remove the Post Button under the work_notes

Hi,   I need to remove the Post Button under the work_notes.   i tried to use DOM manipulation.   i create an On Load client script like this:   function onLoad() { alert ("2"); //Type appropriate comment here, and begin script below var thepostbutto...

Convert Normal change to Emergency Change.

Hi Guys, Is is possible to change "Type" of change request (Normal to Emergency) i.e. when there is normal change request that is in work in progress state, A UI action should change the "Type" of existing change request from 'Normal' to 'Emergency'....

Rocky5 by Kilo Sage
  • 3392 Views
  • 3 replies
  • 0 helpfuls

Resolved! Send Email Notification with Scheduled Job

Hi All, I have a requirement to send an email notification on a certain day of the month. I am trying to achieve this through an event using a scheduled job. This is what I have so far in Dev to test this - Event Scheduled job Notification   I be...

find_real_file.png find_real_file.png find_real_file.png find_real_file.png
Community Alums by Community Alums  
  • 6516 Views
  • 18 replies
  • 10 helpfuls

Resolved! get the function name

Hello When I write scripts (business rules, script includes (classes and functions), functions) I try to add the name to the log output. like: function add_sec_sc_relation_function() {   gs.log('add_sec_sc_relation_function ' + 'start'); } Then I can...

User370547 by Giga Contributor
  • 3347 Views
  • 4 replies
  • 0 helpfuls

How can I call One UI Page to another UI Page?

Hello, Newbie here. I'm calling UI_Page_1 from UI action. This UI_page_1 contains a Form. Once users submits this form I'm trying to do validations based on the user inputs through UI_page_1's client script by calling server side script include. If t...

Ash28 by Kilo Contributor
  • 3268 Views
  • 5 replies
  • 2 helpfuls

Resolved! GlideDateTime.subtract

Hello, (function executeRule(current, previous /*null when async*/ ) { var responseSLA; var resolutionSLA; var resCheck; var resoCheck; var durCheck; var slaCheck = new GlideRecord('task_sla'); slaCheck.addQuery('task', cu...

Vikram3 by Tera Guru
  • 6495 Views
  • 27 replies
  • 2 helpfuls