Onclick of the UI Action i am trying to delete a record

vyshnavi8
Tera Expert

Onclick of my UI Action i am trying to delete that record its deleting but its showing an error message as below,

Illegal attempt to access class 'com.glide.script.GlideController' via script

Below is my UI Action code,

current.setWorkflow(false);

current.deleteRecord();

Can anyone help me on how i am getting this error message????

5 REPLIES 5

What was the ultimate solution (for those who may search on that error message later)?