Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

sharing rules or by building a role hierarchy.

Using roles, you can control the ac

Profile: Unlike the roles profile is mandatory for all, and it stays at the object level. It
is treated as a building pillar of an organization.
Q17) How many relationships do we have in
Salesforce?

Ans:  We have three types of relationships in Salesforce, which are:

 Master-detail relationship

 Lookup relationship

 External Lookup

Q18) What is the Master-Detail relationship?

Ans:  This Master-Detail relationship is the same as the relationship between a


parent & child. In this aspect, the master is treated as  Parent, and the Detail is a
child. The master Object takes control of the behaviour of the Detail object. The
survival of the child is dependent on the parent because if the Master gets deleted
the Detail will also automatically get deleted. You can create Roll-up summary fields
in master records which helps in calculating the Min, Avg, Sum of the child records.
Q19) What is a “Lookup Relationship”?

Ans:  Relationship between the two objects is called a lookup relationship. Lookup


relationships connect two object links together so that you can look up from related
items to other items. It can be one to one or one to many.
Q20) What is External lookup?

Ans:   External lookup relationship is used to connect the child object to the parent
object. The child object may be either custom, standard, or an external object. It
uses to identify the correct map of the child object with the parent external object.
The external lookup relationship values fields are matched against the External Id
values. 
Q21) What is a self-relationship?

Ans:  It is a personal lookup to the same object. The self-relationship creates a tree
diagram of the objects. Let's take an example as an object “merchandise”. In this,
we can create relationship merchandise between two accounts. This is called a self-
relationship.
Q22) What is workflow in Salesforce?  

Ans:  Workflow is an excellent way to automate specific business processes in


Salesforce. To do this, you are required to define certain rules and regulations to
automate tasks such as sending an email, updating a field, create a task

 We can have access to workflow across the object.

 It is not possible to query from the database.

You might also like