OnChange Client Script for a Multi Row Variable Set?

Jamie Imms
Kilo Expert

Hi all,

I was wondering if anyone could indicate if it was possible for a Client Script to fire upon an entry into a multi row variable set?

You can do onChange scripts for the individual fields, but I was hoping to execute a client script upon the actual entry of a row into the variable set. Basically - I need to run a GlideAjax script that passes in multiple values from the row, and would like to do it once it's actually submitted or edited.

I've read a couple of threads on the topic that aren't promising:

https://community.servicenow.com/community?id=community_question&sys_id=d8344729dbd8dbc01dcaf3231f96198d&view_source=searchResult

https://community.servicenow.com/community?id=community_question&sys_id=6ed4fa88db2aa340107d5583ca961902

 

I was wondering if anyone else had any information they could share?

5 REPLIES 5

smicloud
Tera Guru

Old thread but for anyone else who stumbles upon this. Setting the type = submit triggers the script when adding a new row. "Time Report" is the multi row variable set. 

 

find_real_file.png

 

But I am still lacking a good solution to update a field in the form outside the multi row after making this submit.