Print this page

SOQL queries time out when querying Task object

Knowledge Article Number 000194159
Description When querying the Task object, we see SOQL queries timeout.
There are a few options to get around this:
Resolution 1) A skinny table is not an option for Activities which includes Task and Events, but there exists an idea for this: https://success.salesforce.com/ideaView?id=08730000000l5hnAAA

2) You can try using query() or queryAll()

3) Adding filtering criteria is the only option if query() or queryAll() don't work




promote demote