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
Manish Verma 4Manish Verma 4 

Using configuration

Hi all,
i have a scenario.
Contact should have a number field ‘Value’  and Account should have a field ‘Max Contact Value’  Whenever Contact is created or ‘value’ field is updated , Account field ‘Max Contact Value’ should be updated with Contact ‘Value’  if it is greater than existing ‘Max Contact Value’ 
SonamSonam (Salesforce Developers) 
I think you can use the process builder for this use case.

Create a process on Contact which triggers at the time of creation and edition of a record - updates account field if the value on the current contact is greater than the account field value:

read more:
http://bobbuzzard.blogspot.sg/2015/02/lightning-process-builder-and-invocable.html