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

Forum Posts

Max value from array

Hi,I have script to calculate risk form.I have a weights for each field stored in separate table.I have used onSubmit client script and script include.I am able to fetch the values form the table but not sure how to find the max of the value that we ...

sgp by Kilo Contributor
  • 4552 Views
  • 5 replies
  • 2 helpfuls

gs.addinfomessage() not working on portal

Hi Developer, While testing portal  i was used gs.addInfomessage("text"/variable name) to debug but today if i will write this no message is showing . Could anyone please suggest this.     Regards, Manmath

Resolved! Set a future date

I have a date variable in a record producer. How would I set the default date to 10days in the future?

Resolved! Change field value after 24 hours

Hello, I have a choice variable on a table called Remote Access Account (u_nhl_remote_access) with choice options: Pending (pending)Complete (complete)Request Again (request_again) The default value is pending. When the value is changed to request_ag...

find_real_file.png find_real_file.png
Hannah C by Giga Expert
  • 3202 Views
  • 13 replies
  • 4 helpfuls

Resolved! Track who updates or deletes attachments from ANY table

So our developer went on medical well that puts me in a bind as I have no background in actual coding.  I review a lot of information from the community on attachments but no "step x step".  I wouldn't expect it as everyone seems to be a developer BU...

Rory6 by Giga Expert
  • 5911 Views
  • 9 replies
  • 2 helpfuls

Resolved! check for is NOT new record in client script

I know how to check if a record is new in a client script by using g_form.isNewRecord(), but I want to check if the record is not new. Can anyone tell me how to do that? I'm trying to make work notes mandatory on AG change, but only if the incident i...

dianeled by Kilo Guru
  • 7531 Views
  • 1 replies
  • 3 helpfuls

Form field not visible in a domain separated environment.

Hi, I have minimal knowledge on Domain separation. My instance is domain separated, and a field on the incident form is not visible. It should be visible on incident form only in particular domain. The field is visible on our Dev instance but missing...

Ashwini3 by Kilo Contributor
  • 2501 Views
  • 2 replies
  • 0 helpfuls

Resolved! Where is the event trigger found?

I created an outage which works fine if I start the outage right away but if I schedule a planned outage it will not fire. My thought is that because the notification for the immediate outage start begins when an event outage.begin.notif triggers the...

find_real_file.png

User profile lock out for 3 unsuccessful login attempts

Hi All, 1) Requirement1 : I have on requirement that if user enters 3 time wrong password in LOGIN.DO page user profile should lock out.Currently i find one OOB script to lock user profile and its working for LOGIN.DO page. var gr = new GlideRecord("...

aahitha2 by Mega Expert
  • 3867 Views
  • 3 replies
  • 0 helpfuls

Resolved! How do I get autoSysField(false) to work?

How is autoSysField(false) supposed to work? I'm trying to use it in a background script to retroactively update request record that are closed but still in the active state and I don't want the sys_updated_by and sys_updated_on to be changed. With t...

Resolved! Update incident.state when attachment is added by caller

HI All, I want incident.state to be updated when an attachment/image is attached to the incident by the caller or opened_by. Scenario: In some cases we request the caller/opened_by to provide additional information in order to resolve an incident. As...

soren_bogvad by Tera Contributor
  • 3246 Views
  • 5 replies
  • 1 helpfuls

Delete orphan records from sys_user_has_role table

Hi Team, Platform  is Jacarta I have an issue with deleting orphan records from sys_user_has_role table.   Gee, answered, install plugin Contextual Security: Role Management Enhancements (com.glide.role_management.inh_count) https://community.service...

tiagomacul by Giga Sage
  • 3479 Views
  • 5 replies
  • 16 helpfuls