Peculiar: Saving a working script gives errors

Peculiar: Saving a working script gives errors

Hi,

Peculiar problem: If I try to save my already working script unchanged I get an error message!


I have a working View Script that includes this line:

show  all  rows  from  Leads [(Pipeline_Stage != "6 - L/D" && Primary_Case_Owner == thisapp.getUserInitials())]

If I try to save it I get this error message:

Error modifying the page

Error at line 4 : Function calling is not supported from Component Criteria


So it doesn't like my function call to getUserInitials().

The weird thing is that I am saving an unchanged script that already works - including the function call.


Is there a way I can avoid the error message or a way I can implement the same functionality in a different way?


Thanks,

RB