Hi Justin,If I understand correctly, it seems like you are trying to
create a custom script data element to use in an event-based rule. Is
that right?If that is the case, you can think of the code that you put
into the editor as the body of a function. i.e. function () { //start
code editor in DTM // this is where all of your custom script code gets
place return 'data element value you want to return'; //end code editor
}So, in this case, you can just use plain javascript to define this data
ele...