Skip to content

addConditionLike by task Owner.Name returns 0 #99

Description

@eliver

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions