Skip to content

addConditionLike by task Owner.Name returns 0 #99

@eliver

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions