Tired of writing repeated null check statements?? if then here is your new favorite operator(?.) coming from Salesforce as part of Winter 21 release.
Scenario Consider a scenario where we need to create a related object record of standard Case object, using the new button in the related list. For example, Case Asset is one of the related objects of the case object and its new button action is overridden with a custom page. The save action defined in …