1 Answer

0 votes
by
Triger.new is a command which returns the list of records that have been added recently to the sObjects. To be more precise, those records will be returned which are yet to be saved to the database. Note that this sObject list is only available in insert and update triggers, and the records can only be modified in before triggers. But just for your information, Trigger.old returns a list of the old versions of the sObject records. Note that this sObject list is only available in update and delete triggers.

Related questions

0 votes
    Which command in the CLI will trigger the 'default` task? A. run default gulp B. run gulp default C. gulp D. All the options E. run gulp...
asked Feb 3, 2023 in Technology by JackTerrance
0 votes
    If you had enabled a Conditional Access Policy for External Users using multi-factor authentication, and then also ... users, would they trigger both when accessing content?...
asked Mar 10, 2021 in Technology by JackTerrance
0 votes
    Types of Report trigger available in the Oracle Reports ?...
asked Dec 22, 2020 in Technology by JackTerrance
0 votes
    What is Trigger in Salesforce?...
asked Nov 12, 2020 in Technology by JackTerrance
0 votes
    What is a Time Trigger in Salesforce?...
asked Nov 12, 2020 in Technology by JackTerrance
0 votes
    What is minimum test coverage required for trigger to deploy?...
asked Nov 11, 2020 in Technology by JackTerrance
0 votes
0 votes
    Which of these is not a valid build trigger ? (i)manual trigger (ii)parameterized trigger (iii)downstream trigger (iv)version conrol trigger...
asked Oct 5, 2020 in Technology by Editorial Staff
0 votes
    I'm not advanced programmer in SQL and maybe my question is silly, but I haven't found an answer ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jun 2, 2022 in Education by JackTerrance
0 votes
    I posted a question about my Dynamic Trigger yesterday and it turns out my last issue was due to including one ... INT SELECT @lastGroup = MAX(GroupNumber) FROM #Changes WHILE @i...
asked May 26, 2022 in Education by JackTerrance
0 votes
    I posted a question about my Dynamic Trigger yesterday and it turns out my last issue was due to including one ... INT SELECT @lastGroup = MAX(GroupNumber) FROM #Changes WHILE @i...
asked May 13, 2022 in Education by JackTerrance
0 votes
    Hi guys simple question for experienced guys. I have a spark job reading files under a path. I wanted ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 6, 2022 in Education by JackTerrance
0 votes
    I'm attempting to automate a payment system, where the "Pay with PayPal" button is within an iFrame. ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 20, 2022 in Education by JackTerrance
0 votes
    I'm currently using Cloud Firestore as my backend for a mobile app. I've got basic payments working ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 19, 2022 in Education by JackTerrance
0 votes
    I've come to this code, but from this i have to manually insert all columns and check it by each ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 16, 2022 in Education by JackTerrance
...