TCC – NotLike
So there are times when you want to use not like to eliminate some elements from a query. A prime example is one I’m looking at now, I’m trying to pull all the folks with an application to a list of requisitions to post them to new requisitions I’ve created, but a lot of them that I’m looking at have ‘Candidate Rejected New’ or ‘Candidate Rejected Pre’.
In oracle you can just use not like ‘%rejected%’ but that’s not really an option with TCC, you can however use contains strait out of the box so it’s pretty easy to say contains ‘reject’, if you take this and use a not on either side, your using (does) not contain(s) and it looks a little something like this:
<quer:filtering xmlns:quer="http://www.taleo.com/ws/integration/query"> <quer:not> <quer:containsIgnoreCase> <quer:field path="CSWLatestStatus,Mnemonic"/> <quer:string>reject</quer:string> </quer:containsIgnoreCase> </quer:not> </quer:filtering>