• Mike Olexiuk
  • NEWBIE
  • 25 Points
  • Member since 2015

  • Chatter
    Feed
  • 1
    Best Answers
  • 0
    Likes Received
  • 1
    Likes Given
  • 0
    Questions
  • 2
    Replies
I completed the steps in the Einstein Prediction Builder trailhead, but the prediction field remains unpopulated.  The trail said it would take 24 hours to complete, but it has been over a month.  Also, it looks like the module was removed from Trailhead since I can't find it now.  Also, my case with support was closed as out of scope since this deals with a special Trailhead Sandbox.  Is that right?
I completed the steps in the Einstein Prediction Builder trailhead, but the prediction field remains unpopulated.  The trail said it would take 24 hours to complete, but it has been over a month.  Also, it looks like the module was removed from Trailhead since I can't find it now.  Also, my case with support was closed as out of scope since this deals with a special Trailhead Sandbox.  Is that right?
Hi there,

A query:
select id, sobjecttype from objectterritory2association
returns records that have sObjectType of 'Account'.

But when I try to filter by it, it doesn't return any row:
select id, sobjecttype from objectterritory2association where sobjecttype = 'Account'
According to documentation, only the value 'Account' is suported, but why this can't be filtered?
https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_objectterritory2association.htm?search_text=objectterritory2association says it should be filterable.

https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_erd_territory2.htm doesn't even list the file sObjectType.
A possible flaw in the documentation maybe?

Anyway, this seems to work though:
select id, sobjecttype, object.type from objectterritory2association where object.type = 'Account'

Can someone from the support explain the behavior?

Thank you
Petr Svestka
Hi there,

A query:
select id, sobjecttype from objectterritory2association
returns records that have sObjectType of 'Account'.

But when I try to filter by it, it doesn't return any row:
select id, sobjecttype from objectterritory2association where sobjecttype = 'Account'
According to documentation, only the value 'Account' is suported, but why this can't be filtered?
https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_objectterritory2association.htm?search_text=objectterritory2association says it should be filterable.

https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_erd_territory2.htm doesn't even list the file sObjectType.
A possible flaw in the documentation maybe?

Anyway, this seems to work though:
select id, sobjecttype, object.type from objectterritory2association where object.type = 'Account'

Can someone from the support explain the behavior?

Thank you
Petr Svestka