+ Start a Discussion
Art SmorodinArt Smorodin 

TaskRelation ID's issue

Hi All, 
question when I query TaskRelation table it comes back with a TaskId column ( for exapmle 00TU000000Sp000000). When I take this ID and paste it into URL it takes me dorectly into the Task, all look good. 
But now I try to query Task table (SELECT Id,OwnerId,Status,Subject FROM Task WHERE Id = '00TU000000Sp000000') it comes back empty: 
"Sorry, no records returned."
How is this possible? 
Please help. 
Best Answer chosen by Art Smorodin
Adrian  GawryszewskiAdrian Gawryszewski
I had similar issue some time ago and I found that post and it helped me out:

http://salesforce.stackexchange.com/questions/56096/are-there-limitations-on-querying-tasks

Regards
Adrian

All Answers

Nikhil Sharma 17Nikhil Sharma 17
Try to search the task with this id in the workbench.

 
Adrian  GawryszewskiAdrian Gawryszewski
I had similar issue some time ago and I found that post and it helped me out:

http://salesforce.stackexchange.com/questions/56096/are-there-limitations-on-querying-tasks

Regards
Adrian
This was selected as the best answer