Skip to main content

#SOQL1 debatiendo

I need to know the Stages and order of those Stages for a particular Sales Process. I can get all Stages and their order from the OpportunityStage object, but that gives me all stages, not just those specific to a particular process. 

 

And I can find out what Sales Process is associated with my Opp by looking up the Record Type and pulling the BusinessProcessID. But I can't figure out how to determine what Stages are relevant to which Sales Process via flow. 

 

Is there anyway to get to that information with lookups? 

 

#Flow  #SOQL

10 respuestas
0/9000

In Apex, how do I declare a CSV file, access it, pass its data to a method that inserts the contents in the database, and then close it?

 

Thanks!

 

#Apex #SOQL #Csv To Records

7 respuestas
  1. 22 jul 2025, 17:40

    I ran into something similar a while back when working with large CSV files and Salesforce. Sometimes native import tools just aren’t flexible enough, especially if you need scheduled or automated uploads. You can check out Skyvia and some information about it on this page. They’ve got a few options for importing and exporting data between Salesforce and CSV files, and you don’t have to deal with any complex setup.

0/9000

Native Integration with Data Cloud: Salesforce Developers Ask Me Anything November 2024

 

Join host @Alba Rivas and product experts @Amrinder Chadha, @Diana Jaffe and @Minhaj Khan for an in-depth discussion on integrating @* Data 360 * with the Salesforce Platform for agents.

 

Discover how to unlock the full potential of Data Cloud using familiar platform features including fields, related lists, flows, and advanced data objects (DMOs & DLOs) through #SOQL and #SQL in #Apex.

 

Bring your technical questions and get ready to explore how #Agentforce can help streamline and enhance your agent workflows.

 

Click here to register now.

 

*All AMAs are recorded and can be watched on demand on our YouTube channel.

Native Integration with Data Cloud: Salesforce Developers Ask Me Anything November 2024 Join host and product experts , and for an in-depth discussion on integrating with the Salesforce Platform for a

#Flow #Einstein Search #Enrichment Tools #Fields & Relationships #DMO

0/9000

#SOQL Queries #Salesforce Admin #SOQL

 

SOQL QUERY: Query all flows in your Org. (Use Tooling API)

 

Select Id,DefinitionId,MasterLabel, ManageableState, VersionNumber, Status, Description, ProcessType, CreatedDate,CreatedById, TriggerOrder, RunInMode, ApiVersion, Environments, TimeZoneSidKey,  ProgressStatus from flow where Status = 'Active'

6 comentarios
  1. 14 oct 2024, 9:18

    You can also identify schedule-triggered flows with the query:

     

    SELECT id, IsActive, Label, ProcessType, ManageableState , TriggerObjectOrEventId, TriggerObjectOrEventLabel, TriggerType FROM FlowDefinitionView WHERE triggertype = 'Scheduled'
0/9000

#SOQL Queries #Salesforce Admin #SOQL

 

SOQL QUERY: Query all validation rules in your Org. (Use Tooling API)

 

SELECT Id, ValidationName,Active, Description, EntityDefinition.DeveloperName, ErrorDisplayField, ErrorMessage, CreatedBy.Name FROM ValidationRule where Active = true 

0/9000

#SOQL Queries #Salesforce Admin #SOQL

SOQL QUERY: Query all permission sets assigned to Particular user in your Org.

 

SELECT Id, PermissionSetId, PermissionSet.Name, PermissionSet.ProfileId, PermissionSet.Profile.Name, AssigneeId, Assignee.Name FROM PermissionSetAssignment WHERE Assignee.Name in ('Salesforce User Name')

0/9000

#SOQL Queries #Salesforce Admin #SOQL

 

SOQL QUERY: Query all flows with type of triggers in your Org 

 

SELECT Id, DurableId, ApiName, Label, Description, ProcessType, TriggerType, NamespacePrefix, ActiveVersionId, IsActive, IsOutOfDate, LastModifiedDate, IsTemplate, IsOverridable,  IsSwingFlow, Builder, ManageableState, InstalledPackageName, TriggerObjectOrEventLabel, TriggerObjectOrEventId, RecordTriggerType, HasAsyncAfterCommitPath, VersionNumber, TriggerOrder, Environments, ApiVersion FROM FlowDefinitionView WHERE IsActive =true

0/9000

#SOQL Queries #Salesforce Admin #SOQL

SOQL QUERY: Query all permission sets that can access an Object across your Org.

 

SELECT Id, ParentId,Parent.Name, SobjectType, PermissionsCreate, PermissionsRead, PermissionsEdit, PermissionsDelete, PermissionsViewAllRecords, PermissionsModifyAllRecords, CreatedDate, CreatedById,CreatedBy.Name FROM ObjectPermissions where SObjectType = 'Account'

0/9000

🚀 🔥 Return Type of SOQL and SOSL Queries in Salesforce

SOQL, or Salesforce Object Query Language, is a query language used to interact with the data stored in Salesforce. It is similar in syntax to SQL, the standard database query language, but is specifically designed for Salesforce data.

SOSL, or Salesforce Object Search Language, is a specialized search language developed by Salesforce for searching text, email, and phone fields across multiple objects simultaneously in the Salesforce environment. Unlike SOQL, which is designed for querying specific objects and fields, SOSL is designed to perform text-based search queries across large datasets and multiple objects at once.

In this blog post, I am going to explain the return type of SOQL and SOSL Queries in Salesforce. This is very important to understand as it helps you to use it efficiently. 

https://sudipta-deb.in/2024/01/return-type-of-soql-and-sosl-queries-in-salesforce.html

#soql #sosl #salesforce #salesforcecertified #salesforceadmin #salesforcedeveloper @The Blog Group

 

🚀 🔥 Return Type of SOQL and SOSL Queries in SalesforceSOQL, or Salesforce Object Query Language, is a query language used to interact with the data stored in Salesforce.

0/9000