Trigger.Old | Context Variable in APEX Triggers | Learn Salesforce Development

  Рет қаралды 14,011

Salesforce Hulk

Salesforce Hulk

3 жыл бұрын

After Trigger.New next context variable is Trigger.Old. This variable returns a list of the old versions of sObject records. This list is only available in Update and Delete trigger types.
Let’s understand this in depth.
You can also check our premium Salesforce Development Course which will include assignment, test series, and real-time industry level projects to give you a deeper insight into how everything works.
s2-labs.com/free-salesforce-d...
www.udemy.com/course/salesfor...
If you are looking to learn Salesforce Administrator and App Builder course, then check out our course on the following Platforms:
www.udemy.com/course/salesfor... - One of the Highest rated Course on Udemy
• Salesforce Administrat...
s2-labs.com/free-salesforce-a...
Grow your business with THE BEST SALESFORCE IMPLEMENTATION and CONSULTANCY SERVICES
Reach us out here: cyntexa.com​
Get the BEST SALESFORCE COURSES & TRAINING here s2-labs.com/
Shrey is a Chief Executive Officer at Cyntexa, a SILVER Salesforce Consulting Partner in the USA, UK, UAE, Australia, Singapore & India, having a vibrant team of 100+ certified Salesforce experts, including developers and architects, consultants, administrators, and MVPs. Shrey took Cyntexa from 5 to 100+ people in less than 1.5 years while multiplying the revenues by 8 times. Shrey has been an entrepreneur since the age of 13 as he was buying and selling stuff and making money in the school itself. Shrey is the Youngest Salesforce MVP in the world who firmly believes in providing value to the people and building long-term value-based relationships. His mission is to disrupt the way professional technical services are delivered by bringing back empathy for the end-user rather than being operational and transactional. Shrey is popularly known as Salesforce Hulk in the Salesforce ecosystem as he was the first one to start creating videos on Salesforce on his KZfaq channel named as Salesforce Hulk, and that too at the age of 19.
Shrey is also the founder of S2 Labs, a Salesforce Training Company, being the 1st one to start Salesforce training in Rajasthan, India, and currently selling his courses worldwide. Shrey is also a marvelous speaker who actively presents topics revolving around Salesforce and Entrepreneurship at various worldwide conferences. Shrey has also been a Judge in multiple technical and business hackathons organized by the Government of India, like the Smart India Hackathon. Shrey is a leader with out of the box thinking who emphasizes not only on hitting the sales targets but also providing an amazing experience to the customers and employees. Shrey believes in building a team with strong values, ethics, and behavior, leading to the amazing culture at Cyntexa.
STALK SHREY ON:
Instagram: / ​
Facebook: / ​
Twitter: / iamshreysharma​
LinkedIn: / imshreysharma
And for getting more Updated on Salesforce Follow:
Facebook: / s2labs.shrey
Linkedin: / admin
twitter: / s2_labs
Instagram: / s2_labs
#salesforce #SalesforceHulk #Salesforcedeveloper #learnsalesforce

Пікірлер: 17
@sallubhainagpur
@sallubhainagpur 10 ай бұрын
Thanks
@SalesforceHulk
@SalesforceHulk 10 ай бұрын
You're Welcome 😊
@kapilsane
@kapilsane 2 жыл бұрын
Sir thank you very much for all the videos, u uploaded ,my basics are now very much clear.
@aslambagwan6032
@aslambagwan6032 2 жыл бұрын
Thanks 👍👍 👍👍👍
@SalesforceExperienceOfficial
@SalesforceExperienceOfficial 3 жыл бұрын
Nice sir.
@SalesforceHulk
@SalesforceHulk 3 жыл бұрын
Keep watching
@manikandandurai5850
@manikandandurai5850 2 жыл бұрын
Nice explanation bro. It's very useful to Others.............
@devipriyaskitchen9453
@devipriyaskitchen9453 2 жыл бұрын
Hi it'v very nice teaching super
@SalesforceHulk
@SalesforceHulk 2 жыл бұрын
Thanks!
@BalajiBalaji-jv1gt
@BalajiBalaji-jv1gt 2 жыл бұрын
Sir you must write the list here with out list we can process only one record when we declare list type variable it can show error message everytime
@MDASIF-wo7ck
@MDASIF-wo7ck 3 жыл бұрын
Can we use Best practices ..?
@sachinrnayak3420
@sachinrnayak3420 3 жыл бұрын
Yes Asif, its better if we follow the best practices while writing any Trigger Some of the best practices are like, Let us know if this will help you. 1) Better to write One Trigger Per Object or as few triggers as possible for an object. 2) Logic-less Triggers 3) Context-Specific Handler Methods. 4) You have to Bulkify your Code. 5) Avoid SOQL Queries or DML statements inside FOR Loops. ... 6) Using Collections, Streamlining Queries, and Efficient For Loops. 7)Avoid using DML Statements inside for loops 8) Querying Large Data Sets.
@bhagyashrinagapure4612
@bhagyashrinagapure4612 3 жыл бұрын
Yes. we can consider best practices are like bulkify your code, avoid using query inside For loop, use collections, write one trigger per object and avoid using DML inside For loop.
@sivakrishnaunnagiri1122
@sivakrishnaunnagiri1122 3 жыл бұрын
Yes Asif.we need follow sales force best practices like below. 1) One Trigger Per Object 2) Logic-less Triggers 3) Context-Specific Handler Methods 4) Bulkify your Code 5) Avoid SOQL Queries or DML statements inside FOR Loops 6) Using Collections, Streamlining Queries, and Efficient For Loops 7) Querying Large Data Sets 8) Use @future Appropriately 9) Avoid Hardcoding IDs
@unboxingcheck
@unboxingcheck 2 жыл бұрын
Yes
@maheshkalambe1792
@maheshkalambe1792 3 жыл бұрын
Are you reposting these videos?
@SalesforceHulk
@SalesforceHulk 3 жыл бұрын
No! This is new Videos.
50 YouTubers Fight For $1,000,000
41:27
MrBeast
Рет қаралды 172 МЛН
Clowns abuse children#Short #Officer Rabbit #angel
00:51
兔子警官
Рет қаралды 73 МЛН
Alex hid in the closet #shorts
00:14
Mihdens
Рет қаралды 9 МЛН
Google Data Center 360° Tour
8:29
Google Cloud Tech
Рет қаралды 5 МЛН
Understanding Dashboards in Salesforce
54:31
Salesforce Hulk
Рет қаралды 42 М.
Learn Reports in Salesforce
1:43:53
Salesforce Hulk
Рет қаралды 70 М.
Crash course on Apex Triggers Salesforce | Complete guide with Real time scenarios
2:35:05
Apex Triggers | EXPLAINED | Salesforce Makes Sense
53:57
Salesforce Makes Sense
Рет қаралды 25 М.
30 Minute Course [Salesforce AI Associate Certification]
26:11
Salesforce Help Club
Рет қаралды 32 М.
Infosys Interview Questions for Salesforce Developer | 4+ YOE | May 2024
19:38
Slesforce in 5 minutes
Рет қаралды 4,7 М.
50 YouTubers Fight For $1,000,000
41:27
MrBeast
Рет қаралды 172 МЛН