Last active
August 29, 2015 14:00
-
-
Save abhididdigi/11226875 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Make a call to GlideRecordUtil and get the entire current object. | |
var gru = Packages.com.glide.script.GlideRecordUtil.get(current); | |
//Invoke the function called getChangedFieldNames(); | |
var fieldsChangedList = gru.getChangedFieldNames(); | |
// One important thing to note is that, the object thats here is a Java object, so we will now use j2js to convert it into a | |
// Javascript Array. | |
// j2js is a Script Include, which recursively calls itself and converts a Java object into Javascript Object, in this case an array.. | |
jsfieldsChangedList = j2js(jsfieldsChangedList); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment