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

Forum Posts

Resolved! How Do I Access HTML Templates From Script Include?

Hello, I am trying to create a background process that can create a PDF of a record and then attach that PDF to that same record. The way I am currently going about that is by using a Script Include function that will be passed the sys_id of the reco...

Brad Cupp by Giga Contributor
  • 1520 Views
  • 2 replies
  • 1 helpfuls

Resolved! How to populate duration type of field's value on form

Hello, i have written a after business rule on insert,update for my custom table i'm getting difference between two date/time type of fields ,but its not getting populated in my duration type of field i want it to get populated as (eg. 14 04:02:56) i...

Resolved! Redirect page from UI action

Hello, I try to redirect from backend to portal in the same page by using: window.location.href = 'url'; and I get redirected like this:   Is there a way to redirect it without backend navigator and etc? It has to be the same tab  

find_real_file.png

Resolved! Modify Insert and Stay action

Hello All,  I have a requirement to make Insert and Stay action to copy current record and also copy related list records, how can I accomplish this? 

Dominik15 by Tera Contributor
  • 1166 Views
  • 2 replies
  • 4 helpfuls

Resolved! Set due date from record producer field date (X days before date)?

Hi Team, I have a date field on a record producer, and what I would like to achieve is to set the due date on the created ticket 5 days before the date field on the record producer. I attempted this through a business rule script - (function executeR...

Community Alums by Community Alums  
  • 909 Views
  • 5 replies
  • 4 helpfuls

Resolved! script for assignment groups

Hello all, I have a script that will assign a specific assignment group to the REQ & RITM, this is a before script on the sc_request table. What I need to do is be able to query if the requester is from a specific company and if so the assignment gro...

nyrguy451 by Tera Contributor
  • 3579 Views
  • 2 replies
  • 1 helpfuls

How to access JSON array object in server-side script?

Hi, I have the following (JSON) array of objects and code (which I get from a REST API - see first block) and want to access / iterate through those items, but I am encountering some issues (see second block). The gs.info(objComputer); gives the outp...

Kenneth3 by Tera Guru
  • 2685 Views
  • 6 replies
  • 4 helpfuls

Dynamically pass values through to template fields.

Hi Team, Is there a way to dynamically pass values through the template fields?   For instance, having a rich_description of "Create mainframe account for <{subject_person} ({user.user_id}) >" which would pass the matching value through once the temp...

find_real_file.png