Hi, I'm trying this: if(is_avp_set("$avp(s:avp)") && !isflagset(1) || is_avp_set("$avp(s:avp)") && !isflagset(2)) { ...; } The first condition before OR operator is never matched. Could you please suggest the correct syntax? Thank you very much. Regards. -- Antonio