Salesforce
PDII · Question #230
An org contains two custom objects: Building__c and Office__c. Office__c has a Lookup field to Building__c. A developer is asked to automatically populate the Number_of_Offices__c field on the…
The correct answer is B. Workflow. See the full explanation below for the reasoning.
Question
An org contains two custom objects: Building__c and Office__c. Office__c has a Lookup field to Building__c. A developer is asked to automatically populate the Number_of_Offices__c field on the Building__c object with the count of related Office__c records anytime an Office__c record is created or deleted. The developer cannot modify the field types. Which solutionmeets the requirements?
Options
- AFlow
- BWorkflow
- CApex Trigger
- DProcess Builder
How the community answered
(39 responses)- A8% (3)
- B85% (33)
- C3% (1)
- D5% (2)
Community Discussion
No community discussion yet for this question.