- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2022 12:48 AM
Dear,
I have the current reference qualifier:
javascript:"account="+current.variables.accountRF;
Where accountRF is a sys_id. It's working very well (even a bit slow, but that's not the issue currently).
I'd like to add a filter on this reference qualifier, to remove certains results (where the name does not contains CONTACT).
javascript:"account="+current.variables.accountRF+'^nameNOT LIKE'*CONTACT'';
but this does not work 😕 Even by removing the *.
Does anyone have a solution for this?
Many thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2022 12:58 AM - edited 12-19-2022 12:59 AM
Hello @SebastienC Instead of adding code inline on the advanced condition, write a script include & glide the respective table & add all conditions within addQuery or addEncodedQuery, query the table & return the sysId.
Call the script include in the advanced condition.
This works absolutely,
Please mark this as Accepted solution / Helpful
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2022 12:58 AM - edited 12-19-2022 12:59 AM
Hello @SebastienC Instead of adding code inline on the advanced condition, write a script include & glide the respective table & add all conditions within addQuery or addEncodedQuery, query the table & return the sysId.
Call the script include in the advanced condition.
This works absolutely,
Please mark this as Accepted solution / Helpful
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2022 01:01 AM
Yes I'll test it like this... but i prefered to avoid a script include as my requirement is simple.
But if it's the only solution... will do it 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2022 01:02 AM - edited 12-19-2022 01:05 AM
Please use the below syntax for reference qualifier
javascript:"account="+current.variables.accountRF+'^nameNOT LIKECONTACT';
javascript:"account="+current.variables.accountRF+"^nameNOT LIKECONTACT";
Thanks & Regards,
Vasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2022 02:23 AM
Many thanks for your proposition but something didn't work. Finally I succeed to script it.