Skip to main content
Group

Official: Big Objects and Async SOQL

This group is the official discussion forum for customers and partners who are using standard and custom big objects and async SOQL. Custom big objects and async SOQL will be GA in the Winter '18 release. It's a forum for customers to provide feedback, requirements and share ideas. Customers may also leverage this group to collaborate with each other on best practices. This group is maintained and moderated by a salesforce.com employee(s). The content received in this group falls under the official Safe Harbor. Please also see our official Salesforce Customer Community Terms of Use

We are using FSC in our org and I am trying to figure out how to do a child (FinServ__ContactContactRelation__c) to parent (FinServ__ReciprocalRole__r) query.  I have a query for Parent to Child but that is not what I want because I am brining back all Roles regardless of of a customer.  Parent to Child Example.

 

SELECT 

FinServ__InverseRole__c,

(select id from FinServ__ContactReciprocalRole__r WHERE FinServ__Contact__c = '0037600000JGHcsAAH')

FROM FinServ__ReciprocalRole__c

 

But I want to do something like this, but system does not like it

 

SELECT 

Id,

CreatedDate,

Name,

FinServ__Contact__c,

FinServ__RelatedContact__c,

FinServ__Role__c,

FinServ__InverseRelationship__c,

FinServ__ExternalId__c,

FinServ__StartDate__c,

FinServ__EndDate__c,

OwnerId,

FinServ__ReciprocalRole__c.FinServ__InverseRole__c

FROM FinServ__ContactContactRelation__c 

WHERE FinServ__Contact__c = '0037600000JGHcsAAH'

 

It seems like I should be able to use dot notation for child to parent as referenced here - https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_relationships_query_using.htm#sforce_api_calls_soql_relationships_query_using

 

I don't know where to look in org to see where things might be supported.

 

thanks for any input.

Eric

3 answers
  1. Dec 22, 2023, 10:34 PM

    @Eric Schattschneider 

    SELECT Id, 

           Name, 

           [Other Fields on ContactContactRelation], 

           FinServ__ReciprocalRole__r.Id, 

           FinServ__ReciprocalRole__r.Name, 

           [Other Fields on ReciprocalRole]

    FROM FinServ__ContactContactRelation__c

    WHERE [Your conditions here]

0/9000

Hi,

 

Can someone please help how to add/insert data in big objects in Apex Test Class?

 

Thanks

7 answers
0/9000

Hello! I'm experiencing errors with a flow that uses a Get Records element to extract records from the LightningUriEvent big object. It fails whether or not I set a condition. Do we know if scheduled flows support these Get Record elements for big objects? If not, what's a better way to extract these records? 

 

Thank you !

0/9000

In https://developer.salesforce.com/docs/atlas.en-us.bigobjects.meta/bigobjects/async_query_overview.htm, it says that Async will be shut down in Spring... 

 

How would you process large volumes of records in Event Monitoring stores without it?  I am at present not using it as I have not found a need as I am able to do very tight queries that just return a small number of results, however doing large calculations to determine average trends for who goes to which pages, for example cannot be done without it.

1 answer
0/9000

Started using Big Objects when first came out but since then they haven't changed (much/at all). Seeing a lot with AWS and I know of the Salesforce partnership there. What do we think?  Is Big Objects stalled in favor of a provider like AWS?

 MANY years ago flow had the same issue in that it wasn't at all featured in release notes and wasn't changing but it's obvious now that SF was just doubling down on it during that time period. This doesn't seem the same but maybe wrong?

 

Obviously trying to look at which way we might spend our time and $$ right now. A BIG difference is the cost of Big Objects after the free allocation which makes NO sense and THAT hasn't changed at all!

2 answers
  1. Sep 19, 2022, 1:03 PM

    Setup is also way easier than AWS.  We are using big objects for custom audit trails in a managed package that ships to customers. Connecting every customer to AWS would be prohibitively time consuming and big objects are perfect for a write once and forget data like audit trail. We also have no need for a UI on that really so it works well.  That said, beyond that I also struggle to find a use case for it.

0/9000

Hi,i want to pull the users who is having access to ligthinng experience.

i tried below two queries but not giving exact solution.

SELECT id,name,exdid__c ,UserPreferencesLightningExperiencePreferred FROM User where UserPreferencesLightningExperiencePreferred=true    SELECT id,name,exdid__c ,UserPreferencesLightningExperiencePreferred,profile.name, profile.PermissionsLightningExperienceUser FROM User where UserPreferencesLightningExperiencePreferred=true and isactive=true and profile.PermissionsLightningExperienceUser=true

4 answers
  1. Aug 26, 2022, 4:55 AM

    Hi @edward alphin

     

    As per my analysis below query should only display Lightning Experience records, Please check again, 

     

    SELECT id,name,exdid__c ,UserPreferencesLightningExperiencePreferred,profile.name, profile.PermissionsLightningExperienceUser FROM User where UserPreferencesLightningExperiencePreferred=true and isactive=true and profile.PermissionsLightningExperienceUser=true
0/9000

It is always important to understand different options to solve business challenges. So, let us see how this scenario looks from the perspective of a Salesforce Architect, Consultant, Developer, or Admin.

 

In this article, I am going to discuss Big Objects, its Implementation Strategies, and Deployment Steps including some Tips & Tricks to perk things up! 

 

Post Title - What are Big Objects? What are Its Use Cases? How are they Implemented? 

 

Post URL - https://automationchampion.com/2022/02/08/ever-wonder-what-are-big-objects-what-are-its-use-cases-how-are-they-implemented-of-course-you-do/

 

@* Sales Cloud - Getting Started * @Official: Big Objects and Async SOQL @* Customer Architect Community * @The Blog Group @Salesforce Automation Hour 

 

#Salesforce #Sales Cloud #Salesforce Architect

7 comments
0/9000

I am very new to SOQL and doing some analysis work for development integration.

 

Would like to know what is the maximum number of records returned in SOQL if we do not mention LIMIT and OFFSET in the query

 

Any help is greatly appreciated!

 

Thank you for your time and help :)

 

Best Regards,

Vipin N

11 answers
  1. Sep 27, 2021, 4:37 PM

    thank you @Amey Priolkar, @Khyati Mehta appreciate your kind help and time on this.

     

    The reason I was looking for this was due to this this case I raised,  https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000ChO2CSAV . trying  to find out a way if we can  limit the number of rows being queried by using any wrapper such as between clause or using sub-queries as mentioned in this case link

     

    Could you let know in case you guys have any idea/pointers on this

     

    Best Regards,

    Vipin N

0/9000