Context variables, as the name implies, refer to the fact that what the context of the trigger fire is. These are basically the implicit variables that allow developers to access run-time context. Some of the examples of context variables are isInsert, isUpdate, isDelete etc.
Context variables are created when a new context (thread) is launched. They are valid as long as the context is alive, even if it spans several flows before it concludes its activity. The context variable's definition is inherited by all the flows in the project. They are defined once for all the flows in the project. #SalesforceHulk
context variables is a special variable, created by Salesforce itself, where we get the information about the Trigger and that helps us to write better code with better practice. We have different context variables like isExecuting, isInsert, isUpdate, isDelete etc.
Trigger context variables play a very important role in TRIGGER execution, context variables are required when we want a piece of code inside trigger to runs only for a particular event. Using context variable we can specify which piece of code we want to run for which particular event avoiding running of other pieces of code which are not required to be run for the specific event. Some of them are like, Trigger.new Trigger.old Trigger.newmap Trigger.oldmap
Context Variables allow developers to access run-time context of any trigger. These context variables are contained in System.Trigger class. #salesforceHulkContest
IN keyword is used to query on bulk data, which means the WHERE condition involves a collection of records. The collection of records can be a Set, List of IDs, or sObjects which have populated ID fields. For Example:-IN,ORDER BY, AND, OR, LIMIT ,GROUP BY , NOT
Keywords are words which are used to perform certain operations. SOQL keywords are: IN, LIKE, AND, OR, NOT, ORDER BY, GROUP BY, LIMIT, FOR UPDATE, ALL ROWS.
Basically keywords are the reserved words that we cannot use inside the SOQL query and is used for certain purposes. Some of the major keywords used in SOQL queries are: IN, LIKE, AND/OR, NOT, LIMIT, GROUPBY, ORDERBY, FOR UPDATE, ALL ROWS
Keywords are reserved words that we can not use inside SOQL query and used for certain purpose. For example- IN, GROUP BY , AND, OR, ORDER BY,LIMIT , NOT #salesforceHulkContest
Keywords are words which are used to perform certain operations. SOQL keywords are: IN, LIKE, AND, OR, NOT, ORDER BY, GROUP BY, LIMIT, FOR UPDATE, ALL ROWS.#salesforceHulkContest
bhai..tere videos informative hote h..the only thing is..tu style bhot maarta h..acsent aisa lgta englishman jese baat krte jo bhot over and irritating lgta h..so i request you to be simply great than pretending to be cool
Trigger.New: Trigger.new returns List of new records which are trying to insert into Database. This is available in Before Insert, Before Update, After Insert, After Update Triggers and undelete Trigger.@/salesforcehulkcontest
Triger.new in Salesforce 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 before triggers.
Basically trigger.new returns a list of the new versions of the sObject records. This sObject list is only available in insert, update, and undelete triggers, and the records can only be modified in before triggers. trigger.new is holding your object record data which is currently set by user
Trigger.new : Returns a list of the new versions of the sObject records. Note that this sObject list is only available in insert and update triggers, and the records can only be modified in before triggers. #salesforceHulkContest
Trigger.New: Trigger.new returns List of new records which are trying to insert into Database. This is available in Before Insert, Before Update, After Insert, After Update Triggers and undelete Triggers. This list of records can only modified in Before triggers
You are so underrated
Very well explained..
Keep watching
Please give me the example of code which cannot be tested through test classes?
What are context variables in Apex?
Context variables, as the name implies, refer to the fact that what the context of the trigger fire is. These are basically the implicit variables that allow developers to access run-time context. Some of the examples of context variables are isInsert, isUpdate, isDelete etc.
Context variables are created when a new context (thread) is launched. They are valid as long as the context is alive, even if it spans several flows before it concludes its activity. The context variable's definition is inherited by all the flows in the project. They are defined once for all the flows in the project. #SalesforceHulk
context variables is a special variable, created by Salesforce itself, where we get the information about the Trigger and that helps us to write better code with better practice. We have different context variables like isExecuting, isInsert, isUpdate, isDelete etc.
Trigger context variables play a very important role in TRIGGER execution, context variables are required when we want a piece of code inside trigger to runs only for a particular event. Using context variable we can specify which piece of code we want to run for which particular event avoiding running of other pieces of code which are not required to be run for the specific event.
Some of them are like,
Trigger.new
Trigger.old
Trigger.newmap
Trigger.oldmap
Context Variables allow developers to access run-time context of any trigger.
These context variables are contained in System.Trigger class.
#salesforceHulkContest
Is it useful for Software Tester?? Can a QA do Apex Testing??
Ofcourse you can do. All you need is to understand Salesforce better. Like, admin and dev part.
Yes you can, if you are good in basic java then go for it
Yes , you can.
yess
Yes, you can.
What are SOQL keywords?
IN keyword is used to query on bulk data, which means the WHERE condition involves a collection of records. The collection of records can be a Set, List of IDs, or sObjects which have populated ID fields.
For Example:-IN,ORDER BY, AND, OR, LIMIT ,GROUP BY , NOT
Keywords are words which are used to perform certain operations. SOQL keywords are: IN, LIKE, AND, OR, NOT, ORDER BY, GROUP BY, LIMIT, FOR UPDATE, ALL ROWS.
Basically keywords are the reserved words that we cannot use inside the SOQL query and is used for certain purposes. Some of the major keywords used in SOQL queries are: IN, LIKE, AND/OR, NOT, LIMIT, GROUPBY, ORDERBY, FOR UPDATE, ALL ROWS
Keywords are reserved words that we can not use inside SOQL query and used for certain purpose. For example- IN, GROUP BY , AND, OR, ORDER BY,LIMIT , NOT #salesforceHulkContest
Keywords are words which are used to perform certain operations. SOQL keywords are: IN, LIKE, AND, OR, NOT, ORDER BY, GROUP BY, LIMIT, FOR UPDATE, ALL ROWS.#salesforceHulkContest
#JuniorHulkContest
bhai..tere videos informative hote h..the only thing is..tu style bhot maarta h..acsent aisa lgta englishman jese baat krte jo bhot over and irritating lgta h..so i request you to be simply great than pretending to be cool
Kitna inferiority complex h bhai tere me 😂 , Get well soon
Explain trigger.new
Trigger.New: Trigger.new returns List of new records which are trying to insert into Database. This is available in Before Insert, Before Update, After Insert, After Update Triggers and undelete Trigger.@/salesforcehulkcontest
Triger.new in Salesforce 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 before triggers.
Basically trigger.new returns a list of the new versions of the sObject records. This sObject list is only available in insert, update, and undelete triggers, and the records can only be modified in before triggers.
trigger.new is holding your object record data which is currently set by user
Trigger.new : Returns a list of the new versions of the sObject records. Note that this sObject list is only available in insert and update triggers, and the records can only be modified in before triggers. #salesforceHulkContest
Trigger.New: Trigger.new returns List of new records which are trying to insert into Database. This is available in Before Insert, Before Update, After Insert, After Update Triggers and undelete Triggers. This list of records can only modified in Before triggers