Max your potential with Apex! – Excercise​ 1

Max your potential with Apex! – Excercise​ 1

Last Updated on June 24, 2020 by Rakesh Gupta

As of this point, we have completed several trails on Trailhead and are counting! As a result, we have amassed theoretical knowledge and have some practical experience. But, since our drive to learn Salesforce is insatiable, we want more!

Learning by doing is the key. So, let us look at several hands-on scenarios. By practicing, let us figure out how to identify, design and implement the best solution to solve a problem or a requirement.

Here is the game plan – take bite-size use cases and work on solving them. If you are stuck or get frustrated, reach out to me – I will guide you towards the solution but not solve it for you!

Why just me? It is very likely that a fellow-trailblazer may be your guide instead – remember that, when one teaches, two learn!! So, get the ball rolling and knock out the following use cases!!

Hands-on Excercise

Tim Robinson has recently started working as a Salesforce Developer at GoC. He is using Trailhead as a primary resource to learn Apex. He has received a requirement from his technical architect to write an Apex trigger that accomplishes the following:

    1. Create a new opportunity whenever an account is created for Industry – Biotechnology.
    2. Set opportunity details as follows:
      1. Stage = prospecting
      2. Amount = $0
      3. Close Date = 90days from today
      4. Opportunity Name = Account Name+ (append plus sign)

Note: – I am grateful to Resco.net for sponsoring my blog.

Proofreader: - Munira Majmundar
Have feedback, suggestions for posts, or need more information about Salesforce online training offered by me? Say hello, and leave a message!

2 thoughts on “Max your potential with Apex! – Excercise​ 1

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.