Can I create additional parameters on Events I create?

j_julio
Kilo Contributor

Am I limited to just the Parm1 and Parm2 when creating a new event?   I need to capture the "previous" values of 4 four field when an event is triggered and use these values in a subsequent email that is sent when the event is triggered.   Is it possible to create an event that would have Parm1, Parm2, Parm3, Parm4?   If I can't capture these "pervious" values within the event, is there another way to get at these values when the email notification is generated?

 

Thanks in advance for any suggestion you can provide!

j

1 ACCEPTED SOLUTION

PeterWiles
Kilo Sage

Hi there,



No, not that I am aware of.



Depending on what you are passing, you could add a comma separated list to one of the parm values with the previous values in it and then on the notification, use a bit of script to separate them and do what ever.



The only other way I can think of is to store the previous values in a table somewhere and reference the row.



Pete


View solution in original post

6 REPLIES 6

Hi Peter,



Can you Please provide the some dummy script for the above?



it will great help for me



Thanks,


Hi Shravan,



Just need to pass in an array.



var commaSepArray = "banana,apple,orange";



gs.eventQueue(t"riiger.this.event", current, commaSepArray, gs.getUserID());



Then on your notification, use .split(",") to create an array of the values.