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

Forum Posts

Resolved! gs.Log not working in Field Map Source Script?

Hi, I am working on a Table Transform Map, and I have a Field Map using Source Script. However I do not see the gs.Log comments I have in the System Log or the Import Log. Anyone know what I am doing wrong?  

find_real_file.png

Resolved! XML File Import - Data Source Issue in defining the XPath

Hello Experts, Could you please check this. I had difficulties defining the Xpath in the data source to import the xml file. I need 3 fields to be created in the source table (asset_tag, dv_model_category, lastLogonAD)   This is the Sample XML file- ...

avinashrvn by Tera Contributor
  • 4445 Views
  • 6 replies
  • 2 helpfuls

Resolved! Only 1 checkbox can be checked

I have this client script that should only allow 1 checkbox to be selected, but when I test it still lets me select I agree or I disagree.  Can someone help me out?

find_real_file.png
John Vo1 by Tera Guru
  • 3561 Views
  • 17 replies
  • 1 helpfuls

get list of approvals from RITM

Hi everyone, I want to get the list of approvals related to RITM.Please help me with script. var appr=[];var gr=new GlideRecord("sysapproval_approver");gr.addQuery('sysapproval',current.sysapproval.sys_id);//gr.addEncodedQuery('sysapproval=9403d117db...

Nani5 by Tera Expert
  • 2558 Views
  • 5 replies
  • 0 helpfuls

Replace GlideRecord query?

Does anyone know if there is a way to replace the current query for a GlideRecord?   There is a condition being added and I do not have access to the code that is adding the condition so what I was hoping to do is just do a search and replace on the ...

DrewW by Mega Sage
  • 5121 Views
  • 4 replies
  • 3 helpfuls

Resolved! scripting line break in comments field

I have an import, I want to add some scripts to and I start asking, how I can put various fields into the comment field.So the idea is:putting. into one target field with a script because the source data have 3 different comment fields (I hate it) a...

Krischan by Giga Guru
  • 18946 Views
  • 6 replies
  • 5 helpfuls

GlideModal and g_form.submit() doesn't work on new record

I have an onSubmit client script on the Incident table that invokes a GlideModal:   This works great.   Now, in the UI Page that this GlideModal is invoking has this bit of code:   If the Incident is NOT a new record (it has already been saved), th...

find_real_file.png find_real_file.png find_real_file.png
xiaix by Tera Guru
  • 2919 Views
  • 4 replies
  • 1 helpfuls

Resolved! Can the SLA conditions be updated using a script?

There are 200 odd SLAs on a table which currently extends Incident table and it has one of the condition as Incident State = Open. Now in our new instance the same table will extend task table and will use condition as State = Open.  Can we update al...

SN Rookie by Giga Expert
  • 2634 Views
  • 3 replies
  • 2 helpfuls

illegal access to getter method getmessage

This script is on a workflow approval activity, the workflow properties is on the task [task] table, the new fields are on the sysapproval_approver table. when I run the workflow the approval is not created and the error "illegal access to getter met...