abirakundu23
Giga Sage

Hi @MarotiR ,

To achieve this requirement, you should create a Script Include and configure the filter condition as VIP = true and use another condition VIP =  javascript:new membercheck().ismember() to call the Script Include within the highlighted filter condition, implementing the following logic, in ismember() method to define the following logic : gs.getUser().getUserByID(current.sys_id).isMemberOf('SMT').

The Declarative Condition Builder does not support the GlideSystem object (gs), multiple dot method calls, or conditions like:
gs.getUser().getUserByID(current.sys_id).isMemberOf('SMT')


Please mark helpful & correct answer if it's worthy for you.