i am not sure here, what is the exact requirement you have. if you are deleting then current object will not work. 

in delete operation if you will pass the null then it will work. 

 

example:

 

gs.eventQueue('event name',null,gs.getUserID());

View solution in original post