Hi, I’m trying to call a function using invoke in Lucee. The function is located in the same file as the invoke so in my ColdFusion code, as instance parameter value I use " " , but in Lucee it generates an error. So I changed its value to this, but it doesn’t work in ColdFusion. How can I solve this issue?
What value for the parameter instance that works both with ColdFusion and Lucee can I use?
I remind you that the function that I’m trying to invoke is set in the same component where I call the function.
I found the reason why it didn’t work on ColdFusion, in CF if you call a Private function using invoke you need to use “” as value of the instance parameter, while if you try to invoke a public function you would also use this. In Lucee the value this works also with private functions