function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Field update trigger



I need to write a trigger to update a text field when a look field is selected.

Requirement :

When creating a task record : If case is selected in Related To field then I need to autopopuate a account name(Text Field) of the case  selected.


Field one : Related To(Lookup)

Field two: Account Name (Text Field):

If related to case number auto poplate the account name of the selected case.


Please help me on this.