191k views
5 votes
An sObject named Application _c has a lookup relationship to another sObject named Position_c.

Both Application _c and Position c have a picklist field named Status_c.
When the Status c field on Position __c is updated, the Status_c field on Application _c needs to be populated
automatically with the same value, How can a developer accomplish this?

A . By changing Application c.Status c Into a roll-up summary field.
B. By changing Application c.Status c Into a formula field.
C. By using an Apex trigger with a DML operation.
D. By configuring a cross-object field update with a workflow.

User Tdao
by
5.1k points

1 Answer

5 votes

Answer:

The correct options to the following question is C.).

Step-by-step explanation:

Because there is given that it is the lookup relationship.

  • The Flow or the Process builder can do this (as given in the question) as well.
  • The lookup relationships with the other objects are just like the Child's to the Parent's relationships. Here, the Position_c is Parent and the Application _c is the child.
  • The updated fields in the child records is when the parent's records are updated.
User Sahil Raj Thapa
by
5.5k points