How to resolve this error " Invalid JavaScript value of type com.glide.ui.RenderProperties "

ramesh_r
Mega Sage

Hi All,

I have created display BR and I have used the following condition

if(!RP.isPopup())

But I am getting the below error guide me how to resolve this error " Invalid JavaScript value of type com.glide.ui.RenderProperties"

Error Message

Error running business rule 'SN - Hide Empty Catalog Variables' on sc_req_item: RITM0010533, exception: org.mozilla.javascript.EvaluatorException: Invalid JavaScript value of type com.glide.ui.RenderProperties (sys_script.ce6b5e7719af70007a15bf3dd39e2b60.script; line 4)
 

find_real_file.png

 

 

 

2 REPLIES 2

Maik Skoddow
Tera Patron
Tera Patron

Hi @ramesh.r 

the reason for the error is, that the RP object is not known in Business Rules. You can access the RP object whenever it comes to output rendering like in UI Pages or UI Macros.

Kind regards
Maik

Hi 

Please guide me how to resolve this issue .?

Where i have to modify the code to avoid the error

 

Thanks