Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

addConditionLike by task Owner.Name returns 0 #99

Open
eliver opened this issue Nov 15, 2024 · 0 comments
Open

addConditionLike by task Owner.Name returns 0 #99

eliver opened this issue Nov 15, 2024 · 0 comments

Comments

@eliver
Copy link
Contributor

eliver commented Nov 15, 2024

Query dataQuery = new Query('Task').addConditionLike('Owner.Name', 'Outbound%'); System.debug(LoggingLevel.INFO, '***size ' + dataQuery.run().size());

We have configured a queue group in the system called "Outbound Queue." However, this code always returns 0 when executed, but if I manually execute the SOQL obtained from dataQuery.toQueryString(), I can see that it returns data correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant